IUP::SpinBox - [GUI element] horizontal container that already contains a IUP::Spin
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.
undef
NOTE: You can pass to new() other ATTRIBUTE=>'value' or CALLBACKNAME=>\&func pairs relevant to this element - see IUP::Manual::02_Elements.
new()
ATTRIBUTE=>'value'
CALLBACKNAME=>\&func
For more info about concept of callbacks (setting callback handlers etc.) see IUP::Manual::04_Callbacks. Callbacks specific to this element:
SPIN_CB
See IUP::Spin.
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
To install IUP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IUP
CPAN shell
perl -MCPAN -e shell install IUP
For more information on module installation, please visit the detailed CPAN module installation guide.