# 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>)`
Sets the value of the spin box. See also $value()
`$setMinValue(<value>)`
Sets the minimum value of the spin box. See also $MinValue()
`$setMaxValue(<value>)`
Sets the maximum value of the spin box. See also $maxValue()
`$setLineStep(<value>)`
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>)`
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`
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();`
This property holds the suffix of the spin box. The suffix is appended to the end of the displayed value. See also $setPrefix()
`$value()`
Returns the value of the spin box. See also $setValue()
`$minValue`
Returns the minimum value of the spin box. See also $setMinValue()
`$maxValue`
Returns the maximum value of the spin box. See also $setMaxValue()
`$lineStep()`
Return the linestep.
`$specialValueText()`
Returns the special-value text. See also $setSpecialValueText()

Index, Object Classes

KVIrc 3.2.0 Documentation
Generated by root at Thu Mar 9 08:43:54 2006