Table of Contents

Class ComboBoxText

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

Methods

Append(IntPtr, NullableUtf8StringHandle, NonNullableUtf8StringHandle)

Calls native method gtk_combo_box_text_append.

public static extern void Append(IntPtr comboBox, NullableUtf8StringHandle id, NonNullableUtf8StringHandle text)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

id NullableUtf8StringHandle

Transfer ownership: None Nullable: True

text NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

AppendText(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_combo_box_text_append_text.

public static extern void AppendText(IntPtr comboBox, NonNullableUtf8StringHandle text)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

text NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

GetActiveText(IntPtr)

Calls native method gtk_combo_box_text_get_active_text.

public static extern NullableUtf8StringOwnedHandle GetActiveText(IntPtr comboBox)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: True

GetGType()

Calls native function gtk_combo_box_text_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

Insert(IntPtr, int, NullableUtf8StringHandle, NonNullableUtf8StringHandle)

Calls native method gtk_combo_box_text_insert.

public static extern void Insert(IntPtr comboBox, int position, NullableUtf8StringHandle id, NonNullableUtf8StringHandle text)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

position int

Transfer ownership: None Nullable: False

id NullableUtf8StringHandle

Transfer ownership: None Nullable: True

text NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

InsertText(IntPtr, int, NonNullableUtf8StringHandle)

Calls native method gtk_combo_box_text_insert_text.

public static extern void InsertText(IntPtr comboBox, int position, NonNullableUtf8StringHandle text)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

position int

Transfer ownership: None Nullable: False

text NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_combo_box_text_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

NewWithEntry()

Calls native constructor gtk_combo_box_text_new_with_entry.

public static extern IntPtr NewWithEntry()

Returns

IntPtr

Transfer ownership: None Nullable: False

Prepend(IntPtr, NullableUtf8StringHandle, NonNullableUtf8StringHandle)

Calls native method gtk_combo_box_text_prepend.

public static extern void Prepend(IntPtr comboBox, NullableUtf8StringHandle id, NonNullableUtf8StringHandle text)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

id NullableUtf8StringHandle

Transfer ownership: None Nullable: True

text NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

PrependText(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_combo_box_text_prepend_text.

public static extern void PrependText(IntPtr comboBox, NonNullableUtf8StringHandle text)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

text NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Remove(IntPtr, int)

Calls native method gtk_combo_box_text_remove.

public static extern void Remove(IntPtr comboBox, int position)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False

position int

Transfer ownership: None Nullable: False

RemoveAll(IntPtr)

Calls native method gtk_combo_box_text_remove_all.

public static extern void RemoveAll(IntPtr comboBox)

Parameters

comboBox IntPtr

Transfer ownership: None Nullable: False