Inheritance |
|
-
Use hou.ui.radialMenus or hou.ui.radialMenu to get a reference to an existing menu.
-
Use hou.ui.createRadialMenu to create a new menu.
Methods ¶
name()
→ str
Returns this radial menu’s name.
destroy()
Deletes this radial menu. The menu will be unregistered.
categories()
→ str
Returns a comma separated list of this radial menu’s categories.
setCategories(categories)
Sets this radial menu’s categories (specified as a comma separated list).
sourceFile()
→ str
Returns the name of the file from which this radial menu was loaded or saved.
save(filename)
Saves this radial menu to the specified file.
root()
→ hou.RadialItem
Returns the root menu item. For regular menus, hou.ui.RadialSubmenu will be returned. For script menus, hou.ui.RadialScriptItem will be returned.
label()
→ str
This method is deprecated. Use root().label()
instead
setLabel()
This method is deprecated. Use root().setLabel()
instead
shortcut()
→ str
This method is deprecated. Use root().shortcut()
instead
setShortcut()
This method is deprecated. Use root().setShortcut()
instead
item([Hom:hou.radialItemLocation])
→ hou.RadialItem
This method is deprecated. Use root().item()
instead.
Raises hou.NotAvailable if the root is a script menu.
items()
→ dict
of hou.radialItemLocation to hou.RadialItem
This method is deprecated. Use root().items()
instead
Raises hou.NotAvailable if the root is a script menu.
createScriptItem([Hom:hou.radialItemLocation], label=None, icon=None, check=None, script=None)
→ hou.RadialScriptItem
This method is deprecated. Use root().createScriptItem()
instead.
Raises hou.NotAvailable if the root is a script menu.
Methods from hou.RadialItem ¶
type()
→ hou.radialItemType
Returns this radial menu item’s type.
Methods from hou.RadialSubmenu ¶
See also |