Table of Contents

Class SelectionModelHelper

Namespace
Gtk
Assembly
Gtk-4.0.dll
public sealed class SelectionModelHelper : Object, IObject, INotifyPropertyChanged, IDisposable, SelectionModel, IHandle, GTypeProvider
Inheritance
SelectionModelHelper
Implements
Inherited Members

Constructors

SelectionModelHelper(IntPtr, bool)

public SelectionModelHelper(IntPtr handle, bool ownedRef)

Parameters

handle IntPtr
ownedRef bool

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetSelection()

public Bitset GetSelection()

Returns

Bitset

GetSelectionInRange(uint, uint)

public Bitset GetSelectionInRange(uint position, uint nItems)

Parameters

position uint
nItems uint

Returns

Bitset

IsSelected(uint)

public bool IsSelected(uint position)

Parameters

position uint

Returns

bool

SelectAll()

public bool SelectAll()

Returns

bool

SelectItem(uint, bool)

public bool SelectItem(uint position, bool unselectRest)

Parameters

position uint
unselectRest bool

Returns

bool

SelectRange(uint, uint, bool)

public bool SelectRange(uint position, uint nItems, bool unselectRest)

Parameters

position uint
nItems uint
unselectRest bool

Returns

bool

SelectionChanged(uint, uint)

public void SelectionChanged(uint position, uint nItems)

Parameters

position uint
nItems uint

SetSelection(Bitset, Bitset)

public bool SetSelection(Bitset selected, Bitset mask)

Parameters

selected Bitset
mask Bitset

Returns

bool

UnselectAll()

public bool UnselectAll()

Returns

bool

UnselectItem(uint)

public bool UnselectItem(uint position)

Parameters

position uint

Returns

bool

UnselectRange(uint, uint)

public bool UnselectRange(uint position, uint nItems)

Parameters

position uint
nItems uint

Returns

bool