Home | Trees | Indices | Help |
|
---|
|
object --+ | internals._Objectype --+ | baseTypes._Type0 --+ | baseTypes._Type1 --+ | baseTypes._Type2 --+ | _Item_Type2 --+ | Item
Python menu Item Type, wrapping ObjC NSMenuItem
.
Instance Methods | |||
|
|||
|
|||
Inherited from Inherited from |
Properties | |
action Get the item's action (str or Python
callable ).
|
|
allowsKeyWhenHidden Get the item's allowsKeysWhenHidden property
(bool ).
|
|
alt Get the alt or option key modifier
(bool ).
|
|
cmd Get the command key modifier (bool ).
|
|
ctrl Get the control key modifier (bool ).
|
|
font Get the item's font (Font) or
None .
|
|
hasSubmenu Has this item a submenu (bool ).
|
|
indentationLevel Get the item's indentation (int ).
|
|
isAlternate Get the item's Alternate property (bool ).
|
|
isEnabled Get the item's Enabled property (bool ).
|
|
isHidden Get the item's Hidden property (bool ).
|
|
isHighlighted Get the item's isHighlighted property
(bool ).
|
|
key Get the item's shortcut key (str ).
|
|
keyEquivalent Get the ObjC item's shortcut keyEquivalent
(str ).
|
|
keyEquivalentModifiers Get the item's shortcut key modifiers
(dict ), see Item.__init__ .
|
|
keyModifiers Get the item's shortcut key modifiers
(dict ), see Item.__init__ .
|
|
nsTarget Get the item's target ( NS... ) or None for
the default target, _NSApplicationDelegate .
|
|
shift Get the shift key modifier (bool ).
|
|
state Get the item's state (int ).
|
|
subMenu Get the item's submenu (Menu ) or
None .
|
|
tag Get the Item tag ( int ) or None .
|
|
toolTip Get the item's toolTip (str ) or
'' .
|
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
Method Details |
New menu Item.
Notes:
|
str(x)
|
Property Details |
actionGet the item's
|
allowsKeyWhenHiddenGet the item's
|
altGet the
|
cmdGet the
|
ctrlGet the
|
fontGet the item's |
hasSubmenuHas this item a
|
indentationLevelGet the item's
|
isAlternateGet the item's
|
isEnabledGet the item's
|
isHiddenGet the item's
|
isHighlightedGet the item's
|
keyGet the item's shortcut
|
keyEquivalentGet the ObjC item's shortcut
|
keyEquivalentModifiersGet the item's shortcut key
|
keyModifiersGet the item's shortcut key
|
nsTargetGet the item's target (
|
shiftGet the
|
stateGet the item's
|
subMenuGet the item's
|
tagGet the Item
tag ( |
toolTipGet the item's
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 8 11:26:16 2025 | http://epydoc.sourceforge.net |