gi-gtk-3.0.32: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Structs.RadioActionEntry

Description

RadioActionEntry structs are used with gtk_action_group_add_radio_actions() to construct groups of radio actions.

Synopsis

Exported types

newZeroRadioActionEntry :: MonadIO m => m RadioActionEntry Source #

Construct a RadioActionEntry struct initialized to zero.

Methods

Overloaded methods

Properties

accelerator

The accelerator for the action, in the format understood by acceleratorParse.

clearRadioActionEntryAccelerator :: MonadIO m => RadioActionEntry -> m () Source #

Set the value of the “accelerator” field to Nothing. When overloading is enabled, this is equivalent to

clear #accelerator

getRadioActionEntryAccelerator :: MonadIO m => RadioActionEntry -> m (Maybe Text) Source #

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

get radioActionEntry #accelerator

setRadioActionEntryAccelerator :: MonadIO m => RadioActionEntry -> CString -> m () Source #

Set the value of the “accelerator” field. When overloading is enabled, this is equivalent to

set radioActionEntry [ #accelerator := value ]

label

The label for the action. This field should typically be marked for translation, see actionGroupSetTranslationDomain.

clearRadioActionEntryLabel :: MonadIO m => RadioActionEntry -> m () Source #

Set the value of the “label” field to Nothing. When overloading is enabled, this is equivalent to

clear #label

getRadioActionEntryLabel :: MonadIO m => RadioActionEntry -> m (Maybe Text) Source #

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

get radioActionEntry #label

setRadioActionEntryLabel :: MonadIO m => RadioActionEntry -> CString -> m () Source #

Set the value of the “label” field. When overloading is enabled, this is equivalent to

set radioActionEntry [ #label := value ]

name

The name of the action.

clearRadioActionEntryName :: MonadIO m => RadioActionEntry -> m () Source #

Set the value of the “name” field to Nothing. When overloading is enabled, this is equivalent to

clear #name

getRadioActionEntryName :: MonadIO m => RadioActionEntry -> m (Maybe Text) Source #

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

get radioActionEntry #name

setRadioActionEntryName :: MonadIO m => RadioActionEntry -> CString -> m () Source #

Set the value of the “name” field. When overloading is enabled, this is equivalent to

set radioActionEntry [ #name := value ]

stockId

The stock id for the action, or the name of an icon from the icon theme.

clearRadioActionEntryStockId :: MonadIO m => RadioActionEntry -> m () Source #

Set the value of the “stock_id” field to Nothing. When overloading is enabled, this is equivalent to

clear #stockId

getRadioActionEntryStockId :: MonadIO m => RadioActionEntry -> m (Maybe Text) Source #

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

get radioActionEntry #stockId

setRadioActionEntryStockId :: MonadIO m => RadioActionEntry -> CString -> m () Source #

Set the value of the “stock_id” field. When overloading is enabled, this is equivalent to

set radioActionEntry [ #stockId := value ]

tooltip

The tooltip for the action. This field should typically be marked for translation, see actionGroupSetTranslationDomain.

clearRadioActionEntryTooltip :: MonadIO m => RadioActionEntry -> m () Source #

Set the value of the “tooltip” field to Nothing. When overloading is enabled, this is equivalent to

clear #tooltip

getRadioActionEntryTooltip :: MonadIO m => RadioActionEntry -> m (Maybe Text) Source #

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

get radioActionEntry #tooltip

setRadioActionEntryTooltip :: MonadIO m => RadioActionEntry -> CString -> m () Source #

Set the value of the “tooltip” field. When overloading is enabled, this is equivalent to

set radioActionEntry [ #tooltip := value ]

value

The value to set on the radio action. See radioActionGetCurrentValue.

getRadioActionEntryValue :: MonadIO m => RadioActionEntry -> m Int32 Source #

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

get radioActionEntry #value

setRadioActionEntryValue :: MonadIO m => RadioActionEntry -> Int32 -> m () Source #

Set the value of the “value” field. When overloading is enabled, this is equivalent to

set radioActionEntry [ #value := value ]