gi-gtk-4.0.1: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.GridLayoutChild

Description

Layout properties for children of GridLayout.

Synopsis

Exported types

class (GObject o, IsDescendantOf GridLayoutChild o) => IsGridLayoutChild o Source #

Type class for types which can be safely cast to GridLayoutChild, for instance with toGridLayoutChild.

Instances

Instances details
(GObject o, IsDescendantOf GridLayoutChild o) => IsGridLayoutChild o Source # 
Instance details

Defined in GI.Gtk.Objects.GridLayoutChild

toGridLayoutChild :: (MonadIO m, IsGridLayoutChild o) => o -> m GridLayoutChild Source #

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

Methods

Overloaded methods

getColumnSpan

gridLayoutChildGetColumnSpan Source #

Arguments

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

child: a GridLayoutChild

-> m Int32

Returns: the number of columns

Retrieves the number of columns that child spans to.

getLeftAttach

gridLayoutChildGetLeftAttach Source #

Arguments

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

child: a GridLayoutChild

-> m Int32

Returns: the column number

Retrieves the column number to which child attaches its left side.

getRowSpan

gridLayoutChildGetRowSpan Source #

Arguments

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

child: a GridLayoutChild

-> m Int32

Returns: the number of row

Retrieves the number of rows that child spans to.

getTopAttach

gridLayoutChildGetTopAttach Source #

Arguments

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

child: a GridLayoutChild

-> m Int32

Returns: the row number

Retrieves the row number to which child attaches its top side.

setColumnSpan

gridLayoutChildSetColumnSpan Source #

Arguments

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

child: a GridLayoutChild

-> Int32

span: the span of child

-> m () 

Sets the number of columns child spans to.

setLeftAttach

gridLayoutChildSetLeftAttach Source #

Arguments

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

child: a GridLayoutChild

-> Int32

attach: the attach point for child

-> m () 

Sets the column number to attach the left side of child.

setRowSpan

gridLayoutChildSetRowSpan Source #

Arguments

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

child: a GridLayoutChild

-> Int32

span: the span of child

-> m () 

Sets the number of rows child spans to.

setTopAttach

gridLayoutChildSetTopAttach Source #

Arguments

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

child: a GridLayoutChild

-> Int32

attach: the attach point for child

-> m () 

Sets the row number to attach the top side of child.

Properties

columnSpan

The number of columns the child spans to.

constructGridLayoutChildColumnSpan :: IsGridLayoutChild o => Int32 -> IO (GValueConstruct o) Source #

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

getGridLayoutChildColumnSpan :: (MonadIO m, IsGridLayoutChild o) => o -> m Int32 Source #

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

get gridLayoutChild #columnSpan

setGridLayoutChildColumnSpan :: (MonadIO m, IsGridLayoutChild o) => o -> Int32 -> m () Source #

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

set gridLayoutChild [ #columnSpan := value ]

leftAttach

The column number to attach the left side of the child to.

constructGridLayoutChildLeftAttach :: IsGridLayoutChild o => Int32 -> IO (GValueConstruct o) Source #

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

getGridLayoutChildLeftAttach :: (MonadIO m, IsGridLayoutChild o) => o -> m Int32 Source #

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

get gridLayoutChild #leftAttach

setGridLayoutChildLeftAttach :: (MonadIO m, IsGridLayoutChild o) => o -> Int32 -> m () Source #

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

set gridLayoutChild [ #leftAttach := value ]

rowSpan

The number of rows the child spans to.

constructGridLayoutChildRowSpan :: IsGridLayoutChild o => Int32 -> IO (GValueConstruct o) Source #

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

getGridLayoutChildRowSpan :: (MonadIO m, IsGridLayoutChild o) => o -> m Int32 Source #

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

get gridLayoutChild #rowSpan

setGridLayoutChildRowSpan :: (MonadIO m, IsGridLayoutChild o) => o -> Int32 -> m () Source #

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

set gridLayoutChild [ #rowSpan := value ]

topAttach

The row number to attach the top side of the child to.

constructGridLayoutChildTopAttach :: IsGridLayoutChild o => Int32 -> IO (GValueConstruct o) Source #

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

getGridLayoutChildTopAttach :: (MonadIO m, IsGridLayoutChild o) => o -> m Int32 Source #

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

get gridLayoutChild #topAttach

setGridLayoutChildTopAttach :: (MonadIO m, IsGridLayoutChild o) => o -> Int32 -> m () Source #

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

set gridLayoutChild [ #topAttach := value ]