gi-gtk-4.0.4: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Objects.StackPage

Description

No description available in the introspection data.

Synopsis

Exported types

newtype StackPage Source #

Memory-managed wrapper type.

Constructors

StackPage (ManagedPtr StackPage) 

Instances

Instances details
Eq StackPage Source # 
Instance details

Defined in GI.Gtk.Objects.StackPage

GObject StackPage Source # 
Instance details

Defined in GI.Gtk.Objects.StackPage

ManagedPtrNewtype StackPage Source # 
Instance details

Defined in GI.Gtk.Objects.StackPage

Methods

toManagedPtr :: StackPage -> ManagedPtr StackPage

TypedObject StackPage Source # 
Instance details

Defined in GI.Gtk.Objects.StackPage

Methods

glibType :: IO GType

HasParentTypes StackPage Source # 
Instance details

Defined in GI.Gtk.Objects.StackPage

IsGValue (Maybe StackPage) Source #

Convert StackPage to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.StackPage

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe StackPage -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe StackPage)

type ParentTypes StackPage Source # 
Instance details

Defined in GI.Gtk.Objects.StackPage

type ParentTypes StackPage = '[Object, Accessible]

class (GObject o, IsDescendantOf StackPage o) => IsStackPage o Source #

Type class for types which can be safely cast to StackPage, for instance with toStackPage.

Instances

Instances details
(GObject o, IsDescendantOf StackPage o) => IsStackPage o Source # 
Instance details

Defined in GI.Gtk.Objects.StackPage

toStackPage :: (MonadIO m, IsStackPage o) => o -> m StackPage Source #

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

Methods

getChild

stackPageGetChild Source #

Arguments

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

self: a StackPage

-> m Widget

Returns: the child to which self belongs

Returns the stack child to which self belongs.

getIconName

stackPageGetIconName Source #

Arguments

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

self: a StackPage

-> m (Maybe Text)

Returns: The value of the StackPage:icon-name property. See stackPageSetIconName for details on how to set a new value.

Returns the current value of the StackPage:icon-name property.

getName

stackPageGetName Source #

Arguments

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

self: a StackPage

-> m (Maybe Text)

Returns: The value of the StackPage:name property. See stackPageSetName for details on how to set a new value.

Returns the current value of the StackPage:name property.

getNeedsAttention

stackPageGetNeedsAttention Source #

Arguments

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

self: a StackPage

-> m Bool

Returns: The value of the StackPage:needs-attention property. See stackPageSetNeedsAttention for details on how to set a new value.

Returns the current value of the StackPage:needs-attention property.

getTitle

stackPageGetTitle Source #

Arguments

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

self: a StackPage

-> m (Maybe Text)

Returns: The value of the StackPage:title property. See stackPageSetTitle for details on how to set a new value.

Returns the current value of the StackPage:title property.

getUseUnderline

stackPageGetUseUnderline Source #

Arguments

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

self: a StackPage

-> m Bool

Returns: The value of the StackPage:use-underline property. See stackPageSetUseUnderline for details on how to set a new value.

Returns the current value of the StackPage:use-underline property.

getVisible

stackPageGetVisible Source #

Arguments

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

self: a StackPage

-> m Bool

Returns: True if page is visible

Returns whether page is visible in its Stack. This is independent from the Widget:visible value of its Widget.

setIconName

stackPageSetIconName Source #

Arguments

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

self: a StackPage

-> Text

setting: the new value to set

-> m () 

Sets the new value of the StackPage:icon-name property. See also stackPageGetIconName

setName

stackPageSetName Source #

Arguments

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

self: a StackPage

-> Text

setting: the new value to set

-> m () 

Sets the new value of the StackPage:name property. See also stackPageGetName

setNeedsAttention

stackPageSetNeedsAttention Source #

Arguments

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

self: a StackPage

-> Bool

setting: the new value to set

-> m () 

Sets the new value of the StackPage:needs-attention property. See also stackPageGetNeedsAttention

setTitle

stackPageSetTitle Source #

Arguments

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

self: a StackPage

-> Text

setting: the new value to set

-> m () 

Sets the new value of the StackPage:title property. See also stackPageGetTitle

setUseUnderline

stackPageSetUseUnderline Source #

Arguments

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

self: a StackPage

-> Bool

setting: the new value to set

-> m () 

Sets the new value of the StackPage:use-underline property. See also stackPageGetUseUnderline

setVisible

stackPageSetVisible Source #

Arguments

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

self: a StackPage

-> Bool

visible: The new property value

-> m () 

Sets the new value of the StackPage:visible property to visible.

Properties

child

No description available in the introspection data.

constructStackPageChild :: (IsStackPage o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o) Source #

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

getStackPageChild :: (MonadIO m, IsStackPage o) => o -> m Widget Source #

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

get stackPage #child

iconName

No description available in the introspection data.

constructStackPageIconName :: (IsStackPage 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.

getStackPageIconName :: (MonadIO m, IsStackPage o) => o -> m (Maybe Text) Source #

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

get stackPage #iconName

setStackPageIconName :: (MonadIO m, IsStackPage o) => o -> Text -> m () Source #

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

set stackPage [ #iconName := value ]

name

No description available in the introspection data.

constructStackPageName :: (IsStackPage o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getStackPageName :: (MonadIO m, IsStackPage o) => o -> m (Maybe Text) Source #

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

get stackPage #name

needsAttention

Sets a flag specifying whether the page requires the user attention. This is used by the StackSwitcher to change the appearance of the corresponding button when a page needs attention and it is not the current one.

constructStackPageNeedsAttention :: (IsStackPage o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getStackPageNeedsAttention :: (MonadIO m, IsStackPage o) => o -> m Bool Source #

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

get stackPage #needsAttention

setStackPageNeedsAttention :: (MonadIO m, IsStackPage o) => o -> Bool -> m () Source #

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

set stackPage [ #needsAttention := value ]

title

No description available in the introspection data.

constructStackPageTitle :: (IsStackPage 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.

getStackPageTitle :: (MonadIO m, IsStackPage o) => o -> m (Maybe Text) Source #

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

get stackPage #title

setStackPageTitle :: (MonadIO m, IsStackPage o) => o -> Text -> m () Source #

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

set stackPage [ #title := value ]

useUnderline

No description available in the introspection data.

constructStackPageUseUnderline :: (IsStackPage 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.

getStackPageUseUnderline :: (MonadIO m, IsStackPage o) => o -> m Bool Source #

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

get stackPage #useUnderline

setStackPageUseUnderline :: (MonadIO m, IsStackPage o) => o -> Bool -> m () Source #

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

set stackPage [ #useUnderline := value ]

visible

No description available in the introspection data.

constructStackPageVisible :: (IsStackPage o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getStackPageVisible :: (MonadIO m, IsStackPage o) => o -> m Bool Source #

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

get stackPage #visible

setStackPageVisible :: (MonadIO m, IsStackPage o) => o -> Bool -> m () Source #

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

set stackPage [ #visible := value ]