adw.enum_list_model

Module for [EnumListModel] class

Types 3

A gio.list_model.ListModel representing values of a given enum.

adw.enum_list_model.EnumListModel contains objects of type adw.enum_list_item.EnumListItem.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
EnumListModel self() nothrowReturns `this`, for use in `with` statements.
EnumListModelGidBuilder builder() static nothrowGet builder for [adw.enum_list_model.EnumListModel] Returns: New builder object
gobject.types.GType enumType() @property nothrowGet `enumType` property. Returns: The type of the enum represented by the model.
uint findPosition(int value) nothrowFinds the position of a given enum value in self.
gobject.types.GType getEnumType() nothrowGets the type of the enum represented by self. Returns: the enum type
Constructors
this(void * ptr, Flag!"Take" take)
this(gobject.types.GType enumType)Creates a new [adw.enum_list_model.EnumListModel] for enum_type.

Fluent builder implementation template for adw.enum_list_model.EnumListModel

Methods
T enumType(gobject.types.GType propval) nothrowSet `enumType` property. Params: propval = The type of the enum represented by the model. Returns: Builder instance for fluent chaining
Methods
EnumListModel build() nothrowCreate object from builder. Returns: New object