
IUP::Spin - [GUI element] vertical box containing 2 buttons for incrementing/decrementing values

IUP::SpinBox is an horizontal container that already contains a IUP::Spin.

$spinbox = IUP::SpinBox->new( child=>$element );
child: Identifier of an interface element which will receive the spinbox around.
Returns: the identifier of the created element, or undef if an error occurs. occurs.
NOTE: You can pass to new() other ATTRIBUTE=>'value' or CALLBACKNAME=>\&func pairs relevant to this element - see IUP::Manual::02_Elements.
For more info about concept of callbacks (setting callback handlers etc.) see IUP::Manual::04_Callbacks. Callbacks specific to this element:

The IUP::SpinBox can be created with no elements and be dynamic filled using Append or Insert.

Unfortunately there are no sample scripts using this element.

IUP::Text, IUP::Vbox, IUP::Hbox, IUP::Button
The original doc: iupspin.html