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 _gType() @property
EnumListModel self()Returns `this`, for use in `with` statements.
EnumListModelGidBuilder builder()Get builder for [adw.enum_list_model.EnumListModel] Returns: New builder object
gobject.types.GType enumType() @propertyGet `enumType` property. Returns: The type of the enum represented by the model.
uint findPosition(int value)Finds the position of a given enum value in self.
gobject.types.GType getEnumType()Gets 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)Set `enumType` property. Params: propval = The type of the enum represented by the model. Returns: Builder instance for fluent chaining
Methods
EnumListModel build()Create object from builder. Returns: New object