class counterpart of mel function menu
This command creates a new menu and adds it to the default window’s menubar if no parent is specified. The menu can be enabled/disabled. Note that this command may also be used on menu objects created using the command menuItem -sm/subMenu true.
Delete all the items in this menu.
Derived from mel command maya.cmds.menu
Deprecated. All menus now always allow option boxes. Indicate whether the menu will be able to support option box menu items.
Derived from mel command maya.cmds.menu
Attaches a tag to the menu.
Derived from mel command maya.cmds.menu
Enables/disables the menu.
Derived from mel command maya.cmds.menu
The filename of the icon associated with the menu. This icon will be used if a menu item does not have an icon image defined.
Derived from mel command maya.cmds.menu
Indicates that this menu is the help menu and will be the right most menu in the menu bar. On Unix systems the help menu is also right justified in the menu bar.
Derived from mel command maya.cmds.menu
Modified to return pymel instances
The text that is displayed for the menu. If no label is supplied then the menuName will be used.
Derived from mel command maya.cmds.menu
This flag is used to specify the Maya LT version that this control feature was introduced, if the version flag is not specified, or if the version flag is specified but its argument is different. This value is only used by Maya LT, and otherwise ignored. The argument should be given as a string of the version number (e.g. 2014, 2015). Currently only accepts major version numbers (e.g. 2014.5 should be given as 2014). Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.menu
Set the Alt key to post that menu. The character specified must match the case of its corresponding character in the menu item text, but selection from the keyboard is case insensitive.
Derived from mel command maya.cmds.menu
Return number of items in the menu.
Derived from mel command maya.cmds.menu
Indicate the -pmc/postMenuCommandshould only be invoked once. Default value is false, ie. the -pmc/postMenuCommandis invoked every time the menu is shown.
Derived from mel command maya.cmds.menu
Specify the version that this menu feature was introduced. The argument should be given as a string of the version number (e.g. 2014, 2015). Currently only accepts major version numbers (e.g. 2014.5 should be given as 2014).
Derived from mel command maya.cmds.menu
Shows/hides the menu.
Derived from mel command maya.cmds.menu
set this layout as the default parent
Specify a script to be executed when the menu is about to be shown.
Derived from mel command maya.cmds.menu
Attaches a tag to the menu.
Derived from mel command maya.cmds.menu
Enables/disables the menu.
Derived from mel command maya.cmds.menu
The filename of the icon associated with the menu. This icon will be used if a menu item does not have an icon image defined.
Derived from mel command maya.cmds.menu
Indicates that this menu is the help menu and will be the right most menu in the menu bar. On Unix systems the help menu is also right justified in the menu bar.
Derived from mel command maya.cmds.menu
The text that is displayed for the menu. If no label is supplied then the menuName will be used.
Derived from mel command maya.cmds.menu
This flag is used to specify the Maya LT version that this control feature was introduced, if the version flag is not specified, or if the version flag is specified but its argument is different. This value is only used by Maya LT, and otherwise ignored. The argument should be given as a string of the version number (e.g. 2014, 2015). Currently only accepts major version numbers (e.g. 2014.5 should be given as 2014). Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.menu
Set the Alt key to post that menu. The character specified must match the case of its corresponding character in the menu item text, but selection from the keyboard is case insensitive.
Derived from mel command maya.cmds.menu
Indicate the -pmc/postMenuCommandshould only be invoked once. Default value is false, ie. the -pmc/postMenuCommandis invoked every time the menu is shown.
Derived from mel command maya.cmds.menu
Specify the version that this menu feature was introduced. The argument should be given as a string of the version number (e.g. 2014, 2015). Currently only accepts major version numbers (e.g. 2014.5 should be given as 2014).
Derived from mel command maya.cmds.menu
Shows/hides the menu.
Derived from mel command maya.cmds.menu
pymel.core.uitypes.MainProgressBar
pymel.core.uitypes.MenuBarLayout
Enter search terms or a module, class or function name.