index
gtk-- homepage



Description:
Gtk_SpinButton

#include <gtk--/spinbutton.h>
Base classes: Gtk_Entry

numeric Entry with up/down buttons



Properties:

NameTypeGetSetDescription
adjustment GtkAdjustment*      
panel GdkWindow*      
shadow_type GtkShadowType      
timer guint32      
ev_time guint32      
climb_rate gfloat      
timer_step gfloat      
update_policy GtkSpinButtonUpdatePolicy      
in_child guint:2      
click_child guint:2      
button guint:2      
need_timer guint:1      
timer_calls guint:3      
digits guint:3      
numeric guint:1      
wrap guint:1      
snap_to_ticks guint:1    



Public member index:


Gtk_SpinButton(gfloat climb_rate=0,gint digits=0);
create instance

Gtk_SpinButton(Gtk_Adjustment &adjustment,gfloat climb_rate=0,gint digits=0);
Gtk_SpinButton(GtkSpinButton *castitem);
~Gtk_SpinButton();
void set_adjustment(const Gtk_Adjustment &adjustment);
set a new range/value

const Gtk_Adjustment *get_adjustment()const;
get range/value

void set_digits(gint digits);
set number of decimals

gfloat get_value_as_float()const;
get value

gint get_value_as_int()const;
get value

void set_value(gfloat value);
set value

void set_update_policy(GtkSpinButtonUpdatePolicy policy);
void set_wrap(bool wrap);
void set_numeric(bool numeric);
void spin(GtkSpinType direction,gfloat step);
void set_shadow_type(GtkShadowType shadow_type);
void set_snap_to_ticks(bool snap_to_ticks);
GtkSpinButton *gtkobj();
const GtkSpinButton *gtkobj()const;
static bool isGtkSpinButton(Gtk_Object *checkcast);
Protected member index:


virtual void *get_parent_class();
Private member index:


GtkType get_type();

Public member details:


Protected member details:


Private member details:



Examples:





(pages generated by PERCEPS -script.)