DAZ Script | |
---|---|
Type | { Separator, Action, CustomAction, SubMenu, FileOpenAction, FileMergeAction } |
DAZ Script | |
---|---|
DzActionMenu | getParentMenu () |
DzActionMenu | getSubMenu () |
void | loadFile () |
void | setSubMenu ( DzActionMenu menu ) |
Action Menu Items are registered with a DzActionMenu and are available to access via methods on that class.
The types of action menu items.
Holds the identifier for the Action (classname), CustomAction (GUID), FileOpenAction or FileMergeAction (file path) to perform.
Holds whether or not the menu item is considered to be placed by the application (true
) or placed by the user (false
).
Since:
Holds the label displayed for the item.
Since:
Holds the type of the menu item (Read Only)
DzActionMenu : getParentMenu()
Return Value:
Since:
Return Value:
void : loadFile()
Causes the file for a FileOpenAction or FileMergeAction item to load.
Since:
void : setSubMenu( DzActionMenu menu )
Sets the menu that is displayed as the submenu when this menu item is activated. This call has no effect unless the type of this item is SubMenu.
Parameter(s):