pymel.core.uitypes.MenuSet

digraph inheritancec37104646c {
rankdir=TB;
ranksep=0.15;
nodesep=0.15;
size="8.0, 12.0";
  "MenuSet" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="#pymel.core.uitypes.MenuSet",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "PyUI" -> "MenuSet" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "PyUI" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="pymel.core.uitypes.PyUI.html#pymel.core.uitypes.PyUI",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
}

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 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 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