Table of Contents

Class ComboBox

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class ComboBox
Inheritance
ComboBox
Inherited Members

Methods

GetActive(IntPtr)

Calls native method gtk_combo_box_get_active.

public static extern int GetActive(IntPtr comboBox)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetActiveId(IntPtr)

Calls native method gtk_combo_box_get_active_id.

public static extern NullableUtf8StringUnownedHandle GetActiveId(IntPtr comboBox)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetButtonSensitivity(IntPtr)

Calls native method gtk_combo_box_get_button_sensitivity.

public static extern SensitivityType GetButtonSensitivity(IntPtr comboBox)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

Returns

SensitivityType

Transfer ownership: None Nullable: False

GetChild(IntPtr)

Calls native method gtk_combo_box_get_child.

public static extern IntPtr GetChild(IntPtr comboBox)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetEntryTextColumn(IntPtr)

Calls native method gtk_combo_box_get_entry_text_column.

public static extern int GetEntryTextColumn(IntPtr comboBox)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_combo_box_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetHasEntry(IntPtr)

Calls native method gtk_combo_box_get_has_entry.

public static extern bool GetHasEntry(IntPtr comboBox)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetIdColumn(IntPtr)

Calls native method gtk_combo_box_get_id_column.

public static extern int GetIdColumn(IntPtr comboBox)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetModel(IntPtr)

Calls native method gtk_combo_box_get_model.

public static extern IntPtr GetModel(IntPtr comboBox)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetPopupFixedWidth(IntPtr)

Calls native method gtk_combo_box_get_popup_fixed_width.

public static extern bool GetPopupFixedWidth(IntPtr comboBox)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_combo_box_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

NewWithEntry()

Calls native constructor gtk_combo_box_new_with_entry.

public static extern IntPtr NewWithEntry()

Returns

IntPtr

Transfer ownership: None Nullable: False

NewWithModel(IntPtr)

Calls native constructor gtk_combo_box_new_with_model.

public static extern IntPtr NewWithModel(IntPtr model)

Parameters

model IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

NewWithModelAndEntry(IntPtr)

Calls native constructor gtk_combo_box_new_with_model_and_entry.

public static extern IntPtr NewWithModelAndEntry(IntPtr model)

Parameters

model IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

Popdown(IntPtr)

Calls native method gtk_combo_box_popdown.

public static extern void Popdown(IntPtr comboBox)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

Popup(IntPtr)

Calls native method gtk_combo_box_popup.

public static extern void Popup(IntPtr comboBox)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

PopupForDevice(IntPtr, IntPtr)

Calls native method gtk_combo_box_popup_for_device.

public static extern void PopupForDevice(IntPtr comboBox, IntPtr device)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

device IntPtr

Transfer ownership: None Nullable: False

SetActive(IntPtr, int)

Calls native method gtk_combo_box_set_active.

public static extern void SetActive(IntPtr comboBox, int index)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

index int

Transfer ownership: None Nullable: False

SetActiveId(IntPtr, NullableUtf8StringHandle)

Calls native method gtk_combo_box_set_active_id.

public static extern bool SetActiveId(IntPtr comboBox, NullableUtf8StringHandle activeId)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

activeId NullableUtf8StringHandle

Transfer ownership: None Nullable: True

Returns

bool

Transfer ownership: None Nullable: False

SetActiveIter(IntPtr, TreeIterHandle)

Calls native method gtk_combo_box_set_active_iter.

public static extern void SetActiveIter(IntPtr comboBox, TreeIterHandle iter)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

iter TreeIterHandle

Transfer ownership: None Nullable: True

SetButtonSensitivity(IntPtr, SensitivityType)

Calls native method gtk_combo_box_set_button_sensitivity.

public static extern void SetButtonSensitivity(IntPtr comboBox, SensitivityType sensitivity)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

sensitivity SensitivityType

Transfer ownership: None Nullable: False

SetChild(IntPtr, IntPtr)

Calls native method gtk_combo_box_set_child.

public static extern void SetChild(IntPtr comboBox, IntPtr child)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: True

SetEntryTextColumn(IntPtr, int)

Calls native method gtk_combo_box_set_entry_text_column.

public static extern void SetEntryTextColumn(IntPtr comboBox, int textColumn)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

textColumn int

Transfer ownership: None Nullable: False

SetIdColumn(IntPtr, int)

Calls native method gtk_combo_box_set_id_column.

public static extern void SetIdColumn(IntPtr comboBox, int idColumn)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

idColumn int

Transfer ownership: None Nullable: False

SetModel(IntPtr, IntPtr)

Calls native method gtk_combo_box_set_model.

public static extern void SetModel(IntPtr comboBox, IntPtr model)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

model IntPtr

Transfer ownership: None Nullable: True

SetPopupFixedWidth(IntPtr, bool)

Calls native method gtk_combo_box_set_popup_fixed_width.

public static extern void SetPopupFixedWidth(IntPtr comboBox, bool @fixed)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

fixed bool

SetRowSeparatorFunc(IntPtr, TreeViewRowSeparatorFunc, IntPtr, DestroyNotify)

Calls native method gtk_combo_box_set_row_separator_func.

public static extern void SetRowSeparatorFunc(IntPtr comboBox, TreeViewRowSeparatorFunc func, IntPtr data, DestroyNotify destroy)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

func TreeViewRowSeparatorFunc

Transfer ownership: None Nullable: True

data IntPtr

Transfer ownership: None Nullable: True

destroy DestroyNotify

Transfer ownership: None Nullable: True