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.PreferencesPage

Description

No description available in the introspection data.

Synopsis

Exported types

newtype PreferencesPage Source #

Memory-managed wrapper type.

Constructors

PreferencesPage (ManagedPtr PreferencesPage) 

Instances

Instances details
Eq PreferencesPage Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesPage

GObject PreferencesPage Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesPage

ManagedPtrNewtype PreferencesPage Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesPage

TypedObject PreferencesPage Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesPage

Methods

glibType :: IO GType

IsGValue PreferencesPage Source #

Convert PreferencesPage to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Handy.Objects.PreferencesPage

Methods

toGValue :: PreferencesPage -> IO GValue

fromGValue :: GValue -> IO PreferencesPage

HasParentTypes PreferencesPage Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesPage

type ParentTypes PreferencesPage Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesPage

type ParentTypes PreferencesPage = '[ScrolledWindow, Bin, Container, Widget, Object, ImplementorIface, Buildable]

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

Instances details
(GObject o, IsDescendantOf PreferencesPage o) => IsPreferencesPage o Source # 
Instance details

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 #

Arguments

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

self: a PreferencesPage

-> m (Maybe Text)

Returns: the icon name for self, or Nothing.

Gets the icon name for self, or Nothing.

Since: 0.0.10

getTitle

preferencesPageGetTitle Source #

Arguments

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

self: a PreferencesPage

-> m (Maybe Text)

Returns: the title of the self, or Nothing.

Gets the title of self, or Nothing.

Since: 0.0.10

new

preferencesPageNew Source #

Arguments

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

Returns: a new PreferencesPage

Creates a new PreferencesPage.

Since: 0.0.10

setIconName

preferencesPageSetIconName Source #

Arguments

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

self: a PreferencesPage

-> Maybe Text

iconName: the icon name, or Nothing

-> m () 

Sets the icon name for self.

Since: 0.0.10

setTitle

preferencesPageSetTitle Source #

Arguments

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

self: a PreferencesPage

-> Maybe Text

title: the title of the page, or Nothing

-> 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 ]