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 PreferencesGroup = PreferencesGroup (ManagedPtr PreferencesGroup)
- class (GObject o, IsDescendantOf PreferencesGroup o) => IsPreferencesGroup o
- toPreferencesGroup :: (MonadIO m, IsPreferencesGroup o) => o -> m PreferencesGroup
- preferencesGroupGetDescription :: (HasCallStack, MonadIO m, IsPreferencesGroup a) => a -> m Text
- preferencesGroupGetTitle :: (HasCallStack, MonadIO m, IsPreferencesGroup a) => a -> m Text
- preferencesGroupNew :: (HasCallStack, MonadIO m) => m PreferencesGroup
- preferencesGroupSetDescription :: (HasCallStack, MonadIO m, IsPreferencesGroup a) => a -> Text -> m ()
- preferencesGroupSetTitle :: (HasCallStack, MonadIO m, IsPreferencesGroup a) => a -> Text -> m ()
- constructPreferencesGroupDescription :: (IsPreferencesGroup o, MonadIO m) => Text -> m (GValueConstruct o)
- getPreferencesGroupDescription :: (MonadIO m, IsPreferencesGroup o) => o -> m Text
- setPreferencesGroupDescription :: (MonadIO m, IsPreferencesGroup o) => o -> Text -> m ()
- constructPreferencesGroupTitle :: (IsPreferencesGroup o, MonadIO m) => Text -> m (GValueConstruct o)
- getPreferencesGroupTitle :: (MonadIO m, IsPreferencesGroup o) => o -> m Text
- setPreferencesGroupTitle :: (MonadIO m, IsPreferencesGroup o) => o -> Text -> m ()
Exported types
newtype PreferencesGroup Source #
Memory-managed wrapper type.
PreferencesGroup (ManagedPtr PreferencesGroup) |
Instances
class (GObject o, IsDescendantOf PreferencesGroup o) => IsPreferencesGroup o Source #
Type class for types which can be safely cast to PreferencesGroup
, for instance with toPreferencesGroup
.
Instances
(GObject o, IsDescendantOf PreferencesGroup o) => IsPreferencesGroup o Source # | |
Defined in GI.Handy.Objects.PreferencesGroup |
toPreferencesGroup :: (MonadIO m, IsPreferencesGroup o) => o -> m PreferencesGroup Source #
Cast to PreferencesGroup
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Overloaded methods
getDescription
preferencesGroupGetDescription Source #
:: (HasCallStack, MonadIO m, IsPreferencesGroup a) | |
=> a |
|
-> m Text | Returns: the description of |
No description available in the introspection data.
Since: 0.0.10
getTitle
preferencesGroupGetTitle Source #
:: (HasCallStack, MonadIO m, IsPreferencesGroup a) | |
=> a |
|
-> m Text | Returns: the title of |
Gets the title of self
.
Since: 0.0.10
new
:: (HasCallStack, MonadIO m) | |
=> m PreferencesGroup | Returns: a new |
Creates a new PreferencesGroup
.
Since: 0.0.10
setDescription
preferencesGroupSetDescription Source #
:: (HasCallStack, MonadIO m, IsPreferencesGroup a) | |
=> a |
|
-> Text |
|
-> m () |
Sets the description for self
.
Since: 0.0.10
setTitle
preferencesGroupSetTitle Source #
:: (HasCallStack, MonadIO m, IsPreferencesGroup a) | |
=> a |
|
-> Text |
|
-> m () |
Sets the title for self
.
Since: 0.0.10
Properties
description
The description for this group of preferences.
Since: 0.0.10
constructPreferencesGroupDescription :: (IsPreferencesGroup o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “description
” property. This is rarely needed directly, but it is used by new
.
getPreferencesGroupDescription :: (MonadIO m, IsPreferencesGroup o) => o -> m Text Source #
Get the value of the “description
” property.
When overloading is enabled, this is equivalent to
get
preferencesGroup #description
setPreferencesGroupDescription :: (MonadIO m, IsPreferencesGroup o) => o -> Text -> m () Source #
Set the value of the “description
” property.
When overloading is enabled, this is equivalent to
set
preferencesGroup [ #description:=
value ]
title
The title for this group of preferences.
Since: 0.0.10
constructPreferencesGroupTitle :: (IsPreferencesGroup 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
.
getPreferencesGroupTitle :: (MonadIO m, IsPreferencesGroup o) => o -> m Text Source #
Get the value of the “title
” property.
When overloading is enabled, this is equivalent to
get
preferencesGroup #title
setPreferencesGroupTitle :: (MonadIO m, IsPreferencesGroup o) => o -> Text -> m () Source #
Set the value of the “title
” property.
When overloading is enabled, this is equivalent to
set
preferencesGroup [ #title:=
value ]