Index

C++ Code Documentation

gtk::widget0::SpinButton

Derived from: widget::ui::Int , gtk::widget0::Widget // should be Entry

File: WIDGET/gtk/widget0/SpinButton.H

public:
  • SpinButton( GtkAdjustment *adjustment, float climb_rate, uint digits ) : Widget( gtk_spin_button_new( adjustment, climb_rate, digits ) );
  • SpinButton( float climb_rate, uint digits, float lower, float upper, float step_increment, float page_increment, float value ) : Widget( gtk_spin_button_new( (GtkAdjustment *)gtk_adjustment_new( value, lower, upper, step_increment, page_increment, 0.0f ), climb_rate, digits ) );
  • void configure( GtkAdjustment *adjustment, float climb_rate, uint digits );
  • void set( int x );
  • void set( uint x );
  • void set( float x );
  • int get_int() const;
  • float get_float() const;
  • virtual int get() const;
  • void set_adjustment( GtkAdjustment *adjustment );
  • GtkAdjustment* get_adjustment();
  • void set_digits( uint digits );
  • float get_value_as_float() const;
  • int get_value_as_int() const;
  • void set_value( float value );
  • void set_update_policy( GtkSpinButtonUpdatePolicy policy );
  • void set_numeric( bool numeric );
  • void spin( GtkSpinType direction, float increment );
  • void set_wrap( bool wrap );
  • void set_shadow_type( GtkShadowType shadow_type );
  • void set_snap_to_ticks( bool snap_to_ticks );
  • void update();
protected:
  • SpinButton( GtkWidget *x ) : Widget(x);
private:


gtk::widget0::SpinButton GANG