Ardour  9.0-pre0-350-gf17a656217
gtkspinbutton.h File Reference
#include <gtk/gtkentry.h>
#include <gtk/gtkadjustment.h>
Include dependency graph for gtkspinbutton.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GtkSpinButton
 
struct  _GtkSpinButtonClass
 

Macros

#define GTK_TYPE_SPIN_BUTTON   (gtk_spin_button_get_type ())
 
#define GTK_SPIN_BUTTON(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPIN_BUTTON, GtkSpinButton))
 
#define GTK_SPIN_BUTTON_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SPIN_BUTTON, GtkSpinButtonClass))
 
#define GTK_IS_SPIN_BUTTON(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPIN_BUTTON))
 
#define GTK_IS_SPIN_BUTTON_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SPIN_BUTTON))
 
#define GTK_SPIN_BUTTON_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SPIN_BUTTON, GtkSpinButtonClass))
 
#define GTK_INPUT_ERROR   -1
 
#define gtk_spin_button_get_value_as_float   gtk_spin_button_get_value
 

Typedefs

typedef struct _GtkSpinButton GtkSpinButton
 
typedef struct _GtkSpinButtonClass GtkSpinButtonClass
 

Enumerations

enum  GtkSpinButtonUpdatePolicy { GTK_UPDATE_ALWAYS , GTK_UPDATE_IF_VALID }
 
enum  GtkSpinType {
  GTK_SPIN_STEP_FORWARD , GTK_SPIN_STEP_BACKWARD , GTK_SPIN_PAGE_FORWARD , GTK_SPIN_PAGE_BACKWARD ,
  GTK_SPIN_HOME , GTK_SPIN_END , GTK_SPIN_USER_DEFINED
}
 

Functions

GType gtk_spin_button_get_type (void) G_GNUC_CONST
 
void gtk_spin_button_configure (GtkSpinButton *spin_button, GtkAdjustment *adjustment, gdouble climb_rate, guint digits)
 
GtkWidgetgtk_spin_button_new (GtkAdjustment *adjustment, gdouble climb_rate, guint digits)
 
GtkWidgetgtk_spin_button_new_with_range (gdouble min, gdouble max, gdouble step)
 
void gtk_spin_button_set_adjustment (GtkSpinButton *spin_button, GtkAdjustment *adjustment)
 
GtkAdjustmentgtk_spin_button_get_adjustment (GtkSpinButton *spin_button)
 
void gtk_spin_button_set_digits (GtkSpinButton *spin_button, guint digits)
 
guint gtk_spin_button_get_digits (GtkSpinButton *spin_button)
 
void gtk_spin_button_set_increments (GtkSpinButton *spin_button, gdouble step, gdouble page)
 
void gtk_spin_button_get_increments (GtkSpinButton *spin_button, gdouble *step, gdouble *page)
 
void gtk_spin_button_set_range (GtkSpinButton *spin_button, gdouble min, gdouble max)
 
void gtk_spin_button_get_range (GtkSpinButton *spin_button, gdouble *min, gdouble *max)
 
gdouble gtk_spin_button_get_value (GtkSpinButton *spin_button)
 
gint gtk_spin_button_get_value_as_int (GtkSpinButton *spin_button)
 
void gtk_spin_button_set_value (GtkSpinButton *spin_button, gdouble value)
 
void gtk_spin_button_set_update_policy (GtkSpinButton *spin_button, GtkSpinButtonUpdatePolicy policy)
 
GtkSpinButtonUpdatePolicy gtk_spin_button_get_update_policy (GtkSpinButton *spin_button)
 
void gtk_spin_button_set_numeric (GtkSpinButton *spin_button, gboolean numeric)
 
gboolean gtk_spin_button_get_numeric (GtkSpinButton *spin_button)
 
void gtk_spin_button_spin (GtkSpinButton *spin_button, GtkSpinType direction, gdouble increment)
 
void gtk_spin_button_set_wrap (GtkSpinButton *spin_button, gboolean wrap)
 
gboolean gtk_spin_button_get_wrap (GtkSpinButton *spin_button)
 
void gtk_spin_button_set_snap_to_ticks (GtkSpinButton *spin_button, gboolean snap_to_ticks)
 
gboolean gtk_spin_button_get_snap_to_ticks (GtkSpinButton *spin_button)
 
void gtk_spin_button_update (GtkSpinButton *spin_button)
 

Macro Definition Documentation

◆ GTK_INPUT_ERROR

#define GTK_INPUT_ERROR   -1

Definition at line 51 of file gtkspinbutton.h.

◆ GTK_IS_SPIN_BUTTON

#define GTK_IS_SPIN_BUTTON (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPIN_BUTTON))

Definition at line 47 of file gtkspinbutton.h.

◆ GTK_IS_SPIN_BUTTON_CLASS

#define GTK_IS_SPIN_BUTTON_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SPIN_BUTTON))

Definition at line 48 of file gtkspinbutton.h.

◆ GTK_SPIN_BUTTON

#define GTK_SPIN_BUTTON (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPIN_BUTTON, GtkSpinButton))

Definition at line 45 of file gtkspinbutton.h.

◆ GTK_SPIN_BUTTON_CLASS

#define GTK_SPIN_BUTTON_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SPIN_BUTTON, GtkSpinButtonClass))

Definition at line 46 of file gtkspinbutton.h.

◆ GTK_SPIN_BUTTON_GET_CLASS

#define GTK_SPIN_BUTTON_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SPIN_BUTTON, GtkSpinButtonClass))

Definition at line 49 of file gtkspinbutton.h.

◆ gtk_spin_button_get_value_as_float

#define gtk_spin_button_get_value_as_float   gtk_spin_button_get_value

Definition at line 191 of file gtkspinbutton.h.

◆ GTK_TYPE_SPIN_BUTTON

#define GTK_TYPE_SPIN_BUTTON   (gtk_spin_button_get_type ())

Definition at line 44 of file gtkspinbutton.h.

Typedef Documentation

◆ GtkSpinButton

typedef struct _GtkSpinButton GtkSpinButton

Definition at line 42 of file gtkspinbutton.h.

◆ GtkSpinButtonClass

Definition at line 42 of file gtkspinbutton.h.

Enumeration Type Documentation

◆ GtkSpinButtonUpdatePolicy

Enumerator
GTK_UPDATE_ALWAYS 
GTK_UPDATE_IF_VALID 

Definition at line 53 of file gtkspinbutton.h.

◆ GtkSpinType

Enumerator
GTK_SPIN_STEP_FORWARD 
GTK_SPIN_STEP_BACKWARD 
GTK_SPIN_PAGE_FORWARD 
GTK_SPIN_PAGE_BACKWARD 
GTK_SPIN_HOME 
GTK_SPIN_END 
GTK_SPIN_USER_DEFINED 

Definition at line 59 of file gtkspinbutton.h.

Function Documentation

◆ gtk_spin_button_configure()

void gtk_spin_button_configure ( GtkSpinButton spin_button,
GtkAdjustment adjustment,
gdouble  climb_rate,
guint  digits 
)

◆ gtk_spin_button_get_adjustment()

GtkAdjustment* gtk_spin_button_get_adjustment ( GtkSpinButton spin_button)

◆ gtk_spin_button_get_digits()

guint gtk_spin_button_get_digits ( GtkSpinButton spin_button)

◆ gtk_spin_button_get_increments()

void gtk_spin_button_get_increments ( GtkSpinButton spin_button,
gdouble *  step,
gdouble *  page 
)

◆ gtk_spin_button_get_numeric()

gboolean gtk_spin_button_get_numeric ( GtkSpinButton spin_button)

◆ gtk_spin_button_get_range()

void gtk_spin_button_get_range ( GtkSpinButton spin_button,
gdouble *  min,
gdouble *  max 
)

◆ gtk_spin_button_get_snap_to_ticks()

gboolean gtk_spin_button_get_snap_to_ticks ( GtkSpinButton spin_button)

◆ gtk_spin_button_get_type()

GType gtk_spin_button_get_type ( void  )

◆ gtk_spin_button_get_update_policy()

GtkSpinButtonUpdatePolicy gtk_spin_button_get_update_policy ( GtkSpinButton spin_button)

◆ gtk_spin_button_get_value()

gdouble gtk_spin_button_get_value ( GtkSpinButton spin_button)

◆ gtk_spin_button_get_value_as_int()

gint gtk_spin_button_get_value_as_int ( GtkSpinButton spin_button)

◆ gtk_spin_button_get_wrap()

gboolean gtk_spin_button_get_wrap ( GtkSpinButton spin_button)

◆ gtk_spin_button_new()

GtkWidget* gtk_spin_button_new ( GtkAdjustment adjustment,
gdouble  climb_rate,
guint  digits 
)

◆ gtk_spin_button_new_with_range()

GtkWidget* gtk_spin_button_new_with_range ( gdouble  min,
gdouble  max,
gdouble  step 
)

◆ gtk_spin_button_set_adjustment()

void gtk_spin_button_set_adjustment ( GtkSpinButton spin_button,
GtkAdjustment adjustment 
)

◆ gtk_spin_button_set_digits()

void gtk_spin_button_set_digits ( GtkSpinButton spin_button,
guint  digits 
)

◆ gtk_spin_button_set_increments()

void gtk_spin_button_set_increments ( GtkSpinButton spin_button,
gdouble  step,
gdouble  page 
)

◆ gtk_spin_button_set_numeric()

void gtk_spin_button_set_numeric ( GtkSpinButton spin_button,
gboolean  numeric 
)

◆ gtk_spin_button_set_range()

void gtk_spin_button_set_range ( GtkSpinButton spin_button,
gdouble  min,
gdouble  max 
)

◆ gtk_spin_button_set_snap_to_ticks()

void gtk_spin_button_set_snap_to_ticks ( GtkSpinButton spin_button,
gboolean  snap_to_ticks 
)

◆ gtk_spin_button_set_update_policy()

void gtk_spin_button_set_update_policy ( GtkSpinButton spin_button,
GtkSpinButtonUpdatePolicy  policy 
)

◆ gtk_spin_button_set_value()

void gtk_spin_button_set_value ( GtkSpinButton spin_button,
gdouble  value 
)

◆ gtk_spin_button_set_wrap()

void gtk_spin_button_set_wrap ( GtkSpinButton spin_button,
gboolean  wrap 
)

◆ gtk_spin_button_spin()

void gtk_spin_button_spin ( GtkSpinButton spin_button,
GtkSpinType  direction,
gdouble  increment 
)

◆ gtk_spin_button_update()

void gtk_spin_button_update ( GtkSpinButton spin_button)