SwamiguiSpinScale

SwamiguiSpinScale

Synopsis

                    SwamiguiSpinScale;
GtkWidget *         swamigui_spin_scale_new             (void);
void                swamigui_spin_scale_set_order       (SwamiguiSpinScale *spin_scale,
                                                         gboolean scale_first);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkHBox
                                       +----SwamiguiSpinScale

Implemented Interfaces

SwamiguiSpinScale implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Properties

  "adjustment"               GtkAdjustment*        : Read / Write
  "digits"                   guint                 : Read / Write
  "scale-first"              gboolean              : Read / Write
  "value"                    gdouble               : Read / Write

Description

Details

SwamiguiSpinScale

typedef struct _SwamiguiSpinScale SwamiguiSpinScale;

swamigui_spin_scale_new ()

GtkWidget *         swamigui_spin_scale_new             (void);

Create a new spin button/scale combo widget.

Returns :

New widget.

swamigui_spin_scale_set_order ()

void                swamigui_spin_scale_set_order       (SwamiguiSpinScale *spin_scale,
                                                         gboolean scale_first);

Sets the order that the horizontal scale and spin button widgets appear.

spin_scale :

Spin scale widget

scale_first :

TRUE if the GtkHScale should be before the GtkSpinButton, FALSE otherwise.

Property Details

The "adjustment" property

  "adjustment"               GtkAdjustment*        : Read / Write

Adjustment.


The "digits" property

  "digits"                   guint                 : Read / Write

Digits.

Allowed values: <= 20

Default value: 0


The "scale-first" property

  "scale-first"              gboolean              : Read / Write

Scale first.

Default value: FALSE


The "value" property

  "value"                    gdouble               : Read / Write

Value.

Default value: 0