index
gtk-- homepage



Description:
Gtk_SpinButton

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

numeric Entry with up/down buttons



Properties:


Public member index:


static GtkType get_type();
GtkSpinButton *gtkobj();
const GtkSpinButton *gtkobj()const;
static bool isA(Gtk_Object *checkcast);
virtual ~Gtk_SpinButton();
Gtk_SpinButton(gfloat climb_rate=0,gint digits=0);
create instance

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

void set_adjustment(Gtk_Adjustment *adjustment);
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);
Protected member index:


void initialize_class();
void *get_parent_class();
static void init_parent_class();
explicit Gtk_SpinButton(GtkSpinButton *castitem);
Private member index:


Gtk_SpinButton(const Gtk_SpinButton &);
Gtk_SpinButton &operator =(const Gtk_SpinButton &);

Public member details:


Protected member details:


Private member details:



Examples:





(pages generated by PERCEPS -script.)