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

Description

No description available in the introspection data.

Synopsis

Exported types

newtype ViewSwitcherBar Source #

Memory-managed wrapper type.

Constructors

ViewSwitcherBar (ManagedPtr ViewSwitcherBar) 

Instances

Instances details
Eq ViewSwitcherBar Source # 
Instance details

Defined in GI.Handy.Objects.ViewSwitcherBar

GObject ViewSwitcherBar Source # 
Instance details

Defined in GI.Handy.Objects.ViewSwitcherBar

ManagedPtrNewtype ViewSwitcherBar Source # 
Instance details

Defined in GI.Handy.Objects.ViewSwitcherBar

TypedObject ViewSwitcherBar Source # 
Instance details

Defined in GI.Handy.Objects.ViewSwitcherBar

Methods

glibType :: IO GType

IsGValue ViewSwitcherBar Source #

Convert ViewSwitcherBar to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Handy.Objects.ViewSwitcherBar

Methods

toGValue :: ViewSwitcherBar -> IO GValue

fromGValue :: GValue -> IO ViewSwitcherBar

HasParentTypes ViewSwitcherBar Source # 
Instance details

Defined in GI.Handy.Objects.ViewSwitcherBar

type ParentTypes ViewSwitcherBar Source # 
Instance details

Defined in GI.Handy.Objects.ViewSwitcherBar

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

class (GObject o, IsDescendantOf ViewSwitcherBar o) => IsViewSwitcherBar o Source #

Type class for types which can be safely cast to ViewSwitcherBar, for instance with toViewSwitcherBar.

Instances

Instances details
(GObject o, IsDescendantOf ViewSwitcherBar o) => IsViewSwitcherBar o Source # 
Instance details

Defined in GI.Handy.Objects.ViewSwitcherBar

toViewSwitcherBar :: (MonadIO m, IsViewSwitcherBar o) => o -> m ViewSwitcherBar Source #

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

Methods

Overloaded methods

getIconSize

viewSwitcherBarGetIconSize Source #

Arguments

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

self: a ViewSwitcherBar

-> m IconSize

Returns: the icon size of the images

Get the icon size of the images used in the ViewSwitcher.

Since: 0.0.10

getPolicy

viewSwitcherBarGetPolicy Source #

Arguments

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

self: a ViewSwitcherBar

-> m ViewSwitcherPolicy

Returns: the policy of self

Gets the policy of self.

Since: 0.0.10

getReveal

viewSwitcherBarGetReveal Source #

Arguments

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

self: a ViewSwitcherBar

-> m Bool

Returns: True if self is revealed, False if not.

Gets whether self should be revealed or not.

Since: 0.0.10

getStack

viewSwitcherBarGetStack Source #

Arguments

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

self: a ViewSwitcherBar

-> m (Maybe Stack)

Returns: the Stack, or Nothing if none has been set

Get the Stack being controlled by the ViewSwitcher.

Since: 0.0.10

new

viewSwitcherBarNew Source #

Arguments

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

Returns: a new ViewSwitcherBar

Creates a new ViewSwitcherBar widget.

Since: 0.0.10

setIconSize

viewSwitcherBarSetIconSize Source #

Arguments

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

self: a ViewSwitcherBar

-> IconSize

iconSize: the new icon size

-> m () 

Change the icon size hint for the icons in a ViewSwitcher.

Since: 0.0.10

setPolicy

viewSwitcherBarSetPolicy Source #

Arguments

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

self: a ViewSwitcherBar

-> ViewSwitcherPolicy

policy: the new policy

-> m () 

Sets the policy of self.

Since: 0.0.10

setReveal

viewSwitcherBarSetReveal Source #

Arguments

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

self: a ViewSwitcherBar

-> Bool

reveal: True to reveal self

-> m () 

Sets whether self should be revealed or not.

Since: 0.0.10

setStack

viewSwitcherBarSetStack Source #

Arguments

:: (HasCallStack, MonadIO m, IsViewSwitcherBar a, IsStack b) 
=> a

self: a ViewSwitcherBar

-> Maybe b

stack: a Stack

-> m () 

Sets the Stack to control.

Since: 0.0.10

Properties

iconSize

Use the "icon-size" property to hint the icons to use, you almost certainly want to leave this as IconSizeButton.

Since: 0.0.10

constructViewSwitcherBarIconSize :: (IsViewSwitcherBar o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

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

getViewSwitcherBarIconSize :: (MonadIO m, IsViewSwitcherBar o) => o -> m Int32 Source #

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

get viewSwitcherBar #iconSize

setViewSwitcherBarIconSize :: (MonadIO m, IsViewSwitcherBar o) => o -> Int32 -> m () Source #

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

set viewSwitcherBar [ #iconSize := value ]

policy

The ViewSwitcherPolicy the ViewSwitcher should use to determine which mode to use.

Since: 0.0.10

constructViewSwitcherBarPolicy :: (IsViewSwitcherBar o, MonadIO m) => ViewSwitcherPolicy -> m (GValueConstruct o) Source #

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

getViewSwitcherBarPolicy :: (MonadIO m, IsViewSwitcherBar o) => o -> m ViewSwitcherPolicy Source #

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

get viewSwitcherBar #policy

setViewSwitcherBarPolicy :: (MonadIO m, IsViewSwitcherBar o) => o -> ViewSwitcherPolicy -> m () Source #

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

set viewSwitcherBar [ #policy := value ]

reveal

Whether the bar should be revealed or hidden.

Since: 0.0.10

constructViewSwitcherBarReveal :: (IsViewSwitcherBar o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getViewSwitcherBarReveal :: (MonadIO m, IsViewSwitcherBar o) => o -> m Bool Source #

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

get viewSwitcherBar #reveal

setViewSwitcherBarReveal :: (MonadIO m, IsViewSwitcherBar o) => o -> Bool -> m () Source #

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

set viewSwitcherBar [ #reveal := value ]

stack

The Stack the ViewSwitcher controls.

Since: 0.0.10

clearViewSwitcherBarStack :: (MonadIO m, IsViewSwitcherBar o) => o -> m () Source #

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

clear #stack

constructViewSwitcherBarStack :: (IsViewSwitcherBar o, MonadIO m, IsStack a) => a -> m (GValueConstruct o) Source #

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

getViewSwitcherBarStack :: (MonadIO m, IsViewSwitcherBar o) => o -> m (Maybe Stack) Source #

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

get viewSwitcherBar #stack

setViewSwitcherBarStack :: (MonadIO m, IsViewSwitcherBar o, IsStack a) => o -> a -> m () Source #

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

set viewSwitcherBar [ #stack := value ]