Go to: Synopsis. Return value. MEL examples.
newPanelItems
string
newPanelItems is undoable, NOT queryable, and NOT editable.
This action builds menu items to create new panels. The first argument defines the name of the menu to which the items are to be added.boolean | True if successful, otherwise false. |
string $window = `window -menuBar true`; string $menu = `menu -label "Panels"`; paneLayout; text -label ""; showWindow $window; newPanelItems $menu;