SpinButton.this

Creates a new gtk.SpinButton

  1. this(GtkSpinButton* gtkSpinButton, bool ownedRef)
  2. this(Adjustment adjustment, double climbRate, uint digits)
    class SpinButton
  3. this(double min, double max, double step)

Parameters

adjustment Adjustment

the gtk.Adjustment object that this spin button should use, or NULL

climbRate double

specifies by how much the rate of change in the value will accelerate if you continue to hold down an up/down button or arrow key

digits uint

the number of decimal places to display

Return Value

The new spin button as a gtk.Widget

Throws

ConstructionException GTK+ fails to create the object.