Class SelectionFilterModel
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class SelectionFilterModel : Object, ListModel, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
SelectionFilterModel
- Implements
- Inherited Members
Constructors
SelectionFilterModel(params ConstructArgument[])
public SelectionFilterModel(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
SelectionFilterModel(SelectionFilterModelHandle)
public SelectionFilterModel(SelectionFilterModelHandle handle)
Parameters
handleSelectionFilterModelHandle
Fields
ItemsChangedSignal
Signal Descriptor for OnItemsChanged.
public static readonly Signal<ListModel, ListModel.ItemsChangedSignalArgs> ItemsChangedSignal
Field Value
ModelPropertyDefinition
public static readonly Property<SelectionModel, SelectionFilterModel> ModelPropertyDefinition
Field Value
NItemsPropertyDefinition
public static readonly Property<uint, SelectionFilterModel> NItemsPropertyDefinition
Field Value
Properties
Model
public SelectionModel Model { get; set; }
Property Value
NItems
public uint NItems { get; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
GetItem(uint)
[Version("2.44")]
public nint GetItem(uint position)
Parameters
positionuint
Returns
GetItemType()
[Version("2.44")]
public Type GetItemType()
Returns
GetModel()
public SelectionModel? GetModel()
Returns
GetNItems()
[Version("2.44")]
public uint GetNItems()
Returns
GetObject(uint)
[Version("2.44")]
public Object? GetObject(uint position)
Parameters
positionuint
Returns
ItemsChanged(uint, uint, uint)
[Version("2.44")]
public void ItemsChanged(uint position, uint removed, uint added)
Parameters
New(SelectionModel?)
public static SelectionFilterModel New(SelectionModel? model)
Parameters
modelSelectionModel
Returns
SetModel(SelectionModel?)
public void SetModel(SelectionModel? model)
Parameters
modelSelectionModel
Events
OnItemsChanged
public event SignalHandler<ListModel, ListModel.ItemsChangedSignalArgs> OnItemsChanged