pymel.core.uitypes.MenuSet

Inheritance diagram of MenuSet

class MenuSet

class counterpart of mel function menuSet

Create a menu set which is used to logically order menus for display in the main menu bar. Such menu sets can be edited and reordered dynamically.

getAllMenuSets(**kwargs)

Returns an array of the all the menu set object names in use. Query returns string array.

Derived from mel command maya.cmds.menuSet

getCurrentMenuSet(**kwargs)

The currently active menu set under which all operations affect (append, insert, remove, etc.). Query returns string.

Derived from mel command maya.cmds.menuSet

getExists(**kwargs)

Returns whether the specified menu set exists. This query flag supports string arguments. ie. menuSet -q -exists animationMenuSet;

Derived from mel command maya.cmds.menuSet

getHotBoxVisible(**kwargs)

Whether this menu set should be displayed in the hotbox as well as in the main menubar.

Derived from mel command maya.cmds.menuSet

getLabel(**kwargs)

The label of the current menu set. Query returns string.

Derived from mel command maya.cmds.menuSet

getMenuArray(**kwargs)

An array of menu names (strings) in the current menu set. Query returns string array.

Derived from mel command maya.cmds.menuSet

getNumberOfMenuSets(**kwargs)

Number of menuSets in total. Query returns int.

Derived from mel command maya.cmds.menuSet

getNumberOfMenus(**kwargs)

The mumber of menus in the current menu set. Query returns int.

Derived from mel command maya.cmds.menuSet

getPermanent(**kwargs)

Whether this menu set can be removed.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.menuSet

setHotBoxVisible(val=True, **kwargs)

Whether this menu set should be displayed in the hotbox as well as in the main menubar.

Derived from mel command maya.cmds.menuSet

setPermanent(val=True, **kwargs)

Whether this menu set can be removed.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.menuSet

Previous topic

pymel.core.uitypes.MenuEditor

Next topic

pymel.core.uitypes.MessageLine

Core

Core Modules

Other Modules

This Page