interface slider create | |
|---|---|
slider_name = | A New GI_slider |
enabled = | Boolean |
help_text = | String |
documentation_text = | String |
units = | Int_units |
horiz_resizing = | Int_h_resize |
vert_resizing = | Int_v_resize |
location = | Real |
height = | Real |
width = | Real |
commands = | String |
value = | Integer |
minimum = | Integer |
maximum = | Integer |
live_drag = | Boolean |
show_value = | Boolean |
interface slider create & | |
|---|---|
slider_name = | .gui.dbox.sldr & |
enabled = | yes & |
help_text = | "help2text" & |
documentation_text = | "doc2text" & |
units = | relative & |
horiz_resizing = | attach_left & |
vert_resizing = | attach_top & |
location = | 0.2, 0.2 & |
height = | 0.2 & |
width = | 0.6 & |
commands = | "view zoom view=.gui.main.front zoom=1.0" & |
value = | 1 & |
minimum = | 0 & |
maximum = | 10 & |
live_drag = | yes & |
show_value = | yes |
Parameter | Value Type | Description |
|---|---|---|
slider _name | A New GI_slider | Specifies the name of a new slider |
enabled | Boolean | Activates the slider |
help_text | String | Specifies the help text |
documentation_text | String | Specifies the documentation text |
units | Int_units | Specifies the slider size as pixel or relative to dialog box window |
horiz_resizing | Int_h_resize | Specifies the attachment and scaling option for the slider |
vert_resizing | Int_v_resize | Specifies the attachment and scaling option for the slider |
location | Real | Specifies the location of the slider on the dialog box |
height | Real | Specifies the height of the slider in terms of relative units or pixel |
width | Real | Specifies the width of the slider field in terms of relative units or pixel |
commands | String | Specifies the command to be executed while the slider is dragged |
value | Integer | Specifies the default value of the command |
minimum | Integer | Specifies the minimum value at the beGInning of slider |
maximum | Integer | Specifies the maximum value at the end of slider |
live_drag | Boolean | Specifies the live display of current value on the slider |
show_value | Boolean | Specifies the default parameter for displaying the current slider value |