Index

Package: Spin_Button

Description

package Gtk.Spin_Button is

A Gtk.Spin_Button.Gtk_Spin_Button is an ideal way to allow the user to set the value of some attribute. Rather than having to directly type a number into a Gtk.GEntry.Gtk_Entry, GtkSpinButton allows the user to click on one of two arrows to increment or decrement the displayed value. A value can still be typed in, with the bonus that it can be checked to ensure it is in a given range.

The main properties of a GtkSpinButton are through an adjustment. See the Gtk.Adjustment.Gtk_Adjustment section for more details about an adjustment's properties. == Using a GtkSpinButton to get an integer == /* Provides a function to retrieve an integer value from a * GtkSpinButton and creates a spin button to model percentage * values. */ gint grab_int_value (GtkSpinButton *button, gpointer user_data) { return gtk_spin_button_get_value_as_int (button); } void create_integer_spin_button (void) { GtkWidget *window, *button; GtkAdjustment *adjustment; adjustment = gtk_adjustment_new (50.0, 0.0, 100.0, 1.0, 5.0, 0.0); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_container_set_border_width (GTK_CONTAINER (window), 5); /* creates the spinbutton, with no decimal places */ button = gtk_spin_button_new (adjustment, 1.0, 0); gtk_container_add (GTK_CONTAINER (window), button); gtk_widget_show_all (window); } == Using a GtkSpinButton to get a floating point value == /* Provides a function to retrieve a floating point value from a * GtkSpinButton, and creates a high precision spin button. */ gfloat grab_float_value (GtkSpinButton *button, gpointer user_data) { return gtk_spin_button_get_value (button); } void create_floating_spin_button (void) { GtkWidget *window, *button; GtkAdjustment *adjustment; adjustment = gtk_adjustment_new (2.500, 0.0, 5.0, 0.001, 0.1, 0.0); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_container_set_border_width (GTK_CONTAINER (window), 5); /* creates the spinbutton, with three decimal places */ button = gtk_spin_button_new (adjustment, 0.001, 3); gtk_container_add (GTK_CONTAINER (window), button); gtk_widget_show_all (window); }

Packages

Gtk_Spin_Type_Properties (new Glib.Generic_Properties.Generic_Internal_Discrete_Property)

package Gtk_Spin_Type_Properties is
      new Generic_Internal_Discrete_Property (Gtk_Spin_Type);

Gtk_Spin_Button_Update_Policy_Properties (new Glib.Generic_Properties.Generic_Internal_Discrete_Property)

package Gtk_Spin_Button_Update_Policy_Properties is
      new Generic_Internal_Discrete_Property (Gtk_Spin_Button_Update_Policy);

Implements_Gtk_Buildable (new Glib.Types.Implements)

Implements_Gtk_Cell_Editable (new Glib.Types.Implements)

Implements_Gtk_Editable (new Glib.Types.Implements)

Implements_Gtk_Orientable (new Glib.Types.Implements)

Classes

Gtk_Spin_Button_Record

type Gtk_Spin_Button_Record is new Gtk_Entry_Record with null record;

Ancestors:

Primitive operations:

Copy_Clipboard
Cut_Clipboard
Delete_Selection
Editing_Done
Get_Adjustment
Get_Editable
Get_Increments
Get_Orientation
Get_Position
Get_Selection_Bounds
Get_Snap_To_Ticks
Get_Update_Policy
Get_Value_As_Int
Glib.Object.Deallocate (Inherited)
Glib.Object.Get_Type (Inherited)
Glib.Object.Notify (Inherited)
Glib.Object.Ref (Inherited)
Glib.Object.Ref_Sink (Inherited)
Glib.Object.Unref (Inherited)
Gtk.GEntry.Copy_Clipboard (Inherited)
Gtk.GEntry.Cut_Clipboard (Inherited)
Gtk.GEntry.Delete_Selection (Inherited)
Gtk.GEntry.Editing_Done (Inherited)
Gtk.GEntry.Get_Activates_Default (Inherited)
Gtk.GEntry.Get_Alignment (Inherited)
Gtk.GEntry.Get_Attributes (Inherited)
Gtk.GEntry.Get_Buffer (Inherited)
Gtk.GEntry.Get_Chars (Inherited)
Gtk.GEntry.Get_Completion (Inherited)
Gtk.GEntry.Get_Current_Icon_Drag_Source (Inherited)
Gtk.GEntry.Get_Cursor_Hadjustment (Inherited)
Gtk.GEntry.Get_Editable (Inherited)
Gtk.GEntry.Get_Has_Frame (Inherited)
Gtk.GEntry.Get_Icon_Activatable (Inherited)
Gtk.GEntry.Get_Icon_Area (Inherited)
Gtk.GEntry.Get_Icon_At_Pos (Inherited)
Gtk.GEntry.Get_Icon_Gicon (Inherited)
Gtk.GEntry.Get_Icon_Name (Inherited)
Gtk.GEntry.Get_Icon_Pixbuf (Inherited)
Gtk.GEntry.Get_Icon_Sensitive (Inherited)
Gtk.GEntry.Get_Icon_Stock (Inherited)
Gtk.GEntry.Get_Icon_Storage_Type (Inherited)
Gtk.GEntry.Get_Icon_Tooltip_Markup (Inherited)
Gtk.GEntry.Get_Icon_Tooltip_Text (Inherited)
Gtk.GEntry.Get_Inner_Border (Inherited)
Gtk.GEntry.Get_Input_Hints (Inherited)
Gtk.GEntry.Get_Input_Purpose (Inherited)
Gtk.GEntry.Get_Invisible_Char (Inherited)
Gtk.GEntry.Get_Layout (Inherited)
Gtk.GEntry.Get_Layout_Offsets (Inherited)
Gtk.GEntry.Get_Max_Length (Inherited)
Gtk.GEntry.Get_Overwrite_Mode (Inherited)
Gtk.GEntry.Get_Placeholder_Text (Inherited)
Gtk.GEntry.Get_Position (Inherited)
Gtk.GEntry.Get_Progress_Fraction (Inherited)
Gtk.GEntry.Get_Progress_Pulse_Step (Inherited)
Gtk.GEntry.Get_Selection_Bounds (Inherited)
Gtk.GEntry.Get_Text (Inherited)
Gtk.GEntry.Get_Text_Area (Inherited)
Gtk.GEntry.Get_Text_Length (Inherited)
Gtk.GEntry.Get_Visibility (Inherited)
Gtk.GEntry.Get_Width_Chars (Inherited)
Gtk.GEntry.Im_Context_Filter_Keypress (Inherited)
Gtk.GEntry.Insert_Text (Inherited)
Gtk.GEntry.Insert_Text (Inherited)
Gtk.GEntry.Layout_Index_To_Text_Index (Inherited)
Gtk.GEntry.On_Activate (Inherited)
Gtk.GEntry.On_Activate (Inherited)
Gtk.GEntry.On_Backspace (Inherited)
Gtk.GEntry.On_Backspace (Inherited)
Gtk.GEntry.On_Copy_Clipboard (Inherited)
Gtk.GEntry.On_Copy_Clipboard (Inherited)
Gtk.GEntry.On_Cut_Clipboard (Inherited)
Gtk.GEntry.On_Cut_Clipboard (Inherited)
Gtk.GEntry.On_Delete_From_Cursor (Inherited)
Gtk.GEntry.On_Delete_From_Cursor (Inherited)
Gtk.GEntry.On_Icon_Press (Inherited)
Gtk.GEntry.On_Icon_Press (Inherited)
Gtk.GEntry.On_Icon_Release (Inherited)
Gtk.GEntry.On_Icon_Release (Inherited)
Gtk.GEntry.On_Insert_At_Cursor (Inherited)
Gtk.GEntry.On_Insert_At_Cursor (Inherited)
Gtk.GEntry.On_Move_Cursor (Inherited)
Gtk.GEntry.On_Move_Cursor (Inherited)
Gtk.GEntry.On_Paste_Clipboard (Inherited)
Gtk.GEntry.On_Paste_Clipboard (Inherited)
Gtk.GEntry.On_Populate_Popup (Inherited)
Gtk.GEntry.On_Populate_Popup (Inherited)
Gtk.GEntry.On_Preedit_Changed (Inherited)
Gtk.GEntry.On_Preedit_Changed (Inherited)
Gtk.GEntry.On_Toggle_Overwrite (Inherited)
Gtk.GEntry.On_Toggle_Overwrite (Inherited)
Gtk.GEntry.Paste_Clipboard (Inherited)
Gtk.GEntry.Progress_Pulse (Inherited)
Gtk.GEntry.Remove_Widget (Inherited)
Gtk.GEntry.Reset_Im_Context (Inherited)
Gtk.GEntry.Select_Region (Inherited)
Gtk.GEntry.Set_Activates_Default (Inherited)
Gtk.GEntry.Set_Alignment (Inherited)
Gtk.GEntry.Set_Attributes (Inherited)
Gtk.GEntry.Set_Buffer (Inherited)
Gtk.GEntry.Set_Completion (Inherited)
Gtk.GEntry.Set_Cursor_Hadjustment (Inherited)
Gtk.GEntry.Set_Editable (Inherited)
Gtk.GEntry.Set_Has_Frame (Inherited)
Gtk.GEntry.Set_Icon_Activatable (Inherited)
Gtk.GEntry.Set_Icon_Drag_Source (Inherited)
Gtk.GEntry.Set_Icon_From_Gicon (Inherited)
Gtk.GEntry.Set_Icon_From_Icon_Name (Inherited)
Gtk.GEntry.Set_Icon_From_Pixbuf (Inherited)
Gtk.GEntry.Set_Icon_From_Stock (Inherited)
Gtk.GEntry.Set_Icon_Sensitive (Inherited)
Gtk.GEntry.Set_Icon_Tooltip_Markup (Inherited)
Gtk.GEntry.Set_Icon_Tooltip_Text (Inherited)
Gtk.GEntry.Set_Inner_Border (Inherited)
Gtk.GEntry.Set_Input_Hints (Inherited)
Gtk.GEntry.Set_Input_Purpose (Inherited)
Gtk.GEntry.Set_Invisible_Char (Inherited)
Gtk.GEntry.Set_Max_Length (Inherited)
Gtk.GEntry.Set_Overwrite_Mode (Inherited)
Gtk.GEntry.Set_Placeholder_Text (Inherited)
Gtk.GEntry.Set_Progress_Fraction (Inherited)
Gtk.GEntry.Set_Progress_Pulse_Step (Inherited)
Gtk.GEntry.Set_Text (Inherited)
Gtk.GEntry.Set_Visibility (Inherited)
Gtk.GEntry.Set_Width_Chars (Inherited)
Gtk.GEntry.Start_Editing (Inherited)
Gtk.GEntry.Text_Index_To_Layout_Index (Inherited)
Gtk.GEntry.Unset_Invisible_Char (Inherited)
Gtk.Widget.Activate (Inherited)
Gtk.Widget.Add_Accelerator (Inherited)
Gtk.Widget.Add_Device_Events (Inherited)
Gtk.Widget.Add_Events (Inherited)
Gtk.Widget.Add_Mnemonic_Label (Inherited)
Gtk.Widget.Add_Tick_Callback (Inherited)
Gtk.Widget.Can_Activate_Accel (Inherited)
Gtk.Widget.Child_Focus (Inherited)
Gtk.Widget.Child_Notify (Inherited)
Gtk.Widget.Compute_Expand (Inherited)
Gtk.Widget.Create_Pango_Context (Inherited)
Gtk.Widget.Create_Pango_Layout (Inherited)
Gtk.Widget.Destroy (Inherited)
Gtk.Widget.Destroyed (Inherited)
Gtk.Widget.Device_Is_Shadowed (Inherited)
Gtk.Widget.Drag_Check_Threshold (Inherited)
Gtk.Widget.Drag_Dest_Add_Image_Targets (Inherited)
Gtk.Widget.Drag_Dest_Add_Text_Targets (Inherited)
Gtk.Widget.Drag_Dest_Add_Uri_Targets (Inherited)
Gtk.Widget.Drag_Dest_Get_Track_Motion (Inherited)
Gtk.Widget.Drag_Dest_Set_Proxy (Inherited)
Gtk.Widget.Drag_Dest_Set_Track_Motion (Inherited)
Gtk.Widget.Drag_Dest_Unset (Inherited)
Gtk.Widget.Drag_Get_Data (Inherited)
Gtk.Widget.Drag_Highlight (Inherited)
Gtk.Widget.Drag_Source_Add_Image_Targets (Inherited)
Gtk.Widget.Drag_Source_Add_Uri_Targets (Inherited)
Gtk.Widget.Drag_Source_Set_Icon_Pixbuf (Inherited)
Gtk.Widget.Drag_Source_Unset (Inherited)
Gtk.Widget.Drag_Unhighlight (Inherited)
Gtk.Widget.Draw (Inherited)
Gtk.Widget.Ensure_Style (Inherited)
Gtk.Widget.Error_Bell (Inherited)
Gtk.Widget.Event (Inherited)
Gtk.Widget.Freeze_Child_Notify (Inherited)
Gtk.Widget.Get_Allocated_Height (Inherited)
Gtk.Widget.Get_Allocated_Width (Inherited)
Gtk.Widget.Get_Allocation (Inherited)
Gtk.Widget.Get_Ancestor (Inherited)
Gtk.Widget.Get_App_Paintable (Inherited)
Gtk.Widget.Get_Can_Default (Inherited)
Gtk.Widget.Get_Can_Focus (Inherited)
Gtk.Widget.Get_Child_Requisition (Inherited)
Gtk.Widget.Get_Child_Visible (Inherited)
Gtk.Widget.Get_Composite_Name (Inherited)
Gtk.Widget.Get_Device_Enabled (Inherited)
Gtk.Widget.Get_Device_Events (Inherited)
Gtk.Widget.Get_Direction (Inherited)
Gtk.Widget.Get_Display (Inherited)
Gtk.Widget.Get_Double_Buffered (Inherited)
Gtk.Widget.Get_Events (Inherited)
Gtk.Widget.Get_Frame_Clock (Inherited)
Gtk.Widget.Get_Halign (Inherited)
Gtk.Widget.Get_Has_Tooltip (Inherited)
Gtk.Widget.Get_Has_Window (Inherited)
Gtk.Widget.Get_Hexpand (Inherited)
Gtk.Widget.Get_Hexpand_Set (Inherited)
Gtk.Widget.Get_Mapped (Inherited)
Gtk.Widget.Get_Margin_Bottom (Inherited)
Gtk.Widget.Get_Margin_Left (Inherited)
Gtk.Widget.Get_Margin_Right (Inherited)
Gtk.Widget.Get_Margin_Top (Inherited)
Gtk.Widget.Get_Modifier_Mask (Inherited)
Gtk.Widget.Get_Name (Inherited)
Gtk.Widget.Get_No_Show_All (Inherited)
Gtk.Widget.Get_Opacity (Inherited)
Gtk.Widget.Get_Pango_Context (Inherited)
Gtk.Widget.Get_Parent (Inherited)
Gtk.Widget.Get_Parent_Window (Inherited)
Gtk.Widget.Get_Path (Inherited)
Gtk.Widget.Get_Pointer (Inherited)
Gtk.Widget.Get_Preferred_Height (Inherited)
Gtk.Widget.Get_Preferred_Height_For_Width (Inherited)
Gtk.Widget.Get_Preferred_Size (Inherited)
Gtk.Widget.Get_Preferred_Width (Inherited)
Gtk.Widget.Get_Preferred_Width_For_Height (Inherited)
Gtk.Widget.Get_Realized (Inherited)
Gtk.Widget.Get_Receives_Default (Inherited)
Gtk.Widget.Get_Request_Mode (Inherited)
Gtk.Widget.Get_Requisition (Inherited)
Gtk.Widget.Get_Root_Window (Inherited)
Gtk.Widget.Get_Screen (Inherited)
Gtk.Widget.Get_Sensitive (Inherited)
Gtk.Widget.Get_Size_Request (Inherited)
Gtk.Widget.Get_State (Inherited)
Gtk.Widget.Get_State_Flags (Inherited)
Gtk.Widget.Get_Style (Inherited)
Gtk.Widget.Get_Support_Multidevice (Inherited)
Gtk.Widget.Get_Tooltip_Markup (Inherited)
Gtk.Widget.Get_Tooltip_Text (Inherited)
Gtk.Widget.Get_Tooltip_Window (Inherited)
Gtk.Widget.Get_Toplevel (Inherited)
Gtk.Widget.Get_Valign (Inherited)
Gtk.Widget.Get_Vexpand (Inherited)
Gtk.Widget.Get_Vexpand_Set (Inherited)
Gtk.Widget.Get_Visible (Inherited)
Gtk.Widget.Get_Visual (Inherited)
Gtk.Widget.Get_Window (Inherited)
Gtk.Widget.Grab_Add (Inherited)
Gtk.Widget.Grab_Default (Inherited)
Gtk.Widget.Grab_Focus (Inherited)
Gtk.Widget.Grab_Remove (Inherited)
Gtk.Widget.Has_Default (Inherited)
Gtk.Widget.Has_Focus (Inherited)
Gtk.Widget.Has_Grab (Inherited)
Gtk.Widget.Has_Rc_Style (Inherited)
Gtk.Widget.Has_Screen (Inherited)
Gtk.Widget.Has_Visible_Focus (Inherited)
Gtk.Widget.Hide (Inherited)
Gtk.Widget.Hide_On_Delete (Inherited)
Gtk.Widget.In_Destruction (Inherited)
Gtk.Widget.Input_Shape_Combine_Region (Inherited)
Gtk.Widget.Intersect (Inherited)
Gtk.Widget.Is_Ancestor (Inherited)
Gtk.Widget.Is_Composited (Inherited)
Gtk.Widget.Is_Drawable (Inherited)
Gtk.Widget.Is_Focus (Inherited)
Gtk.Widget.Is_Sensitive (Inherited)
Gtk.Widget.Is_Toplevel (Inherited)
Gtk.Widget.Is_Visible (Inherited)
Gtk.Widget.Keynav_Failed (Inherited)
Gtk.Widget.List_Mnemonic_Labels (Inherited)
Gtk.Widget.Map (Inherited)
Gtk.Widget.Mnemonic_Activate (Inherited)
Gtk.Widget.Modify_Base (Inherited)
Gtk.Widget.Modify_Bg (Inherited)
Gtk.Widget.Modify_Cursor (Inherited)
Gtk.Widget.Modify_Fg (Inherited)
Gtk.Widget.Modify_Font (Inherited)
Gtk.Widget.Modify_Text (Inherited)
Gtk.Widget.On_Accel_Closures_Changed (Inherited)
Gtk.Widget.On_Accel_Closures_Changed (Inherited)
Gtk.Widget.On_Button_Press_Event (Inherited)
Gtk.Widget.On_Button_Press_Event (Inherited)
Gtk.Widget.On_Button_Release_Event (Inherited)
Gtk.Widget.On_Button_Release_Event (Inherited)
Gtk.Widget.On_Can_Activate_Accel (Inherited)
Gtk.Widget.On_Can_Activate_Accel (Inherited)
Gtk.Widget.On_Child_Notify (Inherited)
Gtk.Widget.On_Child_Notify (Inherited)
Gtk.Widget.On_Composited_Changed (Inherited)
Gtk.Widget.On_Composited_Changed (Inherited)
Gtk.Widget.On_Configure_Event (Inherited)
Gtk.Widget.On_Configure_Event (Inherited)
Gtk.Widget.On_Damage_Event (Inherited)
Gtk.Widget.On_Damage_Event (Inherited)
Gtk.Widget.On_Delete_Event (Inherited)
Gtk.Widget.On_Delete_Event (Inherited)
Gtk.Widget.On_Destroy (Inherited)
Gtk.Widget.On_Destroy (Inherited)
Gtk.Widget.On_Destroy_Event (Inherited)
Gtk.Widget.On_Destroy_Event (Inherited)
Gtk.Widget.On_Direction_Changed (Inherited)
Gtk.Widget.On_Direction_Changed (Inherited)
Gtk.Widget.On_Drag_Begin (Inherited)
Gtk.Widget.On_Drag_Begin (Inherited)
Gtk.Widget.On_Drag_Data_Delete (Inherited)
Gtk.Widget.On_Drag_Data_Delete (Inherited)
Gtk.Widget.On_Drag_Data_Get (Inherited)
Gtk.Widget.On_Drag_Data_Get (Inherited)
Gtk.Widget.On_Drag_Data_Received (Inherited)
Gtk.Widget.On_Drag_Data_Received (Inherited)
Gtk.Widget.On_Drag_Drop (Inherited)
Gtk.Widget.On_Drag_Drop (Inherited)
Gtk.Widget.On_Drag_End (Inherited)
Gtk.Widget.On_Drag_End (Inherited)
Gtk.Widget.On_Drag_Failed (Inherited)
Gtk.Widget.On_Drag_Failed (Inherited)
Gtk.Widget.On_Drag_Leave (Inherited)
Gtk.Widget.On_Drag_Leave (Inherited)
Gtk.Widget.On_Drag_Motion (Inherited)
Gtk.Widget.On_Drag_Motion (Inherited)
Gtk.Widget.On_Draw (Inherited)
Gtk.Widget.On_Draw (Inherited)
Gtk.Widget.On_Enter_Notify_Event (Inherited)
Gtk.Widget.On_Enter_Notify_Event (Inherited)
Gtk.Widget.On_Event (Inherited)
Gtk.Widget.On_Event (Inherited)
Gtk.Widget.On_Event_After (Inherited)
Gtk.Widget.On_Event_After (Inherited)
Gtk.Widget.On_Focus (Inherited)
Gtk.Widget.On_Focus (Inherited)
Gtk.Widget.On_Focus_In_Event (Inherited)
Gtk.Widget.On_Focus_In_Event (Inherited)
Gtk.Widget.On_Focus_Out_Event (Inherited)
Gtk.Widget.On_Focus_Out_Event (Inherited)
Gtk.Widget.On_Grab_Broken_Event (Inherited)
Gtk.Widget.On_Grab_Broken_Event (Inherited)
Gtk.Widget.On_Grab_Focus (Inherited)
Gtk.Widget.On_Grab_Focus (Inherited)
Gtk.Widget.On_Grab_Notify (Inherited)
Gtk.Widget.On_Grab_Notify (Inherited)
Gtk.Widget.On_Hide (Inherited)
Gtk.Widget.On_Hide (Inherited)
Gtk.Widget.On_Hierarchy_Changed (Inherited)
Gtk.Widget.On_Hierarchy_Changed (Inherited)
Gtk.Widget.On_Key_Press_Event (Inherited)
Gtk.Widget.On_Key_Press_Event (Inherited)
Gtk.Widget.On_Key_Release_Event (Inherited)
Gtk.Widget.On_Key_Release_Event (Inherited)
Gtk.Widget.On_Keynav_Failed (Inherited)
Gtk.Widget.On_Keynav_Failed (Inherited)
Gtk.Widget.On_Leave_Notify_Event (Inherited)
Gtk.Widget.On_Leave_Notify_Event (Inherited)
Gtk.Widget.On_Map (Inherited)
Gtk.Widget.On_Map (Inherited)
Gtk.Widget.On_Map_Event (Inherited)
Gtk.Widget.On_Map_Event (Inherited)
Gtk.Widget.On_Mnemonic_Activate (Inherited)
Gtk.Widget.On_Mnemonic_Activate (Inherited)
Gtk.Widget.On_Motion_Notify_Event (Inherited)
Gtk.Widget.On_Motion_Notify_Event (Inherited)
Gtk.Widget.On_Move_Focus (Inherited)
Gtk.Widget.On_Move_Focus (Inherited)
Gtk.Widget.On_Parent_Set (Inherited)
Gtk.Widget.On_Parent_Set (Inherited)
Gtk.Widget.On_Popup_Menu (Inherited)
Gtk.Widget.On_Popup_Menu (Inherited)
Gtk.Widget.On_Property_Notify_Event (Inherited)
Gtk.Widget.On_Property_Notify_Event (Inherited)
Gtk.Widget.On_Proximity_In_Event (Inherited)
Gtk.Widget.On_Proximity_In_Event (Inherited)
Gtk.Widget.On_Proximity_Out_Event (Inherited)
Gtk.Widget.On_Proximity_Out_Event (Inherited)
Gtk.Widget.On_Query_Tooltip (Inherited)
Gtk.Widget.On_Query_Tooltip (Inherited)
Gtk.Widget.On_Realize (Inherited)
Gtk.Widget.On_Realize (Inherited)
Gtk.Widget.On_Screen_Changed (Inherited)
Gtk.Widget.On_Screen_Changed (Inherited)
Gtk.Widget.On_Scroll_Event (Inherited)
Gtk.Widget.On_Scroll_Event (Inherited)
Gtk.Widget.On_Selection_Clear_Event (Inherited)
Gtk.Widget.On_Selection_Clear_Event (Inherited)
Gtk.Widget.On_Selection_Get (Inherited)
Gtk.Widget.On_Selection_Get (Inherited)
Gtk.Widget.On_Selection_Notify_Event (Inherited)
Gtk.Widget.On_Selection_Notify_Event (Inherited)
Gtk.Widget.On_Selection_Received (Inherited)
Gtk.Widget.On_Selection_Received (Inherited)
Gtk.Widget.On_Selection_Request_Event (Inherited)
Gtk.Widget.On_Selection_Request_Event (Inherited)
Gtk.Widget.On_Show (Inherited)
Gtk.Widget.On_Show (Inherited)
Gtk.Widget.On_Show_Help (Inherited)
Gtk.Widget.On_Show_Help (Inherited)
Gtk.Widget.On_Size_Allocate (Inherited)
Gtk.Widget.On_Size_Allocate (Inherited)
Gtk.Widget.On_State_Changed (Inherited)
Gtk.Widget.On_State_Changed (Inherited)
Gtk.Widget.On_State_Flags_Changed (Inherited)
Gtk.Widget.On_State_Flags_Changed (Inherited)
Gtk.Widget.On_Style_Set (Inherited)
Gtk.Widget.On_Style_Set (Inherited)
Gtk.Widget.On_Style_Updated (Inherited)
Gtk.Widget.On_Style_Updated (Inherited)
Gtk.Widget.On_Touch_Event (Inherited)
Gtk.Widget.On_Touch_Event (Inherited)
Gtk.Widget.On_Unmap (Inherited)
Gtk.Widget.On_Unmap (Inherited)
Gtk.Widget.On_Unmap_Event (Inherited)
Gtk.Widget.On_Unmap_Event (Inherited)
Gtk.Widget.On_Unrealize (Inherited)
Gtk.Widget.On_Unrealize (Inherited)
Gtk.Widget.On_Visibility_Notify_Event (Inherited)
Gtk.Widget.On_Visibility_Notify_Event (Inherited)
Gtk.Widget.On_Window_State_Event (Inherited)
Gtk.Widget.On_Window_State_Event (Inherited)
Gtk.Widget.Override_Background_Color (Inherited)
Gtk.Widget.Override_Color (Inherited)
Gtk.Widget.Override_Cursor (Inherited)
Gtk.Widget.Override_Font (Inherited)
Gtk.Widget.Override_Symbolic_Color (Inherited)
Gtk.Widget.Queue_Compute_Expand (Inherited)
Gtk.Widget.Queue_Draw (Inherited)
Gtk.Widget.Queue_Draw_Area (Inherited)
Gtk.Widget.Queue_Draw_Region (Inherited)
Gtk.Widget.Queue_Resize (Inherited)
Gtk.Widget.Queue_Resize_No_Redraw (Inherited)
Gtk.Widget.Realize (Inherited)
Gtk.Widget.Region_Intersect (Inherited)
Gtk.Widget.Register_Window (Inherited)
Gtk.Widget.Remove_Accelerator (Inherited)
Gtk.Widget.Remove_Mnemonic_Label (Inherited)
Gtk.Widget.Remove_Tick_Callback (Inherited)
Gtk.Widget.Render_Icon (Inherited)
Gtk.Widget.Render_Icon_Pixbuf (Inherited)
Gtk.Widget.Reparent (Inherited)
Gtk.Widget.Reset_Rc_Styles (Inherited)
Gtk.Widget.Reset_Style (Inherited)
Gtk.Widget.Send_Expose (Inherited)
Gtk.Widget.Send_Focus_Change (Inherited)
Gtk.Widget.Set_Accel_Path (Inherited)
Gtk.Widget.Set_Allocation (Inherited)
Gtk.Widget.Set_App_Paintable (Inherited)
Gtk.Widget.Set_Can_Default (Inherited)
Gtk.Widget.Set_Can_Focus (Inherited)
Gtk.Widget.Set_Child_Visible (Inherited)
Gtk.Widget.Set_Composite_Name (Inherited)
Gtk.Widget.Set_Device_Enabled (Inherited)
Gtk.Widget.Set_Device_Events (Inherited)
Gtk.Widget.Set_Direction (Inherited)
Gtk.Widget.Set_Double_Buffered (Inherited)
Gtk.Widget.Set_Events (Inherited)
Gtk.Widget.Set_Halign (Inherited)
Gtk.Widget.Set_Has_Tooltip (Inherited)
Gtk.Widget.Set_Has_Window (Inherited)
Gtk.Widget.Set_Hexpand (Inherited)
Gtk.Widget.Set_Hexpand_Set (Inherited)
Gtk.Widget.Set_Mapped (Inherited)
Gtk.Widget.Set_Margin_Bottom (Inherited)
Gtk.Widget.Set_Margin_Left (Inherited)
Gtk.Widget.Set_Margin_Right (Inherited)
Gtk.Widget.Set_Margin_Top (Inherited)
Gtk.Widget.Set_Name (Inherited)
Gtk.Widget.Set_No_Show_All (Inherited)
Gtk.Widget.Set_Opacity (Inherited)
Gtk.Widget.Set_Parent (Inherited)
Gtk.Widget.Set_Parent_Window (Inherited)
Gtk.Widget.Set_Realized (Inherited)
Gtk.Widget.Set_Receives_Default (Inherited)
Gtk.Widget.Set_Redraw_On_Allocate (Inherited)
Gtk.Widget.Set_Sensitive (Inherited)
Gtk.Widget.Set_Size_Request (Inherited)
Gtk.Widget.Set_State (Inherited)
Gtk.Widget.Set_State_Flags (Inherited)
Gtk.Widget.Set_Style (Inherited)
Gtk.Widget.Set_Support_Multidevice (Inherited)
Gtk.Widget.Set_Tooltip_Markup (Inherited)
Gtk.Widget.Set_Tooltip_Text (Inherited)
Gtk.Widget.Set_Tooltip_Window (Inherited)
Gtk.Widget.Set_Valign (Inherited)
Gtk.Widget.Set_Vexpand (Inherited)
Gtk.Widget.Set_Vexpand_Set (Inherited)
Gtk.Widget.Set_Visible (Inherited)
Gtk.Widget.Set_Visual (Inherited)
Gtk.Widget.Set_Window (Inherited)
Gtk.Widget.Shape_Combine_Region (Inherited)
Gtk.Widget.Show (Inherited)
Gtk.Widget.Show_All (Inherited)
Gtk.Widget.Show_Now (Inherited)
Gtk.Widget.Size_Allocate (Inherited)
Gtk.Widget.Size_Request (Inherited)
Gtk.Widget.Style_Attach (Inherited)
Gtk.Widget.Style_Get_Property (Inherited)
Gtk.Widget.Thaw_Child_Notify (Inherited)
Gtk.Widget.Translate_Coordinates (Inherited)
Gtk.Widget.Trigger_Tooltip_Query (Inherited)
Gtk.Widget.Unmap (Inherited)
Gtk.Widget.Unparent (Inherited)
Gtk.Widget.Unrealize (Inherited)
Gtk.Widget.Unregister_Window (Inherited)
Gtk.Widget.Unset_State_Flags (Inherited)
On_Change_Value
On_Change_Value
On_Value_Changed
On_Value_Changed
Paste_Clipboard
Remove_Widget
Select_Region
Set_Adjustment
Set_Editable
Set_Increments
Set_Orientation
Set_Snap_To_Ticks
Set_Update_Policy
Start_Editing

Types

Gtk_Spin_Button

type Gtk_Spin_Button is access all Gtk_Spin_Button_Record'Class;

Gtk_Spin_Type

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

Gtk_Spin_Button_Update_Policy

type Gtk_Spin_Button_Update_Policy is (
      Update_Always,
      Update_If_Valid);

Property_Gtk_Spin_Type

type Property_Gtk_Spin_Type is new Gtk_Spin_Type_Properties.Property;

Property_Gtk_Spin_Button_Update_Policy

type Property_Gtk_Spin_Button_Update_Policy is new Gtk_Spin_Button_Update_Policy_Properties.Property;

Cb_Gtk_Spin_Button_Gtk_Scroll_Type_Void

type Cb_Gtk_Spin_Button_Gtk_Scroll_Type_Void is not null access procedure
     (Self   : access Gtk_Spin_Button_Record'Class;
      Object : Gtk.Enums.Gtk_Scroll_Type);

Cb_GObject_Gtk_Scroll_Type_Void

type Cb_GObject_Gtk_Scroll_Type_Void is not null access procedure
     (Self   : access Glib.Object.GObject_Record'Class;
      Object : Gtk.Enums.Gtk_Scroll_Type);

Cb_Gtk_Spin_Button_Gdouble_Gint

type Cb_Gtk_Spin_Button_Gdouble_Gint is not null access function
     (Self      : access Gtk_Spin_Button_Record'Class;
      New_Value : access Gdouble) return Gint;

Cb_GObject_Gdouble_Gint

type Cb_GObject_Gdouble_Gint is not null access function
     (Self      : access Glib.Object.GObject_Record'Class;
      New_Value : access Gdouble) return Gint;

Cb_Gtk_Spin_Button_Boolean

type Cb_Gtk_Spin_Button_Boolean is not null access function
     (Self : access Gtk_Spin_Button_Record'Class) return Boolean;

Cb_GObject_Boolean

type Cb_GObject_Boolean is not null access function
     (Self : access Glib.Object.GObject_Record'Class)
   return Boolean;

Cb_Gtk_Spin_Button_Void

type Cb_Gtk_Spin_Button_Void is not null access procedure
     (Self : access Gtk_Spin_Button_Record'Class);

Cb_GObject_Void

type Cb_GObject_Void is not null access procedure
     (Self : access Glib.Object.GObject_Record'Class);

Constants & Global variables

Climb_Rate_Property (Glib.Properties.Property_Double)

Climb_Rate_Property : constant Glib.Properties.Property_Double;
Type: Gdouble

The_Digits_Property (Glib.Properties.Property_Uint)

The_Digits_Property : constant Glib.Properties.Property_Uint;

Snap_To_Ticks_Property (Glib.Properties.Property_Boolean)

Snap_To_Ticks_Property : constant Glib.Properties.Property_Boolean;

Value_Property (Glib.Properties.Property_Double)

Value_Property : constant Glib.Properties.Property_Double;
Type: Gdouble

Signal_Change_Value (Glib.Signal_Name)

Signal_Change_Value : constant Glib.Signal_Name := "change-value";

Signal_Input (Glib.Signal_Name)

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

Signal_Output (Glib.Signal_Name)

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

Signal_Value_Changed (Glib.Signal_Name)

Signal_Value_Changed : constant Glib.Signal_Name := "value-changed";

Signal_Wrapped (Glib.Signal_Name)

Signal_Wrapped : constant Glib.Signal_Name := "wrapped";

Subprograms & Entries

Gtk_New

procedure Gtk_New 
(Spin_Button: out Gtk_Spin_Button;
Adjustment: access Gtk.Adjustment.Gtk_Adjustment_Record'Class;
Climb_Rate: Gdouble;
The_Digits: Guint := 0);

Initialize

procedure Initialize 
(Spin_Button: not null access Gtk_Spin_Button_Record'Class;
Adjustment: access Gtk.Adjustment.Gtk_Adjustment_Record'Class;
Climb_Rate: Gdouble;
The_Digits: Guint := 0);
Creates a new Gtk.Spin_Button.Gtk_Spin_Button. "adjustment": the Gtk.Adjustment.Gtk_Adjustment object that this spin button should use, or null "climb_rate": specifies how much the spin button changes when an arrow is clicked on "digits": the number of decimal places to display

Gtk_Spin_Button_New

function Gtk_Spin_Button_New 
(Adjustment: access Gtk.Adjustment.Gtk_Adjustment_Record'Class;
Climb_Rate: Gdouble;
The_Digits: Guint := 0) return Gtk_Spin_Button;
Creates a new Gtk.Spin_Button.Gtk_Spin_Button. "adjustment": the Gtk.Adjustment.Gtk_Adjustment object that this spin button should use, or null "climb_rate": specifies how much the spin button changes when an arrow is clicked on "digits": the number of decimal places to display

Gtk_New

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

Initialize

procedure Initialize 
(Spin_Button: not null access Gtk_Spin_Button_Record'Class;
Min: Gdouble;
Max: Gdouble;
Step: Gdouble);
This is a convenience constructor that allows creation of a numeric Gtk.Spin_Button.Gtk_Spin_Button without manually creating an adjustment. The value is initially set to the minimum value and a page increment of 10 * Step is the default. The precision of the spin button is equivalent to the precision of Step. Note that the way in which the precision is derived works best if Step is a power of ten. If the resulting precision is not suitable for your needs, use Gtk.Spin_Button.Set_Digits to correct it. "min": Minimum allowable value "max": Maximum allowable value "step": Increment added or subtracted by spinning the widget

Gtk_Spin_Button_New_With_Range

function Gtk_Spin_Button_New_With_Range 
(Min: Gdouble;
Max: Gdouble;
Step: Gdouble) return Gtk_Spin_Button;
This is a convenience constructor that allows creation of a numeric Gtk.Spin_Button.Gtk_Spin_Button without manually creating an adjustment. The value is initially set to the minimum value and a page increment of 10 * Step is the default. The precision of the spin button is equivalent to the precision of Step. Note that the way in which the precision is derived works best if Step is a power of ten. If the resulting precision is not suitable for your needs, use Gtk.Spin_Button.Set_Digits to correct it. "min": Minimum allowable value "max": Maximum allowable value "step": Increment added or subtracted by spinning the widget

Get_Type

function Get_Type return Glib.GType;

Configure

procedure Configure 
(Spin_Button: not null access Gtk_Spin_Button_Record;
Adjustment: access Gtk.Adjustment.Gtk_Adjustment_Record'Class;
Climb_Rate: Gdouble;
The_Digits: Guint);
Changes the properties of an existing spin button. The adjustment, climb rate, and number of decimal places are all changed accordingly, after this function call. "adjustment": a Gtk.Adjustment.Gtk_Adjustment "climb_rate": the new climb rate "digits": the number of decimal places to display in the spin button

Get_Adjustment

function Get_Adjustment 
(Spin_Button: not null access Gtk_Spin_Button_Record) return Gtk.Adjustment.Gtk_Adjustment;
Get the adjustment associated with a Gtk.Spin_Button.Gtk_Spin_Button

Set_Adjustment

procedure Set_Adjustment 
(Spin_Button: not null access Gtk_Spin_Button_Record;
Adjustment: not null access Gtk.Adjustment.Gtk_Adjustment_Record'Class);
Replaces the Gtk.Adjustment.Gtk_Adjustment associated with Spin_Button. "adjustment": a Gtk.Adjustment.Gtk_Adjustment to replace the existing adjustment

Get_Digits

function Get_Digits 
(Spin_Button: not null access Gtk_Spin_Button_Record) return Guint;
Fetches the precision of Spin_Button. See Gtk.Spin_Button.Set_Digits.

Set_Digits

procedure Set_Digits 
(Spin_Button: not null access Gtk_Spin_Button_Record;
The_Digits: Guint);
Set the precision to be displayed by Spin_Button. Up to 20 digit precision is allowed. "digits": the number of digits after the decimal point to be displayed for the spin button's value

Get_Increments

procedure Get_Increments 
(Spin_Button: not null access Gtk_Spin_Button_Record;
Step: out Gdouble;
Page: out Gdouble);
Gets the current step and page the increments used by Spin_Button. See Gtk.Spin_Button.Set_Increments. "step": location to store step increment, or null "page": location to store page increment, or null

Set_Increments

procedure Set_Increments 
(Spin_Button: not null access Gtk_Spin_Button_Record;
Step: Gdouble;
Page: Gdouble);
Sets the step and page increments for spin_button. This affects how quickly the value changes when the spin button's arrows are activated. "step": increment applied for a button 1 press. "page": increment applied for a button 2 press.

Get_Numeric

function Get_Numeric 
(Spin_Button: not null access Gtk_Spin_Button_Record) return Boolean;
Returns whether non-numeric text can be typed into the spin button. See Gtk.Spin_Button.Set_Numeric.

Set_Numeric

procedure Set_Numeric 
(Spin_Button: not null access Gtk_Spin_Button_Record;
Numeric: Boolean);
Sets the flag that determines if non-numeric text can be typed into the spin button. "numeric": flag indicating if only numeric entry is allowed

Get_Range

procedure Get_Range 
(Spin_Button: not null access Gtk_Spin_Button_Record;
Min: out Gdouble;
Max: out Gdouble);
Gets the range allowed for Spin_Button. See Gtk.Spin_Button.Set_Range. "min": location to store minimum allowed value, or null "max": location to store maximum allowed value, or null

Set_Range

procedure Set_Range 
(Spin_Button: not null access Gtk_Spin_Button_Record;
Min: Gdouble;
Max: Gdouble);
Sets the minimum and maximum allowable values for Spin_Button. If the current value is outside this range, it will be adjusted to fit within the range, otherwise it will remain unchanged. "min": minimum allowable value "max": maximum allowable value

Get_Snap_To_Ticks

function Get_Snap_To_Ticks 
(Spin_Button: not null access Gtk_Spin_Button_Record) return Boolean;
Returns whether the values are corrected to the nearest step. See Gtk.Spin_Button.Set_Snap_To_Ticks.

Set_Snap_To_Ticks

procedure Set_Snap_To_Ticks 
(Spin_Button: not null access Gtk_Spin_Button_Record;
Snap_To_Ticks: Boolean);
Sets the policy as to whether values are corrected to the nearest step increment when a spin button is activated after providing an invalid value. "snap_to_ticks": a flag indicating if invalid values should be corrected

Get_Update_Policy

function Get_Update_Policy 
(Spin_Button: not null access Gtk_Spin_Button_Record) return Gtk_Spin_Button_Update_Policy;
Gets the update behavior of a spin button. See Gtk.Spin_Button.Set_Update_Policy.

Set_Update_Policy

procedure Set_Update_Policy 
(Spin_Button: not null access Gtk_Spin_Button_Record;
Policy: Gtk_Spin_Button_Update_Policy);
Sets the update behavior of a spin button. This determines whether the spin button is always updated or only when a valid value is set. "policy": a Gtk.Spin_Button.Gtk_Spin_Button_Update_Policy value

Get_Value

function Get_Value 
(Spin_Button: not null access Gtk_Spin_Button_Record) return Gdouble;
Get the value in the Spin_Button.

Set_Value

procedure Set_Value 
(Spin_Button: not null access Gtk_Spin_Button_Record;
Value: Gdouble);
Sets the value of Spin_Button. "value": the new value

Get_Value_As_Int

function Get_Value_As_Int 
(Spin_Button: not null access Gtk_Spin_Button_Record) return Gint;
Get the value Spin_Button represented as an integer.

Get_Wrap

function Get_Wrap 
(Spin_Button: not null access Gtk_Spin_Button_Record) return Boolean;
Returns whether the spin button's value wraps around to the opposite limit when the upper or lower limit of the range is exceeded. See Gtk.Spin_Button.Set_Wrap.

Set_Wrap

procedure Set_Wrap 
(Spin_Button: not null access Gtk_Spin_Button_Record;
Wrap: Boolean);
Sets the flag that determines if a spin button value wraps around to the opposite limit when the upper or lower limit of the range is exceeded. "wrap": a flag indicating if wrapping behavior is performed

Spin

procedure Spin 
(Spin_Button: not null access Gtk_Spin_Button_Record;
Direction: Gtk_Spin_Type;
Increment: Gdouble);
Increment or decrement a spin button's value in a specified direction by a specified amount. "direction": a Gtk.Spin_Button.Gtk_Spin_Type indicating the direction to spin "increment": step increment to apply in the specified direction

Update

procedure Update 
(Spin_Button: not null access Gtk_Spin_Button_Record);
Manually force an update of the spin button.

Editing_Done

procedure Editing_Done 
(Cell_Editable: not null access Gtk_Spin_Button_Record);

Remove_Widget

procedure Remove_Widget 
(Cell_Editable: not null access Gtk_Spin_Button_Record);

Start_Editing

procedure Start_Editing 
(Cell_Editable: not null access Gtk_Spin_Button_Record;
Event: Gdk.Event.Gdk_Event);

Copy_Clipboard

procedure Copy_Clipboard 
(Editable: not null access Gtk_Spin_Button_Record);

Cut_Clipboard

procedure Cut_Clipboard 
(Editable: not null access Gtk_Spin_Button_Record);

Delete_Selection

procedure Delete_Selection 
(Editable: not null access Gtk_Spin_Button_Record);

Delete_Text

procedure Delete_Text 
(Editable: not null access Gtk_Spin_Button_Record;
Start_Pos: Gint;
End_Pos: Gint := -1);

Get_Chars

function Get_Chars 
(Editable: not null access Gtk_Spin_Button_Record;
Start_Pos: Gint;
End_Pos: Gint := -1) return UTF8_String;

Get_Editable

function Get_Editable 
(Editable: not null access Gtk_Spin_Button_Record) return Boolean;

Set_Editable

procedure Set_Editable 
(Editable: not null access Gtk_Spin_Button_Record;
Is_Editable: Boolean);

Get_Position

function Get_Position 
(Editable: not null access Gtk_Spin_Button_Record) return Gint;

Set_Position

procedure Set_Position 
(Editable: not null access Gtk_Spin_Button_Record;
Position: Gint);

Get_Selection_Bounds

procedure Get_Selection_Bounds 
(Editable: not null access Gtk_Spin_Button_Record;
Start_Pos: out Gint;
End_Pos: out Gint;
Has_Selection: out Boolean);

Insert_Text

procedure Insert_Text 
(Editable: not null access Gtk_Spin_Button_Record;
New_Text: UTF8_String;
New_Text_Length: Gint;
Position: in out Gint);

Paste_Clipboard

procedure Paste_Clipboard 
(Editable: not null access Gtk_Spin_Button_Record);

Select_Region

procedure Select_Region 
(Editable: not null access Gtk_Spin_Button_Record;
Start_Pos: Gint;
End_Pos: Gint := -1);

Get_Orientation

function Get_Orientation 
(Self: not null access Gtk_Spin_Button_Record) return Gtk.Enums.Gtk_Orientation;

Set_Orientation

procedure Set_Orientation 
(Self: not null access Gtk_Spin_Button_Record;
Orientation: Gtk.Enums.Gtk_Orientation);

On_Change_Value

procedure On_Change_Value 
(Self: not null access Gtk_Spin_Button_Record;
Call: Cb_Gtk_Spin_Button_Gtk_Scroll_Type_Void;
After: Boolean := False);

On_Change_Value

procedure On_Change_Value 
(Self: not null access Gtk_Spin_Button_Record;
Call: Cb_GObject_Gtk_Scroll_Type_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);

On_Input

procedure On_Input 
(Self: not null access Gtk_Spin_Button_Record;
Call: Cb_Gtk_Spin_Button_Gdouble_Gint;
After: Boolean := False);

On_Input

procedure On_Input 
(Self: not null access Gtk_Spin_Button_Record;
Call: Cb_GObject_Gdouble_Gint;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
The ::input signal can be used to influence the conversion of the users input into a double value. The signal handler is expected to use Gtk.GEntry.Get_Text to retrieve the text of the entry and set New_Value to the new value. The default conversion uses g_strtod. Callback parameters: -- "new_value": return location for the new value -- Returns True for a successful conversion, False if the input was not handled, and GTK_INPUT_ERROR if the conversion failed.

On_Output

procedure On_Output 
(Self: not null access Gtk_Spin_Button_Record;
Call: Cb_Gtk_Spin_Button_Boolean;
After: Boolean := False);

On_Output

procedure On_Output 
(Self: not null access Gtk_Spin_Button_Record;
Call: Cb_GObject_Boolean;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
The ::output signal can be used to change to formatting of the value that is displayed in the spin buttons entry. |[ /* show leading zeros */ static gboolean on_output (GtkSpinButton *spin, gpointer data) { GtkAdjustment *adjustment; gchar *text; int value; adjustment = gtk_spin_button_get_adjustment (spin); value = (int)gtk_adjustment_get_value (adjustment); text = g_strdup_printf ("%02d", value); gtk_entry_set_text (GTK_ENTRY (spin), text); g_free (text); return TRUE; } ]| Callback parameters: -- Returns True if the value has been displayed

On_Value_Changed

procedure On_Value_Changed 
(Self: not null access Gtk_Spin_Button_Record;
Call: Cb_Gtk_Spin_Button_Void;
After: Boolean := False);

On_Value_Changed

procedure On_Value_Changed 
(Self: not null access Gtk_Spin_Button_Record;
Call: Cb_GObject_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);

On_Wrapped

procedure On_Wrapped 
(Self: not null access Gtk_Spin_Button_Record;
Call: Cb_Gtk_Spin_Button_Void;
After: Boolean := False);

On_Wrapped

procedure On_Wrapped 
(Self: not null access Gtk_Spin_Button_Record;
Call: Cb_GObject_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
The wrapped signal is emitted right after the spinbutton wraps from its maximum to minimum value or vice-versa.