Index

Package: Combo_Box

Description

package Gtk.Combo_Box is

A GtkComboBox is a widget that allows the user to choose from a list of valid choices. The GtkComboBox displays the selected choice. When activated, the GtkComboBox displays a popup which allows the user to make a new choice. The style in which the selected value is displayed, and the style of the popup is determined by the current theme. It may be similar to a Windows-style combo box.

The GtkComboBox uses the model-view pattern; the list of valid choices is specified in the form of a tree model, and the display of the choices can be adapted to the data in the model by using cell renderers, as you would in a tree view. This is possible since GtkComboBox implements the Gtk.Cell_Layout.Gtk_Cell_Layout interface. The tree model holding the valid choices is not restricted to a flat list, it can be a real tree, and the popup will reflect the tree structure.

To allow the user to enter values not in the model, the 'has-entry' property allows the GtkComboBox to contain a Gtk.GEntry.Gtk_Entry. This entry can be accessed by calling Gtk.Bin.Get_Child on the combo box.

For a simple list of textual choices, the model-view API of GtkComboBox can be a bit overwhelming. In this case, Gtk.Combo_Box_Text.Gtk_Combo_Box_Text offers a simple alternative. Both GtkComboBox and Gtk.Combo_Box_Text.Gtk_Combo_Box_Text can contain an entry.

Packages

Set_Row_Separator_Func_User_Data (generic)

Set_Cell_Data_Func_User_Data (generic)

Implements_Gtk_Buildable (new Glib.Types.Implements)

Implements_Gtk_Cell_Editable (new Glib.Types.Implements)

Implements_Gtk_Cell_Layout (new Glib.Types.Implements)

Classes

Gtk_Combo_Box_Record

type Gtk_Combo_Box_Record is new Gtk_Bin_Record with null record;

Ancestors:

Immediate Children:

Primitive operations:

Add_Attribute
Clear_Attributes
Editing_Done
Get_Active_Id
Get_Active_Iter
Get_Active_Text
Get_Add_Tearoffs
Get_Button_Sensitivity
Get_Column_Span_Column
Get_Entry_Text_Column
Get_Focus_On_Click
Get_Has_Entry
Get_Id_Column
Get_Popup_Fixed_Width
Get_Row_Separator_Func
Get_Row_Span_Column
Get_Wrap_Width
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.Bin.Get_Child (Inherited)
Gtk.Container.Add (Inherited)
Gtk.Container.Check_Resize (Inherited)
Gtk.Container.Child_Get_Property (Inherited)
Gtk.Container.Child_Notify (Inherited)
Gtk.Container.Child_Set_Property (Inherited)
Gtk.Container.Child_Type (Inherited)
Gtk.Container.Forall (Inherited)
Gtk.Container.Foreach (Inherited)
Gtk.Container.Get_Border_Width (Inherited)
Gtk.Container.Get_Children (Inherited)
Gtk.Container.Get_Focus_Child (Inherited)
Gtk.Container.Get_Focus_Hadjustment (Inherited)
Gtk.Container.Get_Focus_Vadjustment (Inherited)
Gtk.Container.Get_Path_For_Child (Inherited)
Gtk.Container.Get_Resize_Mode (Inherited)
Gtk.Container.On_Add (Inherited)
Gtk.Container.On_Add (Inherited)
Gtk.Container.On_Check_Resize (Inherited)
Gtk.Container.On_Check_Resize (Inherited)
Gtk.Container.On_Remove (Inherited)
Gtk.Container.On_Remove (Inherited)
Gtk.Container.On_Set_Focus_Child (Inherited)
Gtk.Container.On_Set_Focus_Child (Inherited)
Gtk.Container.Propagate_Draw (Inherited)
Gtk.Container.Remove (Inherited)
Gtk.Container.Resize_Children (Inherited)
Gtk.Container.Set_Border_Width (Inherited)
Gtk.Container.Set_Focus_Chain (Inherited)
Gtk.Container.Set_Focus_Child (Inherited)
Gtk.Container.Set_Focus_Hadjustment (Inherited)
Gtk.Container.Set_Focus_Vadjustment (Inherited)
Gtk.Container.Set_Reallocate_Redraws (Inherited)
Gtk.Container.Set_Resize_Mode (Inherited)
Gtk.Container.Unset_Focus_Chain (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_Format_Entry_Text
On_Format_Entry_Text
On_Move_Active
On_Move_Active
Remove_Widget
Set_Active_Id
Set_Active_Iter
Set_Add_Tearoffs
Set_Button_Sensitivity
Set_Cell_Data_Func
Set_Column_Span_Column
Set_Entry_Text_Column
Set_Focus_On_Click
Set_Id_Column
Set_Popup_Fixed_Width
Set_Row_Separator_Func
Set_Row_Span_Column
Set_Wrap_Width
Start_Editing

Types

Gtk_Combo_Box

type Gtk_Combo_Box is access all Gtk_Combo_Box_Record'Class;

Gtk_Tree_View_Row_Separator_Func

type Gtk_Tree_View_Row_Separator_Func is access function
     (Model : Gtk.Tree_Model.Gtk_Tree_Model;
      Iter  : Gtk.Tree_Model.Gtk_Tree_Iter) return Boolean;
Function type for determining whether the row pointed to by Iter should be rendered as a separator. A common way to implement this is to have a boolean column in the model, whose values the Gtk.Tree_View.Gtk_Tree_View_Row_Separator_Func returns. "model": the Gtk.Tree_Model.Gtk_Tree_Model "iter": a Gtk.Tree_Model.Gtk_Tree_Iter pointing at a row in Model

Gtk_Cell_Layout_Data_Func

type Gtk_Cell_Layout_Data_Func is access procedure
     (Cell_Layout : Gtk.Cell_Layout.Gtk_Cell_Layout;
      Cell        : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
      Tree_Model  : Gtk.Tree_Model.Gtk_Tree_Model;
      Iter        : Gtk.Tree_Model.Gtk_Tree_Iter);
A function which should set the value of Cell_Layout's cell renderer(s) as appropriate. "cell_layout": a Gtk.Cell_Layout.Gtk_Cell_Layout "cell": the cell renderer whose value is to be set "tree_model": the model "iter": a Gtk.Tree_Model.Gtk_Tree_Iter indicating the row to set the value for

Cb_Gtk_Combo_Box_Void

type Cb_Gtk_Combo_Box_Void is not null access procedure (Self : access Gtk_Combo_Box_Record'Class);

Cb_GObject_Void

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

Cb_Gtk_Combo_Box_UTF8_String_UTF8_String

type Cb_Gtk_Combo_Box_UTF8_String_UTF8_String is not null access function
     (Self : access Gtk_Combo_Box_Record'Class;
      Path : UTF8_String) return UTF8_String;

Cb_GObject_UTF8_String_UTF8_String

type Cb_GObject_UTF8_String_UTF8_String is not null access function
     (Self : access Glib.Object.GObject_Record'Class;
      Path : UTF8_String) return UTF8_String;

Cb_Gtk_Combo_Box_Gtk_Scroll_Type_Void

type Cb_Gtk_Combo_Box_Gtk_Scroll_Type_Void is not null access procedure
     (Self        : access Gtk_Combo_Box_Record'Class;
      Scroll_Type : 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;
      Scroll_Type : Gtk.Enums.Gtk_Scroll_Type);

Cb_Gtk_Combo_Box_Boolean

type Cb_Gtk_Combo_Box_Boolean is not null access function
     (Self : access Gtk_Combo_Box_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;

Constants & Global variables

Active_Property (Glib.Properties.Property_Int)

Active_Property : constant Glib.Properties.Property_Int;
The item which is currently active. If the model is a non-flat treemodel, and the active item is not an immediate child of the root of the tree, this property has the value 'gtk_tree_path_get_indices (path)[0]', where 'path' is the Gtk.Tree_Model.Gtk_Tree_Path of the active item.

Active_Id_Property (Glib.Properties.Property_String)

Active_Id_Property : constant Glib.Properties.Property_String;
The value of the ID column of the active row.

Add_Tearoffs_Property (Glib.Properties.Property_Boolean)

Add_Tearoffs_Property : constant Glib.Properties.Property_Boolean;
The add-tearoffs property controls whether generated menus have tearoff menu items. Note that this only affects menu style combo boxes.

Button_Sensitivity_Property (Gtk.Enums.Property_Gtk_Sensitivity_Type)

Button_Sensitivity_Property : constant Gtk.Enums.Property_Gtk_Sensitivity_Type;
Whether the dropdown button is sensitive when the model is empty.

Cell_Area_Property (Glib.Properties.Property_Object)

Cell_Area_Property : constant Glib.Properties.Property_Object;
Type: Gtk.Cell_Area.Gtk_Cell_Area The Gtk.Cell_Area.Gtk_Cell_Area used to layout cell renderers for this combo box. If no area is specified when creating the combo box with Gtk.Combo_Box.Gtk_New_With_Area a horizontally oriented Gtk.Cell_Area_Box.Gtk_Cell_Area_Box will be used.

Column_Span_Column_Property (Glib.Properties.Property_Int)

Column_Span_Column_Property : constant Glib.Properties.Property_Int;
If this is set to a non-negative value, it must be the index of a column of type G_TYPE_INT in the model. The values of that column are used to determine how many columns a value in the list will span.

Entry_Text_Column_Property (Glib.Properties.Property_Int)

Entry_Text_Column_Property : constant Glib.Properties.Property_Int;
The column in the combo box's model to associate with strings from the entry if the combo was created with Gtk.Combo_Box.Gtk_Combo_Box:has-entry = True.

Focus_On_Click_Property (Glib.Properties.Property_Boolean)

Focus_On_Click_Property : constant Glib.Properties.Property_Boolean;

Has_Entry_Property (Glib.Properties.Property_Boolean)

Has_Entry_Property : constant Glib.Properties.Property_Boolean;
Whether the combo box has an entry.

Has_Frame_Property (Glib.Properties.Property_Boolean)

Has_Frame_Property : constant Glib.Properties.Property_Boolean;
The has-frame property controls whether a frame is drawn around the entry.

Id_Column_Property (Glib.Properties.Property_Int)

Id_Column_Property : constant Glib.Properties.Property_Int;
The column in the combo box's model that provides string IDs for the values in the model, if != -1.

Model_Property (Glib.Properties.Property_Interface)

Model_Property : constant Glib.Properties.Property_Interface;
Type: Gtk.Tree_Model.Gtk_Tree_Model The model from which the combo box takes the values shown in the list.

Popup_Fixed_Width_Property (Glib.Properties.Property_Boolean)

Popup_Fixed_Width_Property : constant Glib.Properties.Property_Boolean;
Whether the popup's width should be a fixed width matching the allocated width of the combo box.

Popup_Shown_Property (Glib.Properties.Property_Boolean)

Popup_Shown_Property : constant Glib.Properties.Property_Boolean;
Whether the combo boxes dropdown is popped up. Note that this property is mainly useful, because it allows you to connect to notify::popup-shown.

Row_Span_Column_Property (Glib.Properties.Property_Int)

Row_Span_Column_Property : constant Glib.Properties.Property_Int;
If this is set to a non-negative value, it must be the index of a column of type G_TYPE_INT in the model. The values of that column are used to determine how many rows a value in the list will span. Therefore, the values in the model column pointed to by this property must be greater than zero and not larger than wrap-width.

Tearoff_Title_Property (Glib.Properties.Property_String)

Tearoff_Title_Property : constant Glib.Properties.Property_String;
A title that may be displayed by the window manager when the popup is torn-off.

Wrap_Width_Property (Glib.Properties.Property_Int)

Wrap_Width_Property : constant Glib.Properties.Property_Int;
If wrap-width is set to a positive value, the list will be displayed in multiple columns, the number of columns is determined by wrap-width.

Signal_Changed (Glib.Signal_Name)

Signal_Changed : constant Glib.Signal_Name := "changed";

Signal_Format_Entry_Text (Glib.Signal_Name)

Signal_Format_Entry_Text : constant Glib.Signal_Name := "format-entry-text";

Signal_Move_Active (Glib.Signal_Name)

Signal_Move_Active : constant Glib.Signal_Name := "move-active";

Signal_Popdown (Glib.Signal_Name)

Signal_Popdown : constant Glib.Signal_Name := "popdown";

Signal_Popup (Glib.Signal_Name)

Signal_Popup : constant Glib.Signal_Name := "popup";

Subprograms & Entries

Gtk_New

procedure Gtk_New 
(Combo_Box: out Gtk_Combo_Box);

Initialize

procedure Initialize 
(Combo_Box: not null access Gtk_Combo_Box_Record'Class);
Creates a new empty Gtk.Combo_Box.Gtk_Combo_Box. Since: gtk+ 2.4

Gtk_Combo_Box_New

function Gtk_Combo_Box_New return Gtk_Combo_Box;
Creates a new empty Gtk.Combo_Box.Gtk_Combo_Box. Since: gtk+ 2.4

Gtk_New_With_Area

procedure Gtk_New_With_Area 
(Combo_Box: out Gtk_Combo_Box;
Area: not null access Gtk.Cell_Area.Gtk_Cell_Area_Record'Class);

Initialize_With_Area

procedure Initialize_With_Area 
(Combo_Box: not null access Gtk_Combo_Box_Record'Class;
Area: not null access Gtk.Cell_Area.Gtk_Cell_Area_Record'Class);
Creates a new empty Gtk.Combo_Box.Gtk_Combo_Box using Area to layout cells. "area": the Gtk.Cell_Area.Gtk_Cell_Area to use to layout cell renderers

Gtk_Combo_Box_New_With_Area

function Gtk_Combo_Box_New_With_Area 
(Area: not null access Gtk.Cell_Area.Gtk_Cell_Area_Record'Class) return Gtk_Combo_Box;
Creates a new empty Gtk.Combo_Box.Gtk_Combo_Box using Area to layout cells. "area": the Gtk.Cell_Area.Gtk_Cell_Area to use to layout cell renderers

Gtk_New_With_Area_And_Entry

procedure Gtk_New_With_Area_And_Entry 
(Combo_Box: out Gtk_Combo_Box;
Area: not null access Gtk.Cell_Area.Gtk_Cell_Area_Record'Class);

Initialize_With_Area_And_Entry

procedure Initialize_With_Area_And_Entry 
(Combo_Box: not null access Gtk_Combo_Box_Record'Class;
Area: not null access Gtk.Cell_Area.Gtk_Cell_Area_Record'Class);
Creates a new empty Gtk.Combo_Box.Gtk_Combo_Box with an entry. The new combo box will use Area to layout cells. "area": the Gtk.Cell_Area.Gtk_Cell_Area to use to layout cell renderers

Gtk_Combo_Box_New_With_Area_And_Entry

function Gtk_Combo_Box_New_With_Area_And_Entry 
(Area: not null access Gtk.Cell_Area.Gtk_Cell_Area_Record'Class) return Gtk_Combo_Box;
Creates a new empty Gtk.Combo_Box.Gtk_Combo_Box with an entry. The new combo box will use Area to layout cells. "area": the Gtk.Cell_Area.Gtk_Cell_Area to use to layout cell renderers

Gtk_New_With_Entry

procedure Gtk_New_With_Entry 
(Combo_Box: out Gtk_Combo_Box);

Initialize_With_Entry

procedure Initialize_With_Entry 
(Combo_Box: not null access Gtk_Combo_Box_Record'Class);
Creates a new empty Gtk.Combo_Box.Gtk_Combo_Box with an entry.

Gtk_Combo_Box_New_With_Entry

function Gtk_Combo_Box_New_With_Entry return Gtk_Combo_Box;
Creates a new empty Gtk.Combo_Box.Gtk_Combo_Box with an entry.

Gtk_New_With_Model

procedure Gtk_New_With_Model 
(Combo_Box: out Gtk_Combo_Box;
Model: Gtk.Tree_Model.Gtk_Tree_Model);

Initialize_With_Model

procedure Initialize_With_Model 
(Combo_Box: not null access Gtk_Combo_Box_Record'Class;
Model: Gtk.Tree_Model.Gtk_Tree_Model);
Creates a new Gtk.Combo_Box.Gtk_Combo_Box with the model initialized to Model. Since: gtk+ 2.4 "model": A Gtk.Tree_Model.Gtk_Tree_Model.

Gtk_Combo_Box_New_With_Model

function Gtk_Combo_Box_New_With_Model 
(Model: Gtk.Tree_Model.Gtk_Tree_Model) return Gtk_Combo_Box;
Creates a new Gtk.Combo_Box.Gtk_Combo_Box with the model initialized to Model. Since: gtk+ 2.4 "model": A Gtk.Tree_Model.Gtk_Tree_Model.

Gtk_New_With_Model_And_Entry

procedure Gtk_New_With_Model_And_Entry 
(Combo_Box: out Gtk_Combo_Box;
Model: Gtk.Tree_Model.Gtk_Tree_Model);

Initialize_With_Model_And_Entry

procedure Initialize_With_Model_And_Entry 
(Combo_Box: not null access Gtk_Combo_Box_Record'Class;
Model: Gtk.Tree_Model.Gtk_Tree_Model);
Creates a new empty Gtk.Combo_Box.Gtk_Combo_Box with an entry and with the model initialized to Model. "model": A Gtk.Tree_Model.Gtk_Tree_Model

Gtk_Combo_Box_New_With_Model_And_Entry

function Gtk_Combo_Box_New_With_Model_And_Entry 
(Model: Gtk.Tree_Model.Gtk_Tree_Model) return Gtk_Combo_Box;
Creates a new empty Gtk.Combo_Box.Gtk_Combo_Box with an entry and with the model initialized to Model. "model": A Gtk.Tree_Model.Gtk_Tree_Model

Get_Type

function Get_Type return Glib.GType;

Get_Active

function Get_Active 
(Combo_Box: not null access Gtk_Combo_Box_Record) return Gint;
Returns the index of the currently active item, or -1 if there's no active item. If the model is a non-flat treemodel, and the active item is not an immediate child of the root of the tree, this function returns 'gtk_tree_path_get_indices (path)[0]', where 'path' is the Gtk.Tree_Model.Gtk_Tree_Path of the active item. Since: gtk+ 2.4

Set_Active

procedure Set_Active 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Index: Gint);
Sets the active item of Combo_Box to be the item at Index. Since: gtk+ 2.4 "index_": An index in the model passed during construction, or -1 to have no active item

Get_Active_Id

function Get_Active_Id 
(Combo_Box: not null access Gtk_Combo_Box_Record) return UTF8_String;
Returns the ID of the active row of Combo_Box. This value is taken from the active row and the column specified by the Gtk.Combo_Box.Gtk_Combo_Box:id-column property of Combo_Box (see Gtk.Combo_Box.Set_Id_Column). The returned value is an interned string which means that you can compare the pointer by value to other interned strings and that you must not free it. If the Gtk.Combo_Box.Gtk_Combo_Box:id-column property of Combo_Box is not set, or if no row is active, or if the active row has a null ID value, then null is returned. Since: gtk+ 3.0

Set_Active_Id

function Set_Active_Id 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Active_Id: UTF8_String := "") return Boolean;
Changes the active row of Combo_Box to the one that has an ID equal to Active_Id, or unsets the active row if Active_Id is null. Rows having a null ID string cannot be made active by this function. If the Gtk.Combo_Box.Gtk_Combo_Box:id-column property of Combo_Box is unset or if no row has the given ID then the function does nothing and returns False. Since: gtk+ 3.0 "active_id": the ID of the row to select, or null

Get_Add_Tearoffs

function Get_Add_Tearoffs 
(Combo_Box: not null access Gtk_Combo_Box_Record) return Boolean;
Gets the current value of the :add-tearoffs property.

Set_Add_Tearoffs

procedure Set_Add_Tearoffs 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Add_Tearoffs: Boolean);
Sets whether the popup menu should have a tearoff menu item. Since: gtk+ 2.6 "add_tearoffs": True to add tearoff menu items

Get_Button_Sensitivity

function Get_Button_Sensitivity 
(Combo_Box: not null access Gtk_Combo_Box_Record) return Gtk.Enums.Gtk_Sensitivity_Type;
Returns whether the combo box sets the dropdown button sensitive or not when there are no items in the model. Since: gtk+ 2.14

Set_Button_Sensitivity

procedure Set_Button_Sensitivity 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Sensitivity: Gtk.Enums.Gtk_Sensitivity_Type);
Sets whether the dropdown button of the combo box should be always sensitive (Gtk.Enums.Sensitivity_On), never sensitive (Gtk.Enums.Sensitivity_Off) or only if there is at least one item to display (Gtk.Enums.Sensitivity_Auto). Since: gtk+ 2.14 "sensitivity": specify the sensitivity of the dropdown button

Get_Column_Span_Column

function Get_Column_Span_Column 
(Combo_Box: not null access Gtk_Combo_Box_Record) return Gint;
Returns the column with column span information for Combo_Box. Since: gtk+ 2.6

Set_Column_Span_Column

procedure Set_Column_Span_Column 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Column_Span: Gint);
Sets the column with column span information for Combo_Box to be Column_Span. The column span column contains integers which indicate how many columns an item should span. Since: gtk+ 2.4 "column_span": A column in the model passed during construction

Get_Entry_Text_Column

function Get_Entry_Text_Column 
(Combo_Box: not null access Gtk_Combo_Box_Record) return Gint;
Returns the column which Combo_Box is using to get the strings from to display in the internal entry. Since: gtk+ 2.24

Set_Entry_Text_Column

procedure Set_Entry_Text_Column 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Text_Column: Gint);
Sets the model column which Combo_Box should use to get strings from to be Text_Column. The column Text_Column in the model of Combo_Box must be of type G_TYPE_STRING. This is only relevant if Combo_Box has been created with Gtk.Combo_Box.Gtk_Combo_Box:has-entry as True. Since: gtk+ 2.24 "text_column": A column in Model to get the strings from for the internal entry

Get_Focus_On_Click

function Get_Focus_On_Click 
(Combo_Box: not null access Gtk_Combo_Box_Record) return Boolean;
Returns whether the combo box grabs focus when it is clicked with the mouse. See Gtk.Combo_Box.Set_Focus_On_Click. Since: gtk+ 2.6

Set_Focus_On_Click

procedure Set_Focus_On_Click 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Focus_On_Click: Boolean);
Sets whether the combo box will grab focus when it is clicked with the mouse. Making mouse clicks not grab focus is useful in places like toolbars where you don't want the keyboard focus removed from the main area of the application. Since: gtk+ 2.6 "focus_on_click": whether the combo box grabs focus when clicked with the mouse

Get_Has_Entry

function Get_Has_Entry 
(Combo_Box: not null access Gtk_Combo_Box_Record) return Boolean;
Returns whether the combo box has an entry. Since: gtk+ 2.24

Get_Id_Column

function Get_Id_Column 
(Combo_Box: not null access Gtk_Combo_Box_Record) return Gint;
Returns the column which Combo_Box is using to get string IDs for values from. Since: gtk+ 3.0

Set_Id_Column

procedure Set_Id_Column 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Id_Column: Gint);
Sets the model column which Combo_Box should use to get string IDs for values from. The column Id_Column in the model of Combo_Box must be of type G_TYPE_STRING. Since: gtk+ 3.0 "id_column": A column in Model to get string IDs for values from

Get_Model

function Get_Model 
(Combo_Box: not null access Gtk_Combo_Box_Record) return Gtk.Tree_Model.Gtk_Tree_Model;
Returns the Gtk.Tree_Model.Gtk_Tree_Model which is acting as data source for Combo_Box. Since: gtk+ 2.4

Set_Model

procedure Set_Model 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Model: Gtk.Tree_Model.Gtk_Tree_Model);
Sets the model used by Combo_Box to be Model. Will unset a previously set model (if applicable). If model is null, then it will unset the model. Note that this function does not clear the cell renderers, you have to call Gtk.Cell_Layout.Clear yourself if you need to set up different cell renderers for the new model. Since: gtk+ 2.4 "model": A Gtk.Tree_Model.Gtk_Tree_Model

Get_Popup_Fixed_Width

function Get_Popup_Fixed_Width 
(Combo_Box: not null access Gtk_Combo_Box_Record) return Boolean;
Gets whether the popup uses a fixed width matching the allocated width of the combo box. Since: gtk+ 3.0

Set_Popup_Fixed_Width

procedure Set_Popup_Fixed_Width 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Fixed: Boolean);
Specifies whether the popup's width should be a fixed width matching the allocated width of the combo box. Since: gtk+ 3.0 "fixed": whether to use a fixed popup width

Get_Row_Separator_Func

procedure Get_Row_Separator_Func 
(Combo_Box: not null access Gtk_Combo_Box_Record);
Returns the current row separator function. Since: gtk+ 2.6

Set_Row_Separator_Func

procedure Set_Row_Separator_Func 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Func: Gtk.Tree_View.Gtk_Tree_View_Row_Separator_Func);
Sets the row separator function, which is used to determine whether a row should be drawn as a separator. If the row separator function is null, no separators are drawn. This is the default value. Since: gtk+ 2.6 "func": a Gtk.Tree_View.Gtk_Tree_View_Row_Separator_Func

Get_Row_Span_Column

function Get_Row_Span_Column 
(Combo_Box: not null access Gtk_Combo_Box_Record) return Gint;
Returns the column with row span information for Combo_Box. Since: gtk+ 2.6

Set_Row_Span_Column

procedure Set_Row_Span_Column 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Row_Span: Gint);
Sets the column with row span information for Combo_Box to be Row_Span. The row span column contains integers which indicate how many rows an item should span. Since: gtk+ 2.4 "row_span": A column in the model passed during construction.

Get_Title

function Get_Title 
(Combo_Box: not null access Gtk_Combo_Box_Record) return UTF8_String;
Gets the current title of the menu in tearoff mode. See Gtk.Combo_Box.Set_Add_Tearoffs. Since: gtk+ 2.10

Set_Title

procedure Set_Title 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Title: UTF8_String);
Sets the menu's title in tearoff mode. Since: gtk+ 2.10 "title": a title for the menu in tearoff mode

Get_Wrap_Width

function Get_Wrap_Width 
(Combo_Box: not null access Gtk_Combo_Box_Record) return Gint;
Returns the wrap width which is used to determine the number of columns for the popup menu. If the wrap width is larger than 1, the combo box is in table mode. Since: gtk+ 2.6

Set_Wrap_Width

procedure Set_Wrap_Width 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Width: Gint);
Sets the wrap width of Combo_Box to be Width. The wrap width is basically the preferred number of columns when you want the popup to be layed out in a table. Since: gtk+ 2.4 "width": Preferred number of columns

Popdown

procedure Popdown 
(Combo_Box: not null access Gtk_Combo_Box_Record);
Hides the menu or dropdown list of Combo_Box. This function is mostly intended for use by accessibility technologies; applications should have little use for it. Since: gtk+ 2.4

Popup

procedure Popup 
(Combo_Box: not null access Gtk_Combo_Box_Record);
Pops up the menu or dropdown list of Combo_Box. This function is mostly intended for use by accessibility technologies; applications should have little use for it. Since: gtk+ 2.4

Set_Active_Iter

procedure Set_Active_Iter 
(Combo_Box: not null access Gtk_Combo_Box_Record;
Iter: Gtk.Tree_Model.Gtk_Tree_Iter);
Sets the current active item to be the one referenced by Iter, or unsets the active item if Iter is null. Since: gtk+ 2.4 "iter": The Gtk.Tree_Model.Gtk_Tree_Iter, or null

Set_Cell_Data_Func

procedure Set_Cell_Data_Func 
(Cell_Layout: not null access Gtk_Combo_Box_Record;
Cell: not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Func: Gtk_Cell_Layout_Data_Func);
Sets the Gtk_Cell_Layout_Data_Func to use for Cell_Layout. This function is used instead of the standard attributes mapping for setting the column value, and should set the value of Cell_Layout's cell renderer(s) as appropriate. Func may be null to remove a previously set function. Since: gtk+ 2.4 "cell": a Gtk.Cell_Renderer.Gtk_Cell_Renderer "func": the Gtk_Cell_Layout_Data_Func to use, or null

Get_Active_Iter

function Get_Active_Iter 
(Combo_Box: not null access Gtk_Combo_Box_Record) return Gtk.Tree_Model.Gtk_Tree_Iter;
Return the currently active iter

Get_Active_Text

function Get_Active_Text 
(Combo_Box: not null access Gtk_Combo_Box_Record) return UTF8_String;
Return the text present in the entry if it has one, or the empty string

Editing_Done

procedure Editing_Done 
(Cell_Editable: not null access Gtk_Combo_Box_Record);

Remove_Widget

procedure Remove_Widget 
(Cell_Editable: not null access Gtk_Combo_Box_Record);

Start_Editing

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

Add_Attribute

procedure Add_Attribute 
(Cell_Layout: not null access Gtk_Combo_Box_Record;
Cell: not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Attribute: UTF8_String;
Column: Gint);

Clear

procedure Clear 
(Cell_Layout: not null access Gtk_Combo_Box_Record);

Clear_Attributes

procedure Clear_Attributes 
(Cell_Layout: not null access Gtk_Combo_Box_Record;
Cell: not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class);

Get_Cells

function Get_Cells 
(Cell_Layout: not null access Gtk_Combo_Box_Record) return Glib.Object.Object_Simple_List.Glist;

Pack_End

procedure Pack_End 
(Cell_Layout: not null access Gtk_Combo_Box_Record;
Cell: not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Expand: Boolean);

Pack_Start

procedure Pack_Start 
(Cell_Layout: not null access Gtk_Combo_Box_Record;
Cell: not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Expand: Boolean);

Reorder

procedure Reorder 
(Cell_Layout: not null access Gtk_Combo_Box_Record;
Cell: not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Position: Gint);

On_Changed

procedure On_Changed 
(Self: not null access Gtk_Combo_Box_Record;
Call: Cb_Gtk_Combo_Box_Void;
After: Boolean := False);

On_Changed

procedure On_Changed 
(Self: not null access Gtk_Combo_Box_Record;
Call: Cb_GObject_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
The changed signal is emitted when the active item is changed. The can be due to the user selecting a different item from the list, or due to a call to Gtk.Combo_Box.Set_Active_Iter. It will also be emitted while typing into the entry of a combo box with an entry.

On_Format_Entry_Text

procedure On_Format_Entry_Text 
(Self: not null access Gtk_Combo_Box_Record;
Call: Cb_Gtk_Combo_Box_UTF8_String_UTF8_String;
After: Boolean := False);

On_Format_Entry_Text

procedure On_Format_Entry_Text 
(Self: not null access Gtk_Combo_Box_Record;
Call: Cb_GObject_UTF8_String_UTF8_String;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
For combo boxes that are created with an entry (See GtkComboBox:has-entry). A signal which allows you to change how the text displayed in a combo box's entry is displayed. Connect a signal handler which returns an allocated string representing Path. That string will then be used to set the text in the combo box's entry. The default signal handler uses the text from the GtkComboBox::entry-text-column model column. Here's an example signal handler which fetches data from the model and displays it in the entry. |[ static gchar* format_entry_text_callback (GtkComboBox *combo, const gchar *path, gpointer user_data) { GtkTreeIter iter; GtkTreeModel model; gdouble value; model = gtk_combo_box_get_model (combo); gtk_tree_model_get_iter_from_string (model, &iter, path); gtk_tree_model_get (model, &iter, THE_DOUBLE_VALUE_COLUMN, &value, -1); return g_strdup_printf ("%g", value); } ]| Callback parameters: -- "path": the GtkTreePath string from the combo box's current model to -- format text for -- Returns a newly allocated string representing Path for the current GtkComboBox model.

On_Move_Active

procedure On_Move_Active 
(Self: not null access Gtk_Combo_Box_Record;
Call: Cb_Gtk_Combo_Box_Gtk_Scroll_Type_Void;
After: Boolean := False);

On_Move_Active

procedure On_Move_Active 
(Self: not null access Gtk_Combo_Box_Record;
Call: Cb_GObject_Gtk_Scroll_Type_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
The ::move-active signal is a <link linkend="keybinding-signals">keybinding signal</link> which gets emitted to move the active selection.

On_Popdown

procedure On_Popdown 
(Self: not null access Gtk_Combo_Box_Record;
Call: Cb_Gtk_Combo_Box_Boolean;
After: Boolean := False);

On_Popdown

procedure On_Popdown 
(Self: not null access Gtk_Combo_Box_Record;
Call: Cb_GObject_Boolean;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
The ::popdown signal is a <link linkend="keybinding-signals">keybinding signal</link> which gets emitted to popdown the combo box list. The default bindings for this signal are Alt+Up and Escape.

On_Popup

procedure On_Popup 
(Self: not null access Gtk_Combo_Box_Record;
Call: Cb_Gtk_Combo_Box_Void;
After: Boolean := False);

On_Popup

procedure On_Popup 
(Self: not null access Gtk_Combo_Box_Record;
Call: Cb_GObject_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
The ::popup signal is a <link linkend="keybinding-signals">keybinding signal</link> which gets emitted to popup the combo box list. The default binding for this signal is Alt+Down.