Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype PreferencesRow = PreferencesRow (ManagedPtr PreferencesRow)
- class (GObject o, IsDescendantOf PreferencesRow o) => IsPreferencesRow o
- toPreferencesRow :: (MonadIO m, IsPreferencesRow o) => o -> m PreferencesRow
- preferencesRowGetTitle :: (HasCallStack, MonadIO m, IsPreferencesRow a) => a -> m (Maybe Text)
- preferencesRowGetUseUnderline :: (HasCallStack, MonadIO m, IsPreferencesRow a) => a -> m Bool
- preferencesRowNew :: (HasCallStack, MonadIO m) => m PreferencesRow
- preferencesRowSetTitle :: (HasCallStack, MonadIO m, IsPreferencesRow a) => a -> Maybe Text -> m ()
- preferencesRowSetUseUnderline :: (HasCallStack, MonadIO m, IsPreferencesRow a) => a -> Bool -> m ()
- clearPreferencesRowTitle :: (MonadIO m, IsPreferencesRow o) => o -> m ()
- constructPreferencesRowTitle :: (IsPreferencesRow o, MonadIO m) => Text -> m (GValueConstruct o)
- getPreferencesRowTitle :: (MonadIO m, IsPreferencesRow o) => o -> m (Maybe Text)
- setPreferencesRowTitle :: (MonadIO m, IsPreferencesRow o) => o -> Text -> m ()
- constructPreferencesRowUseUnderline :: (IsPreferencesRow o, MonadIO m) => Bool -> m (GValueConstruct o)
- getPreferencesRowUseUnderline :: (MonadIO m, IsPreferencesRow o) => o -> m Bool
- setPreferencesRowUseUnderline :: (MonadIO m, IsPreferencesRow o) => o -> Bool -> m ()
Exported types
newtype PreferencesRow Source #
Memory-managed wrapper type.
PreferencesRow (ManagedPtr PreferencesRow) |
Instances
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
(GObject o, IsDescendantOf PreferencesRow o) => IsPreferencesRow o Source # | |
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 #
:: (HasCallStack, MonadIO m, IsPreferencesRow a) | |
=> a |
|
-> m (Maybe Text) | Returns: the title of the preference represented
by |
Gets the title of the preference represented by self
.
Since: 0.0.10
getUseUnderline
preferencesRowGetUseUnderline Source #
:: (HasCallStack, MonadIO m, IsPreferencesRow a) | |
=> a |
|
-> m Bool | Returns: |
Gets whether an embedded underline in the text of the title indicates a
mnemonic. See preferencesRowSetUseUnderline
.
Since: 0.0.10
new
:: (HasCallStack, MonadIO m) | |
=> m PreferencesRow | Returns: a new |
Creates a new PreferencesRow
.
Since: 0.0.10
setTitle
preferencesRowSetTitle Source #
:: (HasCallStack, MonadIO m, IsPreferencesRow a) | |
=> a |
|
-> Maybe Text |
|
-> m () |
Sets the title of the preference represented by self
.
Since: 0.0.10
setUseUnderline
preferencesRowSetUseUnderline Source #
:: (HasCallStack, MonadIO m, IsPreferencesRow a) | |
=> a |
|
-> Bool |
|
-> 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 ]