EnumListModel#
Superclasses: Object
Implemented Interfaces: ListModel
A ListModel
representing values of a given enum.
AdwEnumListModel
contains objects of type EnumListItem
.
Constructors#
- class EnumListModel
- classmethod new(enum_type: GType) EnumListModel #
Creates a new
AdwEnumListModel
forenum_type
.- Parameters:
enum_type – the type of the enum to construct the model from
Methods#
Properties#
- class EnumListModel
- props.enum_type: GType#
The type of the None singleton.