Table of Contents

Class EnumListModel

Namespace
Adw
Assembly
Adw-1.dll
public sealed class EnumListModel : Object, IObject, INotifyPropertyChanged, IDisposable, ListModel, IHandle, GTypeProvider
Inheritance
EnumListModel
Implements
Inherited Members

Constructors

EnumListModel(bool, params ConstructArgument[])

protected EnumListModel(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

EnumListModel(IntPtr, bool)

protected EnumListModel(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Methods

FindPosition(int)

public uint FindPosition(int value)

Parameters

value int

Returns

uint

GetEnumType()

public Type GetEnumType()

Returns

Type

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

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(Type)

public static EnumListModel New(Type enumType)

Parameters

enumType Type

Returns

EnumListModel