Adw.EnumListItem

g Adw.EnumListItem Adw.EnumListItem GObject.Object GObject.Object GObject.Object->Adw.EnumListItem

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_name ()

get_nick ()

get_value ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

name

str

r

nick

str

r

value

int

r

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Adw.EnumListItem(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Adw.EnumListItemClass

AdwEnumListItem is the type of items in a [class`EnumListModel`].

get_name()
Returns:

the enum value name

Return type:

str

Gets the enum value name.

get_nick()
Returns:

the enum value nick

Return type:

str

Gets the enum value nick.

get_value()
Returns:

the enum value

Return type:

int

Gets the enum value.

Property Details

Adw.EnumListItem.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE

The enum value name.

Adw.EnumListItem.props.nick
Name:

nick

Type:

str

Default Value:

None

Flags:

READABLE

The enum value nick.

Adw.EnumListItem.props.value
Name:

value

Type:

int

Default Value:

0

Flags:

READABLE

The enum value.