gi-gtk4-4.0.12: Gtk 4.x bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.EnumListItem

Description

GtkEnumListItem is the type of items in a EnumList.

Since: 4.24

Synopsis

Exported types

class (GObject o, IsDescendantOf EnumListItem o) => IsEnumListItem o Source #

Type class for types which can be safely cast to EnumListItem, for instance with toEnumListItem.

Instances

Instances details
(GObject o, IsDescendantOf EnumListItem o) => IsEnumListItem o Source # 
Instance details

Defined in GI.Gtk.Objects.EnumListItem

toEnumListItem :: (MonadIO m, IsEnumListItem o) => o -> m EnumListItem Source #

Cast to EnumListItem, for types for which this is known to be safe. For general casts, use castTo.

Methods

getName

enumListItemGetName Source #

Arguments

:: (HasCallStack, MonadIO m, IsEnumListItem a) 
=> a 
-> m Text

Returns: the enum value name

Gets the enum value name.

getNick

enumListItemGetNick Source #

Arguments

:: (HasCallStack, MonadIO m, IsEnumListItem a) 
=> a 
-> m Text

Returns: the enum value nick

Gets the enum value nick.

getValue

enumListItemGetValue Source #

Arguments

:: (HasCallStack, MonadIO m, IsEnumListItem a) 
=> a 
-> m Int32

Returns: the enum value

Gets the enum value.

Properties

name

The enum value name.

Since: 4.24

getEnumListItemName :: (MonadIO m, IsEnumListItem o) => o -> m Text Source #

Get the value of the “name” property. When overloading is enabled, this is equivalent to

get enumListItem #name

nick

The enum value nick.

Since: 4.24

getEnumListItemNick :: (MonadIO m, IsEnumListItem o) => o -> m Text Source #

Get the value of the “nick” property. When overloading is enabled, this is equivalent to

get enumListItem #nick

value

The enum value.

Since: 4.24

getEnumListItemValue :: (MonadIO m, IsEnumListItem o) => o -> m Int32 Source #

Get the value of the “value” property. When overloading is enabled, this is equivalent to

get enumListItem #value