|  |  | 

| Public Member Functions | |
| void | configure (Adjustment& adjustment, double climb_rate, guint digits) | 
| const Gtk::Adjustment* | get_adjustment () const | 
| Get the adjustment associated with a Gtk::SpinButton. | |
| Gtk::Adjustment* | get_adjustment () | 
| Get the adjustment associated with a Gtk::SpinButton. | |
| guint | get_digits () const | 
| Fetches the precision of spin_button . | |
| void | get_increments (double& step, double& page) const | 
| Gets the current step and page the increments used by spin_button . | |
| bool | get_numeric () const | 
| Returns whether non-numeric text can be typed into the spin button. | |
| void | get_range (double& min, double& max) const | 
| Gets the range allowed for spin_button . | |
| bool | get_snap_to_ticks () const | 
| Returns whether the values are corrected to the nearest step. | |
| SpinButtonUpdatePolicy | get_update_policy () const | 
| Gets the update behavior of a spin button. | |
| double | get_value () const | 
| Get the value in the spin_button . | |
| int | get_value_as_int () const | 
| Get the value spin_button represented as an integer. | |
| bool | get_wrap () const | 
| Returns whether the spin button's value wraps around to the opposite limit when the upper or lower limit of the range is exceeded. | |
| const GtkSpinButton* | gobj () const | 
| Provides access to the underlying C GtkObject. | |
| GtkSpinButton* | gobj () | 
| Provides access to the underlying C GtkObject. | |
| Glib::PropertyProxy_ReadOnly< Gtk::Adjustment* > | property_adjustment () const | 
| The adjustment that holds the value of the spinbutton. | |
| Glib::PropertyProxy<Gtk::Adjustment*> | property_adjustment () | 
| The adjustment that holds the value of the spinbutton. | |
| Glib::PropertyProxy_ReadOnly< double > | property_climb_rate () const | 
| The acceleration rate when you hold down a button. | |
| Glib::PropertyProxy<double> | property_climb_rate () | 
| The acceleration rate when you hold down a button. | |
| Glib::PropertyProxy_ReadOnly< guint > | property_digits () const | 
| The number of decimal places to display. | |
| Glib::PropertyProxy<guint> | property_digits () | 
| The number of decimal places to display. | |
| Glib::PropertyProxy_ReadOnly< bool > | property_numeric () const | 
| Whether non-numeric characters should be ignored. | |
| Glib::PropertyProxy<bool> | property_numeric () | 
| Whether non-numeric characters should be ignored. | |
| Glib::PropertyProxy_ReadOnly< bool > | property_snap_to_ticks () const | 
| Whether erroneous values are automatically changed to a spin button's nearest step increment. | |
| Glib::PropertyProxy<bool> | property_snap_to_ticks () | 
| Whether erroneous values are automatically changed to a spin button's nearest step increment. | |
| Glib::PropertyProxy_ReadOnly< SpinButtonUpdatePolicy > | property_update_policy () const | 
| Whether the spin button should update always. | |
| Glib::PropertyProxy<SpinButtonUpdatePolicy> | property_update_policy () | 
| Whether the spin button should update always. | |
| Glib::PropertyProxy_ReadOnly< double > | property_value () const | 
| Reads the current value. | |
| Glib::PropertyProxy<double> | property_value () | 
| Reads the current value. | |
| Glib::PropertyProxy_ReadOnly< bool > | property_wrap () const | 
| Whether a spin button should wrap upon reaching its limits. | |
| Glib::PropertyProxy<bool> | property_wrap () | 
| Whether a spin button should wrap upon reaching its limits. | |
| void | set_adjustment (Adjustment& adjustment) | 
| Replaces the Gtk::Adjustment associated with spin_button . | |
| void | set_digits (guint digits) | 
| Set the precision to be displayed by spin_button . | |
| void | set_increments (double step, double page) | 
| Sets the step and page increments for spin_button. | |
| void | set_numeric (bool numeric=true) | 
| Sets the flag that determines if non-numeric text can be typed into the spin button. | |
| void | set_range (double min, double max) | 
| Sets the minimum and maximum allowable values for spin_button. | |
| void | set_snap_to_ticks (bool snap_to_ticks=true) | 
| Sets the policy as to whether values are corrected to the nearest step increment when a spin button is activated after providing an invalid value. | |
| void | set_update_policy (SpinButtonUpdatePolicy policy) | 
| Sets the update behavior of a spin button. | |
| void | set_value (double value) | 
| Set the value of spin_button . | |
| void | set_wrap (bool wrap=true) | 
| Sets the flag that determines if a spin button value wraps around to the opposite limit when the upper or lower limit of the range is exceeded. | |
| Glib::SignalProxy1<int, double*> | signal_input () | 
| Convert the Entry text to a number. | |
| Glib::SignalProxy0<bool> | signal_output () | 
| Convert the Adjustment position to text. | |
| Glib::SignalProxy0<void> | signal_value_changed () | 
| void | spin (SpinType direction, double increment) | 
| Increment or decrement a spin button's value in a specified direction by a specified amount. | |
| SpinButton (Adjustment& adjustment, double climb_rate=0.0, guint digits=0) | |
| SpinButton (double climb_rate=0.0, guint digits=0) | |
| void | unset_adjustment () | 
| void | update () | 
| Manually force an update of the spin button. | |
| virtual | ~SpinButton () | 
| Protected Member Functions | |
| virtual int | on_input (double* new_value) | 
| virtual bool | on_output () | 
| virtual void | on_value_changed () | 
| Related Functions | |
| (Note that these are not member functions.) | |
| Gtk::SpinButton* | wrap (GtkSpinButton* object, bool take_copy=false) | 
| 
 | 
| 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||||||
| 
 | 
| 
 | ||||||||||||||||
| 
 | 
| 
 | 
| Get the adjustment associated with a Gtk::SpinButton. 
 
 | 
| 
 | 
| Get the adjustment associated with a Gtk::SpinButton. 
 
 | 
| 
 | 
| Fetches the precision of spin_button . See set_digits(). 
 | 
| 
 | ||||||||||||
| Gets the current step and page the increments used by spin_button . See set_increments(). 
 | 
| 
 | 
| Returns whether non-numeric text can be typed into the spin button. See set_numeric(). 
 | 
| 
 | ||||||||||||
| Gets the range allowed for spin_button . See set_range(). 
 | 
| 
 | 
| Returns whether the values are corrected to the nearest step. See set_snap_to_ticks(). 
 | 
| 
 | 
| Gets the update behavior of a spin button. See set_update_policy(). 
 | 
| 
 | 
| Get the value in the spin_button . 
 
 | 
| 
 | 
| Get the value spin_button represented as an integer. 
 
 | 
| 
 | 
| Returns whether the spin button's value wraps around to the opposite limit when the upper or lower limit of the range is exceeded. See set_wrap(). 
 | 
| 
 | 
| Provides access to the underlying C GtkObject. 
 Reimplemented from Gtk::Entry. | 
| 
 | 
| Provides access to the underlying C GtkObject. 
 Reimplemented from Gtk::Entry. | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| The adjustment that holds the value of the spinbutton. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| The adjustment that holds the value of the spinbutton. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| The acceleration rate when you hold down a button. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| The acceleration rate when you hold down a button. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| The number of decimal places to display. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| The number of decimal places to display. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Whether non-numeric characters should be ignored. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Whether non-numeric characters should be ignored. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Whether erroneous values are automatically changed to a spin button's nearest step increment. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Whether erroneous values are automatically changed to a spin button's nearest step increment. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Whether the spin button should update always. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Whether the spin button should update always. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Reads the current value. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Reads the current value. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Whether a spin button should wrap upon reaching its limits. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Whether a spin button should wrap upon reaching its limits. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Replaces the Gtk::Adjustment associated with spin_button . 
 
 | 
| 
 | 
| Set the precision to be displayed by spin_button . Up to 20 digit precision is allowed. 
 | 
| 
 | ||||||||||||
| Sets the step and page increments for spin_button. This affects how quickly the value changes when the spin button's arrows are activated. 
 | 
| 
 | 
| Sets the flag that determines if non-numeric text can be typed into the spin button. 
 
 | 
| 
 | ||||||||||||
| Sets the minimum and maximum allowable values for spin_button. 
 
 | 
| 
 | 
| Sets the policy as to whether values are corrected to the nearest step increment when a spin button is activated after providing an invalid value. 
 
 | 
| 
 | 
| Sets the update behavior of a spin button. This determines whether the spin button is always updated or only when a valid value is set. 
 | 
| 
 | 
| Set the value of spin_button . 
 
 | 
| 
 | 
| Sets the flag that determines if a spin button value wraps around to the opposite limit when the upper or lower limit of the range is exceeded. 
 
 | 
| 
 | 
| Convert the Entry text to a number. 
The computed number should be written to  
 | 
| 
 | 
| Convert the Adjustment position to text. The computed text should be written via Gtk::Entry::set_text(). 
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||
| Increment or decrement a spin button's value in a specified direction by a specified amount. 
 
 | 
| 
 | 
| 
 | 
| 
 | 
| Manually force an update of the spin button. 
 | 
| 
 | ||||||||||||
| 
 
 
 |