Class SelectionFilterModel
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class SelectionFilterModel : Object, IObject, INotifyPropertyChanged, IDisposable, ListModel, IHandle, GTypeProvider
- Inheritance
-
SelectionFilterModel
- Implements
-
- Inherited Members
-
Constructors
SelectionFilterModel(bool, params ConstructArgument[])
protected SelectionFilterModel(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
bool
constructArguments
ConstructArgument[]
SelectionFilterModel(IntPtr, bool)
protected SelectionFilterModel(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
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 IntPtr GetItem(uint position)
Parameters
position
uint
Returns
- IntPtr
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