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

Description

No description available in the introspection data.

Synopsis

Exported types

newtype TitleBar Source #

Memory-managed wrapper type.

Constructors

TitleBar (ManagedPtr TitleBar) 

Instances

Instances details
Eq TitleBar Source # 
Instance details

Defined in GI.Handy.Objects.TitleBar

Methods

(==) :: TitleBar -> TitleBar -> Bool

(/=) :: TitleBar -> TitleBar -> Bool

GObject TitleBar Source # 
Instance details

Defined in GI.Handy.Objects.TitleBar

ManagedPtrNewtype TitleBar Source # 
Instance details

Defined in GI.Handy.Objects.TitleBar

Methods

toManagedPtr :: TitleBar -> ManagedPtr TitleBar

TypedObject TitleBar Source # 
Instance details

Defined in GI.Handy.Objects.TitleBar

Methods

glibType :: IO GType

IsGValue TitleBar Source #

Convert TitleBar to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Handy.Objects.TitleBar

Methods

toGValue :: TitleBar -> IO GValue

fromGValue :: GValue -> IO TitleBar

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]

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

Instances details
(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.

Methods

Overloaded 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, MonadIO m) => Bool -> m (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 ]