Go to: Synopsis. Flags. Return value. MEL examples.
iconTextRadioCollection [-collectionItemArray] [-disableCommands] [-global boolean] [-numberOfCollectionItems] [-parent string] [-select string]
[clusterName]
iconTextRadioCollection is undoable, queryable, and editable.
This command creates a cluster for iconTextRadioButtons. Clusters will be parented to the current default layout if no parent is specified with the -p/parent flag. As children of the layout they will be deleted when the layout is deleted. Clusters may also span more than one window if the -g/global flag is used. In this case the cluster has no parent so must be explicitly deleted with the 'deleteUI' command.| Long name (short name) | [argument types] | Properties | ||
|---|---|---|---|---|
-global(-gl)
|
boolean
|
|
||
|
||||
-parent(-p)
|
string
|
|
||
|
||||
-select(-sl)
|
string
|
|
||
|
||||
-disableCommands(-dcm)
|
|
|
||
|
||||
-numberOfCollectionItems(-nci)
|
|
|
||
|
||||
-collectionItemArray(-cia)
|
|
|
||
|
||||
window -tlc 100 400;
columnLayout -adj true;
iconTextRadioCollection itRadCollection;
iconTextRadioButton -st "textOnly"
-i1 "sphere.xpm" -l "sphere";
iconTextRadioButton -st "iconOnly"
-i1 "spotlight.xpm" -l "spotlight";
iconTextRadioButton -st "iconAndTextHorizontal"
-i1 "cone.xpm" -l "cone";
iconTextRadioButton -st "iconAndTextVertical"
-i1 "cube.xpm" -l "cube";
showWindow;