Class EnumListModel
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class EnumListModel : Object, IDisposable, ListModel, GTypeProvider, InstanceFactory
- Inheritance
-
EnumListModel
- Implements
- Inherited Members
Constructors
EnumListModel(EnumListModelHandle)
public EnumListModel(EnumListModelHandle handle)
Parameters
handle
EnumListModelHandle
EnumListModel(params ConstructArgument[])
public EnumListModel(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
Methods
FindPosition(int)
public uint FindPosition(int value)
Parameters
value
int
Returns
GetEnumType()
public Type GetEnumType()
Returns
GetGType()
public static Type GetGType()
Returns
GetItem(uint)
[Version("2.44")]
public nint GetItem(uint position)
Parameters
position
uint
Returns
GetItemType()
[Version("2.44")]
public Type GetItemType()
Returns
GetNItems()
[Version("2.44")]
public uint GetNItems()
Returns
GetObject(uint)
[Version("2.44")]
public Object? GetObject(uint position)
Parameters
position
uint
Returns
ItemsChanged(uint, uint, uint)
[Version("2.44")]
public void ItemsChanged(uint position, uint removed, uint added)
Parameters
New(Type)
public static EnumListModel New(Type enumType)
Parameters
enumType
Type