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
EnumListModel self()Returns `this`, for use in `with` statements.EnumListModelGidBuilder builder()Get builder for [adw.enumlistmodel.EnumListModel] Returns: New builder objectgobject.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 typeConstructors
this(gobject.types.GType enumType)Creates a new [adw.enumlistmodel.EnumListModel] for enum_type.classEnumListModelGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gio.list_model.ListModelGidBuilderImpl!T
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 chainingFluent builder for [adw.enum_list_model.EnumListModel]
Methods