## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Spin_Button

- Goto spec source

# Description

    package Gtk.Spin_Button is

A Gtk_Spin_Button is a single line text editing widget for text that represents a number. At the right hand side of the text line there are small up- and down arrow buttons for incrementing or decrementing (spinning) the number within a given range.

It allows the value to have zero or a number of decimal places and to be incremented/decremented in configurable steps.

The action of holding down one of the buttons optionally results in an acceleration of change in the value according to how long it is depressed.

See Gtk.GEntry for a text editing widget without spin buttons.

Binding from C File version 2.8.17

### Screenshot

<testgtk>create_spin.adb</testgtk>

# Packages

### Spin_Button_Update_Policy_Properties (new Glib.Generic_Properties.Generic_Internal_Discrete_Property)

    package Spin_Button_Update_Policy_Properties is new
         Glib.Generic_Properties.Generic_Internal_Discrete_Property
           (Gtk_Spin_Button_Update_Policy);

# Classes

### Gtk_Spin_Button_Record

- Goto declaration in source
- Goto full declaration in source

    type Gtk_Spin_Button_Record is new Gtk.GEntry.Gtk_Entry_Record with private;

#### Ancestors:

Gtk.GEntry.Gtk_Entry_Record
Gtk.Editable.Gtk_Editable_Record
Gtk.Widget.Gtk_Widget_Record
Glib.Object.GObject_Record

#### Primitive operations:

Get_Adjustment

- To API doc
- To spec

Get_Digits

- To API doc
- To spec

Get_Increments

- To API doc
- To spec

Get_Numeric

- To API doc
- To spec

Get_Range

- To API doc
- To spec

Get_Snap_To_Ticks

- To API doc
- To spec

Get_Update_Policy

- To API doc
- To spec

Get_Value

- To API doc
- To spec

Get_Value_As_Int

- To API doc
- To spec

Get_Wrap

- To API doc
- To spec

Glib.Object.Deallocate

- To API doc
- To spec

(Inherited)
Glib.Object.Get_Type

- To API doc
- To spec

(Inherited)
Glib.Object.Notify

- To API doc
- To spec

(Inherited)
Glib.Object.Ref

- To API doc
- To spec

(Inherited)
Glib.Object.Ref_Sink

- To API doc
- To spec

(Inherited)
Glib.Object.Unref

- To API doc
- To spec

(Inherited)
Gtk.Editable.Copy_Clipboard

- To API doc
- To spec

(Inherited)
Gtk.Editable.Cut_Clipboard

- To API doc
- To spec

(Inherited)
Gtk.Editable.Delete_Selection

- To API doc
- To spec

(Inherited)
Gtk.Editable.Delete_Text

- To API doc
- To spec

(Inherited)
Gtk.Editable.Get_Chars

- To API doc
- To spec

(Inherited)
Gtk.Editable.Get_Editable

- To API doc
- To spec

(Inherited)
Gtk.Editable.Get_Position

- To API doc
- To spec

(Inherited)
Gtk.Editable.Get_Selection_Bounds

- To API doc
- To spec

(Inherited)
Gtk.Editable.Insert_Text

- To API doc
- To spec

(Inherited)
Gtk.Editable.Paste_Clipboard

- To API doc
- To spec

(Inherited)
Gtk.Editable.Select_Region

- To API doc
- To spec

(Inherited)
Gtk.Editable.Set_Editable

- To API doc
- To spec

(Inherited)
Gtk.Editable.Set_Position

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Append_Text

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Activates_Default

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Alignment

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Completion

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Current_Icon_Drag_Source

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Cursor_Hadjustment

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Has_Frame

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Icon_Activatable

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Icon_At_Pos

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Icon_Gicon

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Icon_Name

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Icon_Pixbuf

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Icon_Sensitive

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Icon_Stock

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Icon_Storage_Type

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Icon_Tooltip_Markup

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Icon_Tooltip_Text

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Inner_Border

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Invisible_Char

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Layout

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Layout_Offsets

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Max_Length

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Overwrite_Mode

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Progress_Fraction

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Progress_Pulse_Step

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Text

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Text_Length

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Get_Visibility

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Layout_Index_To_Text_Index

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Prepend_Text

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Progress_Pulse

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Activates_Default

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Alignment

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Completion

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Cursor_Hadjustment

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Editable

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Has_Frame

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Icon_Activatable

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Icon_Drag_Source

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Icon_From_Gicon

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Icon_From_Icon_Name

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Icon_From_Pixbuf

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Icon_From_Stock

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Icon_Sensitive

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Icon_Tooltip_Markup

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Icon_Tooltip_Text

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Inner_Border

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Invisible_Char

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Max_Length

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Overwrite_Mode

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Progress_Fraction

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Progress_Pulse_Step

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Text

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Set_Visibility

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Text_Index_To_Layout_Index

- To API doc
- To spec

(Inherited)
Gtk.GEntry.Unset_Invisible_Char

- To API doc
- To spec

(Inherited)
Gtk.Widget.Activate

- To API doc
- To spec

(Inherited)
Gtk.Widget.Add_Accelerator

- To API doc
- To spec

(Inherited)
Gtk.Widget.Add_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Add_Mnemonic_Label

- To API doc
- To spec

(Inherited)
Gtk.Widget.Can_Activate_Accel

- To API doc
- To spec

(Inherited)
Gtk.Widget.Child_Notify

- To API doc
- To spec

(Inherited)
Gtk.Widget.Class_Path

- To API doc
- To spec

(Inherited)
Gtk.Widget.Class_Path_Reversed

- To API doc
- To spec

(Inherited)
Gtk.Widget.Create_Pango_Context

- To API doc
- To spec

(Inherited)
Gtk.Widget.Create_Pango_Layout

- To API doc
- To spec

(Inherited)
Gtk.Widget.Destroy

- To API doc
- To spec

(Inherited)
Gtk.Widget.Draw

- To API doc
- To spec

(Inherited)
Gtk.Widget.Ensure_Style

- To API doc
- To spec

(Inherited)
Gtk.Widget.Error_Bell

- To API doc
- To spec

(Inherited)
Gtk.Widget.Flag_Is_Set

- To API doc
- To spec

(Inherited)
Gtk.Widget.Flags

- To API doc
- To spec

(Inherited)
Gtk.Widget.Freeze_Child_Notify

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Allocation_Height

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Allocation_Width

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Allocation_X

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Allocation_Y

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Ancestor

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Child_Requisition

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Child_Visible

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Colormap

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Composite_Name

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Direction

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Extension_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Has_Tooltip

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Name

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_No_Show_All

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Pango_Context

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Parent

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Parent_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Pointer

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Root_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Size_Request

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Snapshot

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_State

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Style

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Tooltip_Markup

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Tooltip_Text

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Tooltip_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Toplevel

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Visual

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Grab_Default

- To API doc
- To spec

(Inherited)
Gtk.Widget.Grab_Focus

- To API doc
- To spec

(Inherited)
Gtk.Widget.Has_Screen

- To API doc
- To spec

(Inherited)
Gtk.Widget.Hide

- To API doc
- To spec

(Inherited)
Gtk.Widget.Hide_All

- To API doc
- To spec

(Inherited)
Gtk.Widget.Input_Shape_Combine_Mask

- To API doc
- To spec

(Inherited)
Gtk.Widget.Intersect

- To API doc
- To spec

(Inherited)
Gtk.Widget.Is_Ancestor

- To API doc
- To spec

(Inherited)
Gtk.Widget.Is_Composited

- To API doc
- To spec

(Inherited)
Gtk.Widget.Is_Focus

- To API doc
- To spec

(Inherited)
Gtk.Widget.Keynav_Failed

- To API doc
- To spec

(Inherited)
Gtk.Widget.List_Mnemonic_Labels

- To API doc
- To spec

(Inherited)
Gtk.Widget.Map

- To API doc
- To spec

(Inherited)
Gtk.Widget.Mnemonic_Activate

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Base

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Bg

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Cursor

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Fg

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Font

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Text

- To API doc
- To spec

(Inherited)
Gtk.Widget.Path

- To API doc
- To spec

(Inherited)
Gtk.Widget.Path_Reversed

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Clear

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Clear_Area

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Draw

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Draw_Area

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Resize

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Resize_No_Redraw

- To API doc
- To spec

(Inherited)
Gtk.Widget.Realize

- To API doc
- To spec

(Inherited)
Gtk.Widget.Region_Intersect

- To API doc
- To spec

(Inherited)
Gtk.Widget.Remove_Accelerator

- To API doc
- To spec

(Inherited)
Gtk.Widget.Remove_Mnemonic_Label

- To API doc
- To spec

(Inherited)
Gtk.Widget.Render_Icon

- To API doc
- To spec

(Inherited)
Gtk.Widget.Reparent

- To API doc
- To spec

(Inherited)
Gtk.Widget.Reset_Rc_Styles

- To API doc
- To spec

(Inherited)
Gtk.Widget.Reset_Shapes

- To API doc
- To spec

(Inherited)
Gtk.Widget.Restore_Default_Style

- To API doc
- To spec

(Inherited)
Gtk.Widget.Send_Expose

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Accel_Path

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_App_Paintable

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Child_Visible

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Colormap

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Composite_Name

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Direction

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Double_Buffered

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Extension_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Flags

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Has_Tooltip

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Name

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_No_Show_All

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Parent

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Parent_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Redraw_On_Allocate

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Scroll_Adjustments

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Sensitive

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Size_Request

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_State

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Style

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Tooltip_Markup

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Tooltip_Text

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Tooltip_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_UPosition

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_USize

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Shape_Combine_Mask

- To API doc
- To spec

(Inherited)
Gtk.Widget.Show

- To API doc
- To spec

(Inherited)
Gtk.Widget.Show_All

- To API doc
- To spec

(Inherited)
Gtk.Widget.Show_Now

- To API doc
- To spec

(Inherited)
Gtk.Widget.Size_Allocate

- To API doc
- To spec

(Inherited)
Gtk.Widget.Size_Request

- To API doc
- To spec

(Inherited)
Gtk.Widget.Style_Get_Property

- To API doc
- To spec

(Inherited)
Gtk.Widget.Thaw_Child_Notify

- To API doc
- To spec

(Inherited)
Gtk.Widget.Trigger_Tooltip_Query

- To API doc
- To spec

(Inherited)
Gtk.Widget.Unmap

- To API doc
- To spec

(Inherited)
Gtk.Widget.Unrealize

- To API doc
- To spec

(Inherited)
Gtk.Widget.Unset_Flags

- To API doc
- To spec

(Inherited)
Set_Adjustment

- To API doc
- To spec

Set_Digits

- To API doc
- To spec

Set_Increments

- To API doc
- To spec

Set_Numeric

- To API doc
- To spec

Set_Range

- To API doc
- To spec

Set_Snap_To_Ticks

- To API doc
- To spec

Set_Update_Policy

- To API doc
- To spec

Set_Value

- To API doc
- To spec

Set_Wrap

- To API doc
- To spec

Spin

- To API doc
- To spec

Update

- To API doc
- To spec

# Types

### Gtk_Spin_Button

- Goto declaration in source

    type Gtk_Spin_Button is access all Gtk_Spin_Button_Record'Class;

### Gtk_Spin_Button_Update_Policy

- Goto declaration in source

    type Gtk_Spin_Button_Update_Policy is
         (Update_Always,
          --  Update always, errors are ignored while converting text into a
          --  numeric value.

          Update_If_Valid
          --  The spin button's value gets changed if the text input is a numeric
          --  value that is within the range specified by the adjustment.
         );

### Gtk_Spin_Type

- Goto declaration in source

    type Gtk_Spin_Type is
         (Spin_Step_Forward,
          Spin_Step_Backward,
          Spin_Page_Forward,
          Spin_Page_Backward,
          Spin_Home,
          Spin_End,
          Spin_User_Defined);

Determine how manual spinning should be done. See also the Spin procedure.

### Property_Spin_Button_Update_Policy_Type

- Goto declaration in source

    type Property_Spin_Button_Update_Policy_Type is new
         Spin_Button_Update_Policy_Properties.Property;

# Constants & Global variables

### Adjustment_Property

- Goto declaration in source

(Glib.Properties.Property_Object)

    Adjustment_Property    : constant Glib.Properties.Property_Object;

### Climb_Rate_Property

- Goto declaration in source

(Glib.Properties.Property_Double)

    Climb_Rate_Property    : constant Glib.Properties.Property_Double;

### Digits_Property

- Goto declaration in source

(Glib.Properties.Property_Uint)

    Digits_Property        : constant Glib.Properties.Property_Uint;

### Numeric_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Numeric_Property       : constant Glib.Properties.Property_Boolean;

### Snap_To_Ticks_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Snap_To_Ticks_Property : constant Glib.Properties.Property_Boolean;

### Update_Policy_Property

- Goto declaration in source

(Property_Spin_Button_Update_Policy_Type)

    Update_Policy_Property : constant Property_Spin_Button_Update_Policy_Type;

### Value_Property

- Goto declaration in source

(Glib.Properties.Property_Double)

    Value_Property         : constant Glib.Properties.Property_Double;

### Wrap_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Wrap_Property          : constant Glib.Properties.Property_Boolean;

### Signal_Change_Value

- Goto declaration in source

(Glib.Signal_Name)

    Signal_Change_Value  : constant Glib.Signal_Name := "change_value";

### Signal_Input

- Goto declaration in source

(Glib.Signal_Name)

    Signal_Input         : constant Glib.Signal_Name := "input";

### Signal_Output

- Goto declaration in source

(Glib.Signal_Name)

    Signal_Output        : constant Glib.Signal_Name := "output";

### Signal_Value_Changed

- Goto declaration in source

(Glib.Signal_Name)

    Signal_Value_Changed : constant Glib.Signal_Name := "value_changed";

# Subprograms & Entries

### Gtk_New

- Goto spec in source

    procedure Gtk_New (Spin_Button: out Gtk_Spin_Button;Adjustment: Gtk.Adjustment.Gtk_Adjustment;Climb_Rate: Gdouble;The_Digits: Gint);

Create a spin button with the given parameters. Adjustment contains the range, current value, step value and "page" value. The step value is the increment/decrement when pressing mouse button 1 on a button; the page value when mouse button 2 is pressed. Additionally, mouse button 3 can be used to jump directly to the or lower values when used to select one of the buttons. Climb_Rate takes a value between 0.0 and 1.0 and indicates the amount of acceleration that the Spin Button has. The_Digits is the number of digits behind the decimal point to be displayed for the value.

### Gtk_New

- Goto spec in source

    procedure Gtk_New (Spin_Button: out Gtk_Spin_Button;Min: Gdouble;Max: Gdouble;Step: Gdouble);

Same as above, but with explicit range instead of an adjustment. The adjustment associated with Spin_Button is created internally.

### Initialize

- Goto spec in source

    procedure Initialize (Spin_Button: access Gtk_Spin_Button_Record'Class;Adjustment: Gtk.Adjustment.Gtk_Adjustment;Climb_Rate: Gdouble;The_Digits: Gint);

Internal initialization function. See the section "Creating your own widgets" in the documentation.

### Initialize

- Goto spec in source

    procedure Initialize (Spin_Button: access Gtk_Spin_Button_Record'Class;Min: Gdouble;Max: Gdouble;Step: Gdouble);

Internal initialization function.

### Get_Type

- Goto spec in source
- Goto body in source

    function Get_Type return Gtk.Gtk_Type;

Return the internal value associated with a Gtk_Spin_Button.

### Set_Adjustment

- Goto spec in source

    procedure Set_Adjustment (Spin_Button: access Gtk_Spin_Button_Record;Adjustment: Gtk.Adjustment.Gtk_Adjustment);

### Get_Adjustment

- Goto spec in source

    function Get_Adjustment (Spin_Button: access Gtk_Spin_Button_Record) return Gtk.Adjustment.Gtk_Adjustment;

Set or Get the adjustment settings of the spin button.

### Set_Digits

- Goto spec in source

    procedure Set_Digits (Spin_Button: access Gtk_Spin_Button_Record;The_Digits: Guint);

### Get_Digits

- Goto spec in source

    function Get_Digits (Spin_Button: access Gtk_Spin_Button_Record) return Guint;

Set or Get number of decimals of the spin button.

### Set_Increments

- Goto spec in source

    procedure Set_Increments (Spin_Button: access Gtk_Spin_Button_Record;Step: Gdouble;Page: Gdouble);

### Get_Increments

- Goto spec in source

    procedure Get_Increments (Spin_Button: access Gtk_Spin_Button_Record;Step: out Gdouble;Page: out Gdouble);

Set or Get the increments for a single step and a page move.

### Set_Range

- Goto spec in source

    procedure Set_Range (Spin_Button: access Gtk_Spin_Button_Record;Min: Gdouble;Max: Gdouble);

### Get_Range

- Goto spec in source

    procedure Get_Range (Spin_Button: access Gtk_Spin_Button_Record;Min: out Gdouble;Max: out Gdouble);

Set or Get range of the spin button.

### Set_Value

- Goto spec in source

    procedure Set_Value (Spin_Button: access Gtk_Spin_Button_Record;Value: Gdouble);

### Get_Value

- Goto spec in source

    function Get_Value (Spin_Button: access Gtk_Spin_Button_Record) return Gdouble;

Set or Get the current value of the spin button in a double.

### Get_Value_As_Int

- Goto spec in source

    function Get_Value_As_Int (Spin_Button: access Gtk_Spin_Button_Record) return Gint;

Return the current value of the spin button in an integer.

### Set_Update_Policy

- Goto spec in source

    procedure Set_Update_Policy (Spin_Button: access Gtk_Spin_Button_Record;Policy: Gtk_Spin_Button_Update_Policy);

### Get_Update_Policy

- Goto spec in source

    function Get_Update_Policy (Spin_Button: access Gtk_Spin_Button_Record) return Gtk_Spin_Button_Update_Policy;

Set the update policy of the spin button. See Gtk_Spin_Button_Update_Policy for the meaning of Policy.

### Set_Numeric

- Goto spec in source

    procedure Set_Numeric (Spin_Button: access Gtk_Spin_Button_Record;Numeric: Boolean);

### Get_Numeric

- Goto spec in source

    function Get_Numeric (Spin_Button: access Gtk_Spin_Button_Record) return Boolean;

If Numeric is True, then only a numeric value can be typed in the text entry, otherwise also nonnumeric text.

### Spin

- Goto spec in source

    procedure Spin (Spin_Button: access Gtk_Spin_Button_Record;Direction: Gtk_Spin_Type;Step: Gdouble);

Set the value of the spin button relative to its current value. Depending on Direction, it will be incremented or decremented with the step value.

### Set_Wrap

- Goto spec in source

    procedure Set_Wrap (Spin_Button: access Gtk_Spin_Button_Record;Wrap: Boolean);

### Get_Wrap

- Goto spec in source

    function Get_Wrap (Spin_Button: access Gtk_Spin_Button_Record) return Boolean;

Set whether the spin button should "wrap around" when exceeding the upper and lower limits.

### Set_Snap_To_Ticks

- Goto spec in source

    procedure Set_Snap_To_Ticks (Spin_Button: access Gtk_Spin_Button_Record;Snap_To_Ticks: Boolean);

### Get_Snap_To_Ticks

- Goto spec in source

    function Get_Snap_To_Ticks (Spin_Button: access Gtk_Spin_Button_Record) return Boolean;

Set the spin button to round the value to the nearest step value which is set within its adjustment settings.

### Update

- Goto spec in source

    procedure Update (Spin_Button: access Gtk_Spin_Button_Record);

Manually force an update of the spin button.