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 class@EnumListItem.

Methods
GType _gType() @property
EnumListModel self()Returns `this`, for use in `with` statements.
EnumListModelGidBuilder builder()Get builder for [adw.enumlistmodel.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.enumlistmodel.EnumListModel] for enum_type.
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

Fluent builder for [adw.enum_list_model.EnumListModel]