vdk 2.4.0
|
Provides a spin button widget. More...
#include <spins.h>
Provides a spin button widget.
SignalConnect(spinbutton,"value_changed",&MyForm::Handler,false);
VDKSpinButton::VDKSpinButton | ( | VDKForm * | owner, |
float | defValue, | ||
float | lower, | ||
float | upper, | ||
float | step_increment, | ||
float | climb_rate | ||
) |
Constructor
owner | |
defValue | initial default value |
lower | lower bound |
upper | bound |
step_increment | |
climb_rate |
VDKSpinButton::~VDKSpinButton | ( | ) | [virtual] |
Destructor
void VDKSpinButton::SetBackground | ( | VDKRgb | color, |
GtkStateType | state = GTK_STATE_NORMAL |
||
) | [virtual] |
void VDKSpinButton::SetForeground | ( | VDKRgb | color, |
GtkStateType | state = GTK_STATE_NORMAL |
||
) | [virtual] |
VDKReadWriteValueProp<VDKSpinButton, int> VDKSpinButton::Digits |
Sets/gets spin precison
VDKReadWriteValueProp<VDKSpinButton, float> VDKSpinButton::LowerBound |
Sets/gets spin lower bound
VDKReadWriteValueProp<VDKSpinButton, float> VDKSpinButton::UpperBound |
Sets/gets spin upper bound
VDKReadWriteValueProp<VDKSpinButton,float> VDKSpinButton::ValueAsFloat |
Sets/gets spin value in float format
VDKReadOnlyValueProp<VDKSpinButton,int> VDKSpinButton::ValueAsInt |
Sets/gets spin value in int format