Table of Contents

Class SelectionFilterModel

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class SelectionFilterModel : Object, IDisposable, ListModel, GTypeProvider, InstanceFactory
Inheritance
SelectionFilterModel
Implements
Inherited Members

Constructors

SelectionFilterModel(params ConstructArgument[])

public SelectionFilterModel(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SelectionFilterModel(SelectionFilterModelHandle)

public SelectionFilterModel(SelectionFilterModelHandle handle)

Parameters

handle SelectionFilterModelHandle

Fields

ModelPropertyDefinition

public static readonly Property<SelectionModel, SelectionFilterModel> ModelPropertyDefinition

Field Value

Property<SelectionModel, SelectionFilterModel>

NItemsPropertyDefinition

public static readonly Property<uint, SelectionFilterModel> NItemsPropertyDefinition

Field Value

Property<uint, SelectionFilterModel>

Properties

Model

public SelectionModel Model { get; set; }

Property Value

SelectionModel

NItems

public uint NItems { get; }

Property Value

uint

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetItem(uint)

[Version("2.44")]
public nint GetItem(uint position)

Parameters

position uint

Returns

nint

GetItemType()

[Version("2.44")]
public Type GetItemType()

Returns

Type

GetModel()

public SelectionModel? GetModel()

Returns

SelectionModel

GetNItems()

[Version("2.44")]
public uint GetNItems()

Returns

uint

GetObject(uint)

[Version("2.44")]
public Object? GetObject(uint position)

Parameters

position uint

Returns

Object

ItemsChanged(uint, uint, uint)

[Version("2.44")]
public void ItemsChanged(uint position, uint removed, uint added)

Parameters

position uint
removed uint
added uint

New(SelectionModel?)

public static SelectionFilterModel New(SelectionModel? model)

Parameters

model SelectionModel

Returns

SelectionFilterModel

SetModel(SelectionModel?)

public void SetModel(SelectionModel? model)

Parameters

model SelectionModel