## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Combo_Box

- Goto spec source

# Description

    package Gtk.Combo_Box is

A Gtk_Combo_Box is a widget that allows the user to choose from a list of valid choices. The Gtk_Combo_Box displays the selected choice. When activated, the Gtk_Combo_Box displays a popup which allows the user to make 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 Gtk_Option_Menu, or similar to a Windows-style combo box.

Unlike its predecessors Gtk.Combo.Gtk_Combo and Gtk.Option_Menu.Gtk_Option_Menu, the Gtk_Combo_Box 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 Gtk_Combo_Box implements the 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.

In addition to the model-view API, Gtk_Combo_Box offers a simple API which is suitable for text-only combo boxes, and hides the complexity of managing the data in a model.

Binding from C File version 2.16.6

<see>Gtk.Combo_Box_Entry</see>

### Screenshot

# Packages

### Implements_Cell_Layout (new Glib.Types.Implements)

    package Implements_Cell_Layout is new Glib.Types.Implements
         (Gtk.Cell_Layout.Gtk_Cell_Layout, Gtk_Combo_Box_Record, Gtk_Combo_Box);

### Implements_Cell_Editable (new Glib.Types.Implements)

    package Implements_Cell_Editable is new Glib.Types.Implements
         (Gtk.Cell_Editable.Gtk_Cell_Editable,
          Gtk_Combo_Box_Record, Gtk_Combo_Box);

# Classes

### Gtk_Combo_Box_Record

- Goto declaration in source

    type Gtk_Combo_Box_Record is new Gtk.Bin.Gtk_Bin_Record with null record;

#### Ancestors:

Gtk.Bin.Gtk_Bin_Record
Gtk.Container.Gtk_Container_Record
Gtk.Widget.Gtk_Widget_Record
Glib.Object.GObject_Record

#### Immediate Children:

Gtk.Combo_Box_Entry.Gtk_Combo_Box_Entry_Record

#### Primitive operations:

Append_Text

- To API doc
- To spec

Get_Active

- To API doc
- To spec

Get_Active_Iter

- To API doc
- To spec

Get_Active_Text

- To API doc
- To spec

Get_Add_Tearoffs

- To API doc
- To spec

Get_Button_Sensitivity

- To API doc
- To spec

Get_Column_Span_Column

- To API doc
- To spec

Get_Entry_Text_Column

- To API doc
- To spec

Get_Focus_On_Click

- To API doc
- To spec

Get_Has_Entry

- To API doc
- To spec

Get_Model

- To API doc
- To spec

Get_Row_Separator_Func

- To API doc
- To spec

Get_Row_Span_Column

- To API doc
- To spec

Get_Title

- To API doc
- To spec

Get_Wrap_Width

- 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.Bin.Get_Child

- To API doc
- To spec

(Inherited)
Gtk.Container.Add

- To API doc
- To spec

(Inherited)
Gtk.Container.Check_Resize

- To API doc
- To spec

(Inherited)
Gtk.Container.Child_Get_Property

- To API doc
- To spec

(Inherited)
Gtk.Container.Child_Set_Property

- To API doc
- To spec

(Inherited)
Gtk.Container.Child_Type

- To API doc
- To spec

(Inherited)
Gtk.Container.Forall

- To API doc
- To spec

(Inherited)
Gtk.Container.Foreach

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Border_Width

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Children

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Focus_Chain

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Focus_Child

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Focus_Hadjustment

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Focus_Vadjustment

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Resize_Mode

- To API doc
- To spec

(Inherited)
Gtk.Container.Propagate_Expose

- To API doc
- To spec

(Inherited)
Gtk.Container.Remove

- To API doc
- To spec

(Inherited)
Gtk.Container.Resize_Children

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Border_Width

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Focus_Chain

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Focus_Child

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Focus_Hadjustment

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Focus_Vadjustment

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Reallocate_Redraws

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Resize_Mode

- To API doc
- To spec

(Inherited)
Gtk.Container.Unset_Focus_Chain

- 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)
Insert_Text

- To API doc
- To spec

Popdown

- To API doc
- To spec

Popup

- To API doc
- To spec

Prepend_Text

- To API doc
- To spec

Remove_Text

- To API doc
- To spec

Set_Active

- To API doc
- To spec

Set_Active_Iter

- To API doc
- To spec

Set_Add_Tearoffs

- To API doc
- To spec

Set_Button_Sensitivity

- To API doc
- To spec

Set_Column_Span_Column

- To API doc
- To spec

Set_Entry_Text_Column

- To API doc
- To spec

Set_Focus_On_Click

- To API doc
- To spec

Set_Model

- To API doc
- To spec

Set_Row_Separator_Func

- To API doc
- To spec

Set_Row_Span_Column

- To API doc
- To spec

Set_Title

- To API doc
- To spec

Set_Wrap_Width

- To API doc
- To spec

# Types

### Gtk_Combo_Box

- Goto declaration in source

    type Gtk_Combo_Box is access all Gtk_Combo_Box_Record'Class;

# Constants & Global variables

### Active_Property

- Goto declaration in source

(Glib.Properties.Property_Int)

    Active_Property             : constant Glib.Properties.Property_Int;

### Add_Tearoffs_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Add_Tearoffs_Property       : constant Glib.Properties.Property_Boolean;

### Button_Sensitivity_Property

- Goto declaration in source

(Glib.Properties.Property_Enum)

    Button_Sensitivity_Property : constant Glib.Properties.Property_Enum;

### Column_Span_Column_Property

- Goto declaration in source

(Glib.Properties.Property_Int)

    Column_Span_Column_Property : constant Glib.Properties.Property_Int;

### Focus_On_Click_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Focus_On_Click_Property     : constant Glib.Properties.Property_Boolean;

### Has_Frame_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Has_Frame_Property          : constant Glib.Properties.Property_Boolean;

### Model_Property

- Goto declaration in source

(Glib.Properties.Property_Object)

    Model_Property              : constant Glib.Properties.Property_Object;

### Popup_Shown_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Popup_Shown_Property        : constant Glib.Properties.Property_Boolean;

### Row_Span_Column_Property

- Goto declaration in source

(Glib.Properties.Property_Int)

    Row_Span_Column_Property    : constant Glib.Properties.Property_Int;

### Tearoff_Title_Property

- Goto declaration in source

(Glib.Properties.Property_String)

    Tearoff_Title_Property      : constant Glib.Properties.Property_String;

### Wrap_Width_Property

- Goto declaration in source

(Glib.Properties.Property_Int)

    Wrap_Width_Property         : constant Glib.Properties.Property_Int;

### Appears_As_List_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Appears_As_List_Property : constant Glib.Properties.Property_Boolean;

### Arrow_Size_Property

- Goto declaration in source

(Glib.Properties.Property_Int)

    Arrow_Size_Property      : constant Glib.Properties.Property_Int;

### Shadow_Type_Property

- Goto declaration in source

(Glib.Properties.Property_Enum)

    Shadow_Type_Property     : constant Glib.Properties.Property_Enum;

### Signal_Changed

- Goto declaration in source

(Glib.Signal_Name)

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

# Subprograms & Entries

### Gtk_New

- Goto spec in source

    procedure Gtk_New    (Combo: out Gtk_Combo_Box);

### Initialize

- Goto spec in source

    procedure Initialize (Combo: access Gtk_Combo_Box_Record'Class);

Creates or initializes a new empty combo

### Gtk_New_With_Model

- Goto spec in source

    procedure Gtk_New_With_Model (Combo: out Gtk_Combo_Box;Model: access Gtk.Tree_Model.Gtk_Tree_Model_Record'Class);

### Initialize_With_Model

- Goto spec in source

    procedure Initialize_With_Model (Combo: access Gtk_Combo_Box_Record'Class;Model: access Gtk.Tree_Model.Gtk_Tree_Model_Record'Class);

Creates or initializes a new combo initializes to Model.

### Gtk_New_With_Entry

- Goto spec in source

    procedure Gtk_New_With_Entry (Combo: out Gtk_Combo_Box);

### Initialize_With_Entry

- Goto spec in source

    procedure Initialize_With_Entry (Combo: access Gtk_Combo_Box_Record'Class);

Creates or initializes a new combo with entry

### Gtk_New_With_Model_And_Entry

- Goto spec in source

    procedure Gtk_New_With_Model_And_Entry (Combo: out Gtk_Combo_Box;Model: access Gtk.Tree_Model.Gtk_Tree_Model_Record'Class);

### Initialize_With_Model_And_Entry

- Goto spec in source

    procedure Initialize_With_Model_And_Entry (Combo: access Gtk_Combo_Box_Record'Class;Model: access Gtk.Tree_Model.Gtk_Tree_Model_Record'Class);

Creates or initializes a new combo with entry, initialized with Model

### Get_Type

- Goto spec in source
- Goto body in source

    function Get_Type return Glib.GType;

Returns the internal value used for Gtk_Combo_Box widgets

### Set_Model

- Goto spec in source

    procedure Set_Model (Combo_Box: access Gtk_Combo_Box_Record;Model: Gtk.Tree_Model.Gtk_Tree_Model := null);

### Get_Model

- Goto spec in source

    function Get_Model (Combo_Box: access Gtk_Combo_Box_Record) return 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.

### Set_Active

- Goto spec in source

    procedure Set_Active (Combo_Box: access Gtk_Combo_Box_Record;Index: Gint);

### Get_Active

- Goto spec in source

    function Get_Active (Combo_Box: 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_Model.Get_Indices (Path)[0], where Path is the Gtk_Tree_Path of the active model.

### Set_Active_Iter

- Goto spec in source

    procedure Set_Active_Iter (Combo_Box: access Gtk_Combo_Box_Record;Iter: Gtk.Tree_Model.Gtk_Tree_Iter);

### Get_Active_Iter

- Goto spec in source

    function Get_Active_Iter (Combo_Box: access Gtk_Combo_Box_Record) return Gtk.Tree_Model.Gtk_Tree_Iter;

Sets the current active item to be the one referenced by Iter. Iter must correspond to a path of depth one.

### Set_Wrap_Width

- Goto spec in source

    procedure Set_Wrap_Width (Combo_Box: access Gtk_Combo_Box_Record;Width: Gint);

### Get_Wrap_Width

- Goto spec in source

    function Get_Wrap_Width (Combo_Box: 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. This can be used for instance to display a matrix of color (a color palette to choose from). See also Set_Column_Span_Column

### Set_Add_Tearoffs

- Goto spec in source

    procedure Set_Add_Tearoffs (Combo_Box: access Gtk_Combo_Box_Record;Add_Tearoffs: Boolean);

### Get_Add_Tearoffs

- Goto spec in source

    function Get_Add_Tearoffs (Combo_Box: access Gtk_Combo_Box_Record) return Boolean;

Sets whether the popup menu should have a tearoff menu item. Clicking on this menu will detach the combo into a floating window that the user can put anywhere on the screen.

### Set_Button_Sensitivity

- Goto spec in source

    procedure Set_Button_Sensitivity (Combo_Box: access Gtk_Combo_Box_Record;Sensitivity: Gtk.Enums.Gtk_Sensitivity_Type);

### Get_Button_Sensitivity

- Goto spec in source

    function Get_Button_Sensitivity (Combo_Box: access Gtk_Combo_Box_Record) return Gtk.Enums.Gtk_Sensitivity_Type;

Sets whether the dropdown button of the combo box should be always sensitive (Gtk_Sensitivity_On), never sensitive (Gtk_Sensitivity_Off) or only if there is at least one item to display (Gtk_Sensitivity_Auto).

### Get_Has_Entry

- Goto spec in source

    function Get_Has_Entry (Combo_Box: access Gtk_Combo_Box_Record) return Boolean;

Returns whether the combo box has an entry

### Set_Entry_Text_Column

- Goto spec in source

    procedure Set_Entry_Text_Column (Combo_Box: 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.

### Get_Entry_Text_Column

- Goto spec in source

    function Get_Entry_Text_Column (Combo_Box: 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.

### Set_Column_Span_Column

- Goto spec in source

    procedure Set_Column_Span_Column (Combo_Box: access Gtk_Combo_Box_Record;Column_Span: Gint);

### Get_Column_Span_Column

- Goto spec in source

    function Get_Column_Span_Column (Combo_Box: access Gtk_Combo_Box_Record) return 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. This applies to grid combos, see also Set_Wrap_Width.

### Set_Row_Span_Column

- Goto spec in source

    procedure Set_Row_Span_Column (Combo_Box: access Gtk_Combo_Box_Record;Row_Span: Gint);

### Get_Row_Span_Column

- Goto spec in source

    function Get_Row_Span_Column (Combo_Box: access Gtk_Combo_Box_Record) return 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.

### Set_Focus_On_Click

- Goto spec in source

    procedure Set_Focus_On_Click (Combo: access Gtk_Combo_Box_Record;Focus_On_Click: Boolean);

### Get_Focus_On_Click

- Goto spec in source

    function Get_Focus_On_Click (Combo: access Gtk_Combo_Box_Record) return 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.

### Set_Row_Separator_Func

- Goto spec in source

    procedure Set_Row_Separator_Func (Combo_Box: access Gtk_Combo_Box_Record;Func: Gtk.Tree_View.Gtk_Tree_View_Row_Separator_Func;Data: System.Address;Destroy: Glib.G_Destroy_Notify_Address := null);

### Get_Row_Separator_Func

- Goto spec in source

    function Get_Row_Separator_Func (Combo_Box: access Gtk_Combo_Box_Record) return 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.

### Set_Title

- Goto spec in source

    procedure Set_Title (Combo_Box: access Gtk_Combo_Box_Record;Title: String);

### Get_Title

- Goto spec in source

    function Get_Title (Combo_Box: access Gtk_Combo_Box_Record) return String;

Sets or Gets the menu's title in tearoff mode.

### Gtk_New_Text

- Goto spec in source

    procedure Gtk_New_Text    (Combo: out Gtk_Combo_Box);

### Initialize_Text

- Goto spec in source

    procedure Initialize_Text (Combo: access Gtk_Combo_Box_Record'Class);

Convenience function which constructs a new text combo box, which is Gtk_Combo_Box just displaying strings. If you use this function to create a text combo box, you should only manipulate its data source with the following convenience functions: Append_Text, Insert_Text, Prepend_Text and Remove_Text

### Append_Text

- Goto spec in source

    procedure Append_Text (Combo_Box: access Gtk_Combo_Box_Record;Text: String);

### Prepend_Text

- Goto spec in source

    procedure Prepend_Text (Combo_Box: access Gtk_Combo_Box_Record;Text: String);

### Insert_Text

- Goto spec in source

    procedure Insert_Text (Combo_Box: access Gtk_Combo_Box_Record;Position: Gint;Text: String);

Adds Text to the list of strings stored in Combo_Box. Note that you can only use this function with combo boxes constructed with Gtk_New_Text.

### Remove_Text

- Goto spec in source

    procedure Remove_Text (Combo_Box: access Gtk_Combo_Box_Record;Position: Gint);

Removes the string at Position from Combo_Box. Note that you can only use this function with combo boxes constructed with Gtk_New_Text.

### Get_Active_Text

- Goto spec in source

    function Get_Active_Text (Combo_Box: access Gtk_Combo_Box_Record) return String;

Returns the currently active string in Combo_Box or "" if none is selected. Note that you can only use this function with combo boxes constructed with Gtk_New_Text.

### Popdown

- Goto spec in source

    procedure Popdown (Combo_Box: access Gtk_Combo_Box_Record);

### Popup

- Goto spec in source

    procedure Popup   (Combo_Box: access Gtk_Combo_Box_Record);

Hides or 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.

### +

- Goto spec in source

    function "+" (Box: access Gtk_Combo_Box_Record'Class) return Gtk.Cell_Layout.Gtk_Cell_Layout renames Implements_Cell_Layout.To_Interface;

### -

- Goto spec in source

    function "-" (Layout: Gtk.Cell_Layout.Gtk_Cell_Layout) return Gtk_Combo_Box renames Implements_Cell_Layout.To_Object;

Converts to and from the Gtk_Cell_Layout interface

### +

- Goto spec in source

    function "+" (Box: access Gtk_Combo_Box_Record'Class) return Gtk.Cell_Editable.Gtk_Cell_Editable renames Implements_Cell_Editable.To_Interface;

### -

- Goto spec in source

    function "-" (Editable: Gtk.Cell_Editable.Gtk_Cell_Editable) return Gtk_Combo_Box renames Implements_Cell_Editable.To_Object;

Converts to and from the Gtk_Cell_Editable interface