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

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype Column Source #

Memory-managed wrapper type.

Constructors

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

Defined in GI.Handy.Objects.Column

Methods

gobjectType :: IO GType #

HasParentTypes Column Source # 
Instance details

Defined in GI.Handy.Objects.Column

type ParentTypes Column Source # 
Instance details

Defined in GI.Handy.Objects.Column

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

class (GObject o, IsDescendantOf Column o) => IsColumn o Source #

Type class for types which can be safely cast to Column, for instance with toColumn.

Instances
(GObject o, IsDescendantOf Column o) => IsColumn o Source # 
Instance details

Defined in GI.Handy.Objects.Column

toColumn :: (MonadIO m, IsColumn o) => o -> m Column Source #

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

noColumn :: Maybe Column Source #

A convenience alias for Nothing :: Maybe Column.

Methods

getLinearGrowthWidth

columnGetLinearGrowthWidth Source #

Arguments

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

self: a Column

-> m Int32

Returns: the width up to which the child will be allocated all the available width.

Gets the width up to which the child will be allocated all the available width and starting from which it will be allocated a portion of the available width. In bith cases the allocated width won't exceed the declared maximum.

getMaximumWidth

columnGetMaximumWidth Source #

Arguments

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

self: a Column

-> m Int32

Returns: the maximum width to allocate to the contained child.

Gets the maximum width to allocate to the contained child.

new

columnNew Source #

Arguments

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

Returns: a new Column

Creates a new Column.

setLinearGrowthWidth

columnSetLinearGrowthWidth Source #

Arguments

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

self: a Column

-> Int32

linearGrowthWidth: the linear growth width

-> m () 

Sets the width up to which the child will be allocated all the available width and starting from which it will be allocated a portion of the available width. In bith cases the allocated width won't exceed the declared maximum.

setMaximumWidth

columnSetMaximumWidth Source #

Arguments

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

self: a Column

-> Int32

maximumWidth: the maximum width

-> m () 

Sets the maximum width to allocate to the contained child.

Properties

linearGrowthWidth

No description available in the introspection data.

constructColumnLinearGrowthWidth :: IsColumn o => Int32 -> IO (GValueConstruct o) Source #

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

getColumnLinearGrowthWidth :: (MonadIO m, IsColumn o) => o -> m Int32 Source #

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

get column #linearGrowthWidth

setColumnLinearGrowthWidth :: (MonadIO m, IsColumn o) => o -> Int32 -> m () Source #

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

set column [ #linearGrowthWidth := value ]

maximumWidth

No description available in the introspection data.

constructColumnMaximumWidth :: IsColumn o => Int32 -> IO (GValueConstruct o) Source #

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

getColumnMaximumWidth :: (MonadIO m, IsColumn o) => o -> m Int32 Source #

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

get column #maximumWidth

setColumnMaximumWidth :: (MonadIO m, IsColumn o) => o -> Int32 -> m () Source #

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

set column [ #maximumWidth := value ]