gi-gtk-4.0.5: Gtk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Objects.GridLayoutChild

Description

GtkLayoutChild subclass for children in a GtkGridLayout.

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

getColumn

gridLayoutChildGetColumn Source #

Arguments

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

child: a GtkGridLayoutChild

-> m Int32

Returns: the column number

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

getColumnSpan

gridLayoutChildGetColumnSpan Source #

Arguments

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

child: a GtkGridLayoutChild

-> m Int32

Returns: the number of columns

Retrieves the number of columns that child spans to.

getRow

gridLayoutChildGetRow Source #

Arguments

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

child: a GtkGridLayoutChild

-> m Int32

Returns: the row number

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

getRowSpan

gridLayoutChildGetRowSpan Source #

Arguments

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

child: a GtkGridLayoutChild

-> m Int32

Returns: the number of row

Retrieves the number of rows that child spans to.

setColumn

gridLayoutChildSetColumn Source #

Arguments

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

child: a GtkGridLayoutChild

-> Int32

column: the attach point for child

-> m () 

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

setColumnSpan

gridLayoutChildSetColumnSpan Source #

Arguments

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

child: a GtkGridLayoutChild

-> Int32

span: the span of child

-> m () 

Sets the number of columns child spans to.

setRow

gridLayoutChildSetRow Source #

Arguments

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

child: a GtkGridLayoutChild

-> Int32

row: the row for child

-> m () 

Sets the row to place child in.

setRowSpan

gridLayoutChildSetRowSpan Source #

Arguments

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

child: a GtkGridLayoutChild

-> Int32

span: the span of child

-> m () 

Sets the number of rows child spans to.

Properties

column

The column to place the child in.

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

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

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

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

get gridLayoutChild #column

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

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

set gridLayoutChild [ #column := value ]

columnSpan

The number of columns the child spans to.

constructGridLayoutChildColumnSpan :: (IsGridLayoutChild o, MonadIO m) => Int32 -> m (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 ]

row

The row to place the child in.

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

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

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

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

get gridLayoutChild #row

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

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

set gridLayoutChild [ #row := value ]

rowSpan

The number of rows the child spans to.

constructGridLayoutChildRowSpan :: (IsGridLayoutChild o, MonadIO m) => Int32 -> m (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 ]