adw-enum-list-model

adw-enum-list-model

Functions

Properties

GType * enum-type Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── AdwEnumListModel

Implemented Interfaces

AdwEnumListModel implements GListModel.

Description

Functions

adw_enum_list_model_new ()

AdwEnumListModel *
adw_enum_list_model_new (GType enum_type);

adw_enum_list_model_get_enum_type ()

GType
adw_enum_list_model_get_enum_type (AdwEnumListModel *self);

adw_enum_list_model_find_position ()

guint
adw_enum_list_model_find_position (AdwEnumListModel *self,
                                   int value);

Types and Values

ADW_TYPE_ENUM_LIST_MODEL

#define ADW_TYPE_ENUM_LIST_MODEL (adw_enum_list_model_get_type())

AdwEnumListModel

typedef struct _AdwEnumListModel AdwEnumListModel;

Property Details

The “enum-type” property

  “enum-type”                GType *

The type of the enum to construct the model from.

Owner: AdwEnumListModel

Flags: Read / Write / Construct Only

Allowed values: int