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.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.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
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
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.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.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
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
pymel.core.uitypes.MainProgressBar
pymel.core.uitypes.MenuBarLayout
Enter search terms or a module, class or function name.