cuparm
command
Sets various parameters of a custom UI gadget.
Usages
-
cuparm -n gadget_name [parameters]
Options
|
|
Name of the gadget to modify |
|
|
Set preferred gadget width. |
|
|
Set preferred gadget height. |
|
|
Horizontally stretchable on/off |
|
|
Vertically stretchable on/off |
|
|
Sets margin. |
|
|
Sets spacing. |
|
|
Sets the gadget label. |
|
|
Provide a path to an image to use as an icon for a button gadget. |
|
|
Sets layout type. Ignored for non-containers. |
|
|
Sets container look. Ignored for non-containers. |
|
|
Renames the gadget to string. |
|
|
Sets the value name of the gadget. |
|
|
Sets the minimum value for a slider. |
|
|
Sets the maximum value for a slider. |
|
|
Sets the initial value for a slider. |
|
|
Connects the gadget directly to a parameter. |
|
|
Path (usually a channel) to the parameter to connect. |
|
|
Sets the script for the gadget. |
Examples
cuparm -n /Panel1 -N Test_Panel # rename the panel
cuparm -n ../button1 -l "hit me" # set a label
cuparm -n ../container -L hor -B paper
cuparm -n button1 -S "unix jot"
cuparm -n slider20 -m 1 -M 20 -i 5