Module dui.SpinButton
Constructor Summary | |
---|---|
(GtkWidget* gtkWidget) |
|
public |
(Adjustment adjustment, gdouble climbRate, guint digits) Creates a new spin button. |
(gdouble min, gdouble max, gdouble step) Creates a new spin button |
Methods Summary | |
---|---|
static GType |
getType() Gets this class type |
void |
configure(Adjustment adjustment, gdouble climb_rate, guint digits) Configures this spin button parameters |
void |
setAdjustment(Adjustment adjustment) Sets this spin buttons adjustment |
Adjustment |
getAdjustement() Gets this spin buttons adjustment |
void |
setDigits(guint digits) Sets the number of digits to the right of the decimal point |
guint |
getDigits() Gets the number of digits to the right of the decimal point |
void |
setIncrements(gdouble step, gdouble page) Setes the increments for this spin button |
void |
getIncrements(gdouble* step, gdouble* page) Gets the imcrements for this spin button |
void |
setRange(gdouble min, gdouble max) Sets the valid range for this spin |
void |
getRange(gdouble* min, gdouble* max) Gets the valid minimum and maximum values |
gdouble |
getValue() Gets the current value as a double |
gint |
getValueAsInt() Gest the current value as an integer |
void |
setValue(gdouble value) Sets the value |
void |
setUpdatePolicy(GtkSpinButtonUpdatePolicy policy) Sets the update pllicy |
GtkSpinButtonUpdatePolicy |
getUpdatePolicy() Gets the update policy |
void |
setNumeric(bit numeric) Sets the value to be force to be numeric??? |
bit |
getNumeric() Check if the current value is numeric ??? |
void |
spin(GtkSpinType direction, gdouble increment) Sets the spin direction and increment |
void |
setWrap(bit wrap) Set the wrapping mode |
bit |
getWrap() Checks if the value will wrap when reaches the top or bottom range limites |
void |
setSnapToTicks(bit snapToTicks) Set snap to ticks |
bit |
getSnapToTics() get Snat to tics |
void |
update() Update |