gi-adwaita-1.0.1: Adwaita bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Adw.Objects.SqueezerPage

Description

An auxiliary class used by Squeezer.

Synopsis

Exported types

class (GObject o, IsDescendantOf SqueezerPage o) => IsSqueezerPage o Source #

Type class for types which can be safely cast to SqueezerPage, for instance with toSqueezerPage.

Instances

Instances details
(GObject o, IsDescendantOf SqueezerPage o) => IsSqueezerPage o Source # 
Instance details

Defined in GI.Adw.Objects.SqueezerPage

toSqueezerPage :: (MonadIO m, IsSqueezerPage o) => o -> m SqueezerPage Source #

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

Methods

getChild

squeezerPageGetChild Source #

Arguments

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

self: a AdwSqueezerPage

-> m Widget

Returns: the child to which self belongs

Returns the squeezer child to which self belongs.

Since: 1.0

getEnabled

squeezerPageGetEnabled Source #

Arguments

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

self: a AdwSqueezerPage

-> m Bool

Returns: whether self is enabled

Gets whether self is enabled.

Since: 1.0

setEnabled

squeezerPageSetEnabled Source #

Arguments

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

self: a AdwSqueezerPage

-> Bool

enabled: whether self is enabled

-> m () 

Sets whether self is enabled.

Since: 1.0

Properties

child

The child of the page.

Since: 1.0

constructSqueezerPageChild :: (IsSqueezerPage 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.

getSqueezerPageChild :: (MonadIO m, IsSqueezerPage o) => o -> m Widget Source #

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

get squeezerPage #child

enabled

Whether the child is enabled.

If a child is disabled, it will be ignored when looking for the child fitting the available size best.

This allows to programmatically and prematurely hide a child even if it fits in the available space.

This can be used e.g. to ensure a certain child is hidden below a certain window width, or any other constraint you find suitable.

Since: 1.0

constructSqueezerPageEnabled :: (IsSqueezerPage o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getSqueezerPageEnabled :: (MonadIO m, IsSqueezerPage o) => o -> m Bool Source #

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

get squeezerPage #enabled

setSqueezerPageEnabled :: (MonadIO m, IsSqueezerPage o) => o -> Bool -> m () Source #

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

set squeezerPage [ #enabled := value ]