a new object with type S, a subtype of T
|
|
The menu/toolbar item that was added to hold the command
|
addCommand(self,
name,
**kwargs)
Add a new command to this menu/toolbar. |
|
|
The submenu that was added
|
addMenu(self,
**kwargs)
Add a new submenu. |
|
|
The separator that was created
|
addSeparator(self,
**kwargs)
Add a separator to this menu/toolbar. |
|
|
|
|
Menu or None
|
findItem(self,
name)
Finds a submenu or command with a particular name. |
|
|
None
|
items(self)
Returns a list of sub menu items. |
|
|
Menu or None
|
menu(self,
name)
Finds a submenu or command with a particular name. |
|
|
String
|
name(self)
Returns the name of the menu item. |
|
|
None
|
removeItem(self,
name)
Removes a submenu or command with a particular name. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|