Method

GtkSpinButtonconfigure

Declaration [src]

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

Description [src]

Changes the properties of an existing spin button.

The adjustment, climb rate, and number of decimal places are updated accordingly.

Parameters

adjustment GtkAdjustment
 

A GtkAdjustment to replace the spin button’s existing adjustment, or NULL to leave its current adjustment unchanged.

 The argument can be NULL.
 The data is owned by the caller of the function.
climb_rate double
 

The new climb rate.

digits guint
 

The number of decimal places to display in the spin button.