gi-handy-0.0.7: libhandy bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Handy.Objects.PreferencesRow

Description

No description available in the introspection data.

Synopsis

Exported types

newtype PreferencesRow Source #

Memory-managed wrapper type.

Constructors

PreferencesRow (ManagedPtr PreferencesRow) 

Instances

Instances details
Eq PreferencesRow Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesRow

GObject PreferencesRow Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesRow

ManagedPtrNewtype PreferencesRow Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesRow

TypedObject PreferencesRow Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesRow

Methods

glibType :: IO GType

IsGValue PreferencesRow Source #

Convert PreferencesRow to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Handy.Objects.PreferencesRow

Methods

toGValue :: PreferencesRow -> IO GValue

fromGValue :: GValue -> IO PreferencesRow

HasParentTypes PreferencesRow Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesRow

type ParentTypes PreferencesRow Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesRow

type ParentTypes PreferencesRow = '[ListBoxRow, Bin, Container, Widget, Object, ImplementorIface, Actionable, Buildable]

class (GObject o, IsDescendantOf PreferencesRow o) => IsPreferencesRow o Source #

Type class for types which can be safely cast to PreferencesRow, for instance with toPreferencesRow.

Instances

Instances details
(GObject o, IsDescendantOf PreferencesRow o) => IsPreferencesRow o Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesRow

toPreferencesRow :: (MonadIO m, IsPreferencesRow o) => o -> m PreferencesRow Source #

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

Methods

Overloaded methods

getTitle

preferencesRowGetTitle Source #

Arguments

:: (HasCallStack, MonadIO m, IsPreferencesRow a) 
=> a

self: a PreferencesRow

-> m (Maybe Text)

Returns: the title of the preference represented by self, or Nothing.

Gets the title of the preference represented by self.

Since: 0.0.10

getUseUnderline

preferencesRowGetUseUnderline Source #

Arguments

:: (HasCallStack, MonadIO m, IsPreferencesRow a) 
=> a

self: a PreferencesRow

-> m Bool

Returns: True if an embedded underline in the title indicates the mnemonic accelerator keys.

Gets whether an embedded underline in the text of the title indicates a mnemonic. See preferencesRowSetUseUnderline.

Since: 0.0.10

new

preferencesRowNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m PreferencesRow

Returns: a new PreferencesRow

Creates a new PreferencesRow.

Since: 0.0.10

setTitle

preferencesRowSetTitle Source #

Arguments

:: (HasCallStack, MonadIO m, IsPreferencesRow a) 
=> a

self: a PreferencesRow

-> Maybe Text

title: the title, or Nothing.

-> m () 

Sets the title of the preference represented by self.

Since: 0.0.10

setUseUnderline

preferencesRowSetUseUnderline Source #

Arguments

:: (HasCallStack, MonadIO m, IsPreferencesRow a) 
=> a

self: a PreferencesRow

-> Bool

useUnderline: True if underlines in the text indicate mnemonics

-> m () 

If true, an underline in the text of the title indicates the next character should be used for the mnemonic accelerator key.

Since: 0.0.10

Properties

title

The title of the preference represented by this row.

Since: 0.0.10

clearPreferencesRowTitle :: (MonadIO m, IsPreferencesRow o) => o -> m () Source #

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

clear #title

constructPreferencesRowTitle :: (IsPreferencesRow o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “title” property. This is rarely needed directly, but it is used by new.

getPreferencesRowTitle :: (MonadIO m, IsPreferencesRow o) => o -> m (Maybe Text) Source #

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

get preferencesRow #title

setPreferencesRowTitle :: (MonadIO m, IsPreferencesRow o) => o -> Text -> m () Source #

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

set preferencesRow [ #title := value ]

useUnderline

Whether an embedded underline in the text of the title indicates a mnemonic.

Since: 0.0.10

constructPreferencesRowUseUnderline :: (IsPreferencesRow o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “use-underline” property. This is rarely needed directly, but it is used by new.

getPreferencesRowUseUnderline :: (MonadIO m, IsPreferencesRow o) => o -> m Bool Source #

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

get preferencesRow #useUnderline

setPreferencesRowUseUnderline :: (MonadIO m, IsPreferencesRow o) => o -> Bool -> m () Source #

Set the value of the “use-underline” property. When overloading is enabled, this is equivalent to

set preferencesRow [ #useUnderline := value ]