Table of Contents

Class DropDown

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

Methods

GetEnableSearch(IntPtr)

Calls native method gtk_drop_down_get_enable_search.

public static extern bool GetEnableSearch(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetExpression(IntPtr)

Calls native method gtk_drop_down_get_expression.

public static extern IntPtr GetExpression(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetFactory(IntPtr)

Calls native method gtk_drop_down_get_factory.

public static extern IntPtr GetFactory(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_drop_down_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetHeaderFactory(IntPtr)

Calls native method gtk_drop_down_get_header_factory. Version: 4.12

[Version("4.12")]
public static extern IntPtr GetHeaderFactory(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetListFactory(IntPtr)

Calls native method gtk_drop_down_get_list_factory.

public static extern IntPtr GetListFactory(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetModel(IntPtr)

Calls native method gtk_drop_down_get_model.

public static extern IntPtr GetModel(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetSearchMatchMode(IntPtr)

Calls native method gtk_drop_down_get_search_match_mode. Version: 4.12

[Version("4.12")]
public static extern StringFilterMatchMode GetSearchMatchMode(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

StringFilterMatchMode

Transfer ownership: None Nullable: False

GetSelected(IntPtr)

Calls native method gtk_drop_down_get_selected.

public static extern uint GetSelected(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetSelectedItem(IntPtr)

Calls native method gtk_drop_down_get_selected_item.

public static extern IntPtr GetSelectedItem(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetShowArrow(IntPtr)

Calls native method gtk_drop_down_get_show_arrow. Version: 4.6

[Version("4.6")]
public static extern bool GetShowArrow(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New(IntPtr, IntPtr)

Calls native constructor gtk_drop_down_new.

public static extern IntPtr New(IntPtr model, IntPtr expression)

Parameters

model IntPtr

Transfer ownership: Full Nullable: True

expression IntPtr

Transfer ownership: Full Nullable: True

Returns

IntPtr

Transfer ownership: None Nullable: False

NewFromStrings(Utf8StringArrayNullTerminatedHandle)

Calls native constructor gtk_drop_down_new_from_strings.

public static extern IntPtr NewFromStrings(Utf8StringArrayNullTerminatedHandle strings)

Parameters

strings Utf8StringArrayNullTerminatedHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

SetEnableSearch(IntPtr, bool)

Calls native method gtk_drop_down_set_enable_search.

public static extern void SetEnableSearch(IntPtr self, bool enableSearch)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

enableSearch bool

Transfer ownership: None Nullable: False

SetExpression(IntPtr, IntPtr)

Calls native method gtk_drop_down_set_expression.

public static extern void SetExpression(IntPtr self, IntPtr expression)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

expression IntPtr

Transfer ownership: None Nullable: True

SetFactory(IntPtr, IntPtr)

Calls native method gtk_drop_down_set_factory.

public static extern void SetFactory(IntPtr self, IntPtr factory)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

factory IntPtr

Transfer ownership: None Nullable: True

SetHeaderFactory(IntPtr, IntPtr)

Calls native method gtk_drop_down_set_header_factory. Version: 4.12

[Version("4.12")]
public static extern void SetHeaderFactory(IntPtr self, IntPtr factory)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

factory IntPtr

Transfer ownership: None Nullable: True

SetListFactory(IntPtr, IntPtr)

Calls native method gtk_drop_down_set_list_factory.

public static extern void SetListFactory(IntPtr self, IntPtr factory)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

factory IntPtr

Transfer ownership: None Nullable: True

SetModel(IntPtr, IntPtr)

Calls native method gtk_drop_down_set_model.

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

Parameters

self IntPtr

Transfer ownership: None Nullable: False

model IntPtr

Transfer ownership: None Nullable: True

SetSearchMatchMode(IntPtr, StringFilterMatchMode)

Calls native method gtk_drop_down_set_search_match_mode. Version: 4.12

[Version("4.12")]
public static extern void SetSearchMatchMode(IntPtr self, StringFilterMatchMode searchMatchMode)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

searchMatchMode StringFilterMatchMode

Transfer ownership: None Nullable: False

SetSelected(IntPtr, uint)

Calls native method gtk_drop_down_set_selected.

public static extern void SetSelected(IntPtr self, uint position)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

position uint

Transfer ownership: None Nullable: False

SetShowArrow(IntPtr, bool)

Calls native method gtk_drop_down_set_show_arrow. Version: 4.6

[Version("4.6")]
public static extern void SetShowArrow(IntPtr self, bool showArrow)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

showArrow bool

Transfer ownership: None Nullable: False