A widget that can be placed in a MenuBar. Menu items can either fire a
Command when they are clicked, or open a cascading sub-menu.
|
__init__(self,
text,
asHTML,
subMenu=None)
also callable as: MenuItem(text, cmd) MenuItem(text, asHTML, cmd)
MenuItem(text, subMenu) MenuItem(text, asHTML) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from UIObject :
addStyleName ,
getAbsoluteLeft ,
getAbsoluteTop ,
getElement ,
getOffsetHeight ,
getOffsetWidth ,
getStyleName ,
getTitle ,
isVisible ,
removeStyleName ,
setElement ,
setHeight ,
setPixelSize ,
setSize ,
setStyleName ,
setTitle ,
setVisible ,
setWidth ,
setzIndex ,
sinkEvents ,
unsinkEvents
|