This class contains a label that precedes a spin box that allows the user to specify a value by clicking on its arrow buttons.
Constructor.
Argument | Type | Default | Description |
p | FXComposite | Parent widget. | |
ncols | Int | Number of columns. | |
labelText | String | Label string. | |
tgt | FXObject | None | Message target. |
sel | Int | 0 | Message ID |
opts | Int | 0 | Options and hints. |
x | Int | 0 | X coordinate of the origin. |
y | Int | 0 | Y coordinate of the origin. |
w | Int | 0 | Width of the widget. |
h | Int | 0 | Height of the widget. |
pl | Int | DEFAULT_PAD | Left padding (margin). |
pr | Int | DEFAULT_PAD | Right padding (margin). |
pt | Int | DEFAULT_PAD | Top padding (margin). |
pb | Int | DEFAULT_PAD | Bottom padding (margin). |
Returns a sequence of ints (low, high) representing the widget's allowable minimum and maximum values.
Sets the state of the check button or the radio button.
Argument | Type | Default | Description |
state | Bool | State. |
Sets the message ID of the check button or the radio button.
Argument | Type | Default | Description |
sel | Int | Selector. |
Sets the message target of the check button or the radio button.
Argument | Type | Default | Description |
tgt | FXObject | Target. |
Sets the editable state for the input field.
Argument | Type | Default | Description |
edit | Bool | True | If True, input field is editable. |
Sets the status line help text.
Argument | Type | Default | Description |
text | String | Help text. |
Sets the spinner increment.
Argument | Type | Default | Description |
incr | Int | Increment. |
Sets the label font.
Argument | Type | Default | Description |
fnt | FXFont | Label font. |
Sets the label string.
Argument | Type | Default | Description |
txt | String | Label text. |
Sets the spinner range.
Argument | Type | Default | Description |
low | Int | Minimum value. | |
high | Int | Maximum value. |
Sets the read-only state of the spinner.
Argument | Type | Default | Description |
readonly | Bool | True | State. |
Sets the tool tip message.
Argument | Type | Default | Description |
text | String | Tooltip text. |