Table of Contents

Class SingleSelection

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

Methods

GetAutoselect(IntPtr)

Calls native method gtk_single_selection_get_autoselect.

public static extern bool GetAutoselect(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetCanUnselect(IntPtr)

Calls native method gtk_single_selection_get_can_unselect.

public static extern bool GetCanUnselect(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_single_selection_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetModel(IntPtr)

Calls native method gtk_single_selection_get_model.

public static extern IntPtr GetModel(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetSelected(IntPtr)

Calls native method gtk_single_selection_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_single_selection_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

New(IntPtr)

Calls native constructor gtk_single_selection_new.

public static extern IntPtr New(IntPtr model)

Parameters

model IntPtr

Transfer ownership: Full Nullable: True

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetAutoselect(IntPtr, bool)

Calls native method gtk_single_selection_set_autoselect.

public static extern void SetAutoselect(IntPtr self, bool autoselect)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

autoselect bool

Transfer ownership: None Nullable: False

SetCanUnselect(IntPtr, bool)

Calls native method gtk_single_selection_set_can_unselect.

public static extern void SetCanUnselect(IntPtr self, bool canUnselect)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

canUnselect bool

Transfer ownership: None Nullable: False

SetModel(IntPtr, IntPtr)

Calls native method gtk_single_selection_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

SetSelected(IntPtr, uint)

Calls native method gtk_single_selection_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