EnumListModel

class EnumListModel(pointer: <Error class: unknown class><<Error class: unknown class>>)

A iface@Gio.ListModel representing values of a given enum.

AdwEnumListModel contains objects of type class@EnumListItem.

Constructors

Link copied to clipboard
constructor(enumType: <Error class: unknown class>)

Creates a new AdwEnumListModel for @enum_type.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val adwEnumListModelPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val enumType: <Error class: unknown class>

The type of the enum represented by the model.

Link copied to clipboard
open val gioListModelPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
fun findPosition(value: Int): <Error class: unknown class>

Finds the position of a given enum value in @self.

Link copied to clipboard
fun getEnumType(): <Error class: unknown class>

Gets the type of the enum represented by @self.