spinbox class

Provides a simple spin button.
Inherits
object widget
Description
This widget allows the user to choose a value either by clicking the up/down buttons to increase/decrease the value currently displayed or by typing the value directly into the spin box.
Functions
$setValue(<value:integer>)
Sets the value of the spin box.
See also $value()
$setMinValue(<min_value:integer>)
Sets the minimum value of the spin box. See also $MinValue()
$setMaxValue(<max_value:integer>)
Sets the maximum value of the spin box.
See also $maxValue()
$setLineStep(<line_step:integer>)
Sets the line step: when the user uses the arrows to change the spin box's value the value will be incremented/decremented by the amount of the line step. See also $lineStep()
$setSpecialValueText(<text:string>)
Sets the special-value text. If set, the spin box will display this text instead of a numeric value whenever the current value is equal to $minValue(). See also $setSpecialValueText()
$setPrefix(<text:string>)
This property holds the spin box's prefix.
The prefix is prepended to the start of the displayed value.
Typical use is to display a unit of measurement or a currency symbol. See also $setSuffix()
$setSuffix(<text:string>);
This property holds the suffix of the spin box.
The suffix is appended to the end of the displayed value.
See also $setPrefix()
<integer> $value()
Returns the value of the spin box. See also $setValue()
<integer> $minValue
Returns the minimum value of the spin box. See also $setMinValue()
<integer> $maxValue
Returns the maximum value of the spin box. See also $setMaxValue()
<integer> $lineStep()
Return the linestep.
<string> $specialValueText()
Returns the special-value text. See also $setSpecialValueText()

Index, Object Classes
KVIrc 3.2.2 Documentation
Generated by neoclust at Mon Jun 5 18:30:07 2006