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 PreferencesPage = PreferencesPage (ManagedPtr PreferencesPage)
- class (GObject o, IsDescendantOf PreferencesPage o) => IsPreferencesPage o
- toPreferencesPage :: (MonadIO m, IsPreferencesPage o) => o -> m PreferencesPage
- preferencesPageGetIconName :: (HasCallStack, MonadIO m, IsPreferencesPage a) => a -> m (Maybe Text)
- preferencesPageGetTitle :: (HasCallStack, MonadIO m, IsPreferencesPage a) => a -> m (Maybe Text)
- preferencesPageNew :: (HasCallStack, MonadIO m) => m PreferencesPage
- preferencesPageSetIconName :: (HasCallStack, MonadIO m, IsPreferencesPage a) => a -> Maybe Text -> m ()
- preferencesPageSetTitle :: (HasCallStack, MonadIO m, IsPreferencesPage a) => a -> Maybe Text -> m ()
- clearPreferencesPageIconName :: (MonadIO m, IsPreferencesPage o) => o -> m ()
- constructPreferencesPageIconName :: (IsPreferencesPage o, MonadIO m) => Text -> m (GValueConstruct o)
- getPreferencesPageIconName :: (MonadIO m, IsPreferencesPage o) => o -> m (Maybe Text)
- setPreferencesPageIconName :: (MonadIO m, IsPreferencesPage o) => o -> Text -> m ()
- clearPreferencesPageTitle :: (MonadIO m, IsPreferencesPage o) => o -> m ()
- constructPreferencesPageTitle :: (IsPreferencesPage o, MonadIO m) => Text -> m (GValueConstruct o)
- getPreferencesPageTitle :: (MonadIO m, IsPreferencesPage o) => o -> m (Maybe Text)
- setPreferencesPageTitle :: (MonadIO m, IsPreferencesPage o) => o -> Text -> m ()
Exported types
newtype PreferencesPage Source #
Memory-managed wrapper type.
PreferencesPage (ManagedPtr PreferencesPage) |
Instances
class (GObject o, IsDescendantOf PreferencesPage o) => IsPreferencesPage o Source #
Type class for types which can be safely cast to PreferencesPage
, for instance with toPreferencesPage
.
Instances
(GObject o, IsDescendantOf PreferencesPage o) => IsPreferencesPage o Source # | |
Defined in GI.Handy.Objects.PreferencesPage |
toPreferencesPage :: (MonadIO m, IsPreferencesPage o) => o -> m PreferencesPage Source #
Cast to PreferencesPage
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Overloaded methods
getIconName
preferencesPageGetIconName Source #
:: (HasCallStack, MonadIO m, IsPreferencesPage a) | |
=> a |
|
-> m (Maybe Text) | Returns: the icon name for |
Gets the icon name for self
, or Nothing
.
Since: 0.0.10
getTitle
preferencesPageGetTitle Source #
:: (HasCallStack, MonadIO m, IsPreferencesPage a) | |
=> a |
|
-> m (Maybe Text) | Returns: the title of the |
Gets the title of self
, or Nothing
.
Since: 0.0.10
new
:: (HasCallStack, MonadIO m) | |
=> m PreferencesPage | Returns: a new |
Creates a new PreferencesPage
.
Since: 0.0.10
setIconName
preferencesPageSetIconName Source #
:: (HasCallStack, MonadIO m, IsPreferencesPage a) | |
=> a |
|
-> Maybe Text |
|
-> m () |
Sets the icon name for self
.
Since: 0.0.10
setTitle
preferencesPageSetTitle Source #
:: (HasCallStack, MonadIO m, IsPreferencesPage a) | |
=> a |
|
-> Maybe Text |
|
-> m () |
Sets the title of self
.
Since: 0.0.10
Properties
iconName
The icon name for this page of preferences.
Since: 0.0.10
clearPreferencesPageIconName :: (MonadIO m, IsPreferencesPage o) => o -> m () Source #
Set the value of the “icon-name
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#iconName
constructPreferencesPageIconName :: (IsPreferencesPage o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “icon-name
” property. This is rarely needed directly, but it is used by new
.
getPreferencesPageIconName :: (MonadIO m, IsPreferencesPage o) => o -> m (Maybe Text) Source #
Get the value of the “icon-name
” property.
When overloading is enabled, this is equivalent to
get
preferencesPage #iconName
setPreferencesPageIconName :: (MonadIO m, IsPreferencesPage o) => o -> Text -> m () Source #
Set the value of the “icon-name
” property.
When overloading is enabled, this is equivalent to
set
preferencesPage [ #iconName:=
value ]
title
The title for this page of preferences.
Since: 0.0.10
clearPreferencesPageTitle :: (MonadIO m, IsPreferencesPage o) => o -> m () Source #
Set the value of the “title
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#title
constructPreferencesPageTitle :: (IsPreferencesPage 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
.
getPreferencesPageTitle :: (MonadIO m, IsPreferencesPage o) => o -> m (Maybe Text) Source #
Get the value of the “title
” property.
When overloading is enabled, this is equivalent to
get
preferencesPage #title
setPreferencesPageTitle :: (MonadIO m, IsPreferencesPage o) => o -> Text -> m () Source #
Set the value of the “title
” property.
When overloading is enabled, this is equivalent to
set
preferencesPage [ #title:=
value ]