Inheritance |
|
Methods ¶
label()
→ str
Returns this submenu’s label.
setLabel()
Sets this submenu’s label.
shortcut()
→ str
Returns a string description of the shortcut for selecting this submenu.
setShortcut()
Sets the shortcut for selecting this submenu.
remove([Hom:hou.radialItemLocation])
Removes the radial menu item at the specified location.
item([Hom:hou.radialItemLocation])
→ hou.RadialItem
Returns the radial menu item at the specified location.
Returns None
if no radial menu item exists at the specified location.
items()
→ dict
of hou.radialItemLocation to hou.RadialItem
Returns a dict mapping radial item locations to radial menu items.
createScriptItem([Hom:hou.radialItemLocation], label=None, icon=None, check=None, script=None)
→ hou.RadialScriptItem
Creates a script item at the specified location (replacing any existing radial menu item) and initializing the script item’s label, icon, expression specifying the checked state, and script executed when the item is activated. The new script item is returned.
Methods from hou.RadialItem ¶
type()
→ hou.radialItemType
Returns this radial menu item’s type.
destroy()
This method is deprecated, and it has no effect. To remove an item from a submenu, use hou.ui.RadialSubmenu.remove instead. To unregister a top-level menu, use hou.ui.RadialMenu.destroy.