The tixControl command creates a
new tixControl mega-widget named
tixControl class is derived from the
tixPrimitive class. The tixControl widget,
also known as a spinbox, is generally used to Control a
denumerable value. The user can adjust the value by pressing
the two arrow buttons or by entering the value directly into
The tixControl supports two selection modes with the
-selectmode option. When the mode is
immediate, the current value is changed
immediately when the user enters a keystroke. When the mode is
normal, the current value is not changed
until the user presses the Return key. If the user presses the
Escape key, the string displayed in the entry is changed back
to the current value.
Whether an empty string is a valid input value.
Whether increment and decrement buttons should autorepeat when held down.
Command to call when the current value is changed. The value is appended as an argument.
Command to call when the user presses the decrement button. The current value is appended as an argument. The Return value is made the new current value.
Whether callbacks (specified by the -command option) are disabled.