gi-handy-0.0.5: libhandy bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Handy.Objects.TitleBar

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype TitleBar Source #

Memory-managed wrapper type.

Constructors

TitleBar (ManagedPtr TitleBar) 
Instances
GObject TitleBar Source # 
Instance details

Defined in GI.Handy.Objects.TitleBar

Methods

gobjectType :: IO GType #

HasParentTypes TitleBar Source # 
Instance details

Defined in GI.Handy.Objects.TitleBar

type ParentTypes TitleBar Source # 
Instance details

Defined in GI.Handy.Objects.TitleBar

type ParentTypes TitleBar = Bin ': (Container ': (Widget ': (Object ': (ImplementorIface ': (Buildable ': ([] :: [Type]))))))

class (GObject o, IsDescendantOf TitleBar o) => IsTitleBar o Source #

Type class for types which can be safely cast to TitleBar, for instance with toTitleBar.

Instances
(GObject o, IsDescendantOf TitleBar o) => IsTitleBar o Source # 
Instance details

Defined in GI.Handy.Objects.TitleBar

toTitleBar :: (MonadIO m, IsTitleBar o) => o -> m TitleBar Source #

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

noTitleBar :: Maybe TitleBar Source #

A convenience alias for Nothing :: Maybe TitleBar.

Methods

getSelectionMode

titleBarGetSelectionMode Source #

Arguments

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

self: a TitleBar

-> m Bool

Returns: True if the title bar is in selection mode

Returns wether whether self is in selection mode.

new

titleBarNew Source #

Arguments

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

Returns: a new TitleBar

Creates a new TitleBar.

setSelectionMode

titleBarSetSelectionMode Source #

Arguments

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

self: a TitleBar

-> Bool

selectionMode: True to enable the selection mode

-> m () 

Sets whether self is in selection mode.

Properties

selectionMode

No description available in the introspection data.

constructTitleBarSelectionMode :: IsTitleBar o => Bool -> IO (GValueConstruct o) Source #

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

getTitleBarSelectionMode :: (MonadIO m, IsTitleBar o) => o -> m Bool Source #

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

get titleBar #selectionMode

setTitleBarSelectionMode :: (MonadIO m, IsTitleBar o) => o -> Bool -> m () Source #

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

set titleBar [ #selectionMode := value ]