Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GtkLayoutChild
subclass for children in a GtkGridLayout
.
Synopsis
- newtype GridLayoutChild = GridLayoutChild (ManagedPtr GridLayoutChild)
- class (GObject o, IsDescendantOf GridLayoutChild o) => IsGridLayoutChild o
- toGridLayoutChild :: (MonadIO m, IsGridLayoutChild o) => o -> m GridLayoutChild
- gridLayoutChildGetColumn :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> m Int32
- gridLayoutChildGetColumnSpan :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> m Int32
- gridLayoutChildGetRow :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> m Int32
- gridLayoutChildGetRowSpan :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> m Int32
- gridLayoutChildSetColumn :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> Int32 -> m ()
- gridLayoutChildSetColumnSpan :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> Int32 -> m ()
- gridLayoutChildSetRow :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> Int32 -> m ()
- gridLayoutChildSetRowSpan :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> Int32 -> m ()
- constructGridLayoutChildColumn :: (IsGridLayoutChild o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getGridLayoutChildColumn :: (MonadIO m, IsGridLayoutChild o) => o -> m Int32
- setGridLayoutChildColumn :: (MonadIO m, IsGridLayoutChild o) => o -> Int32 -> m ()
- constructGridLayoutChildColumnSpan :: (IsGridLayoutChild o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getGridLayoutChildColumnSpan :: (MonadIO m, IsGridLayoutChild o) => o -> m Int32
- setGridLayoutChildColumnSpan :: (MonadIO m, IsGridLayoutChild o) => o -> Int32 -> m ()
- constructGridLayoutChildRow :: (IsGridLayoutChild o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getGridLayoutChildRow :: (MonadIO m, IsGridLayoutChild o) => o -> m Int32
- setGridLayoutChildRow :: (MonadIO m, IsGridLayoutChild o) => o -> Int32 -> m ()
- constructGridLayoutChildRowSpan :: (IsGridLayoutChild o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getGridLayoutChildRowSpan :: (MonadIO m, IsGridLayoutChild o) => o -> m Int32
- setGridLayoutChildRowSpan :: (MonadIO m, IsGridLayoutChild o) => o -> Int32 -> m ()
Exported types
newtype GridLayoutChild Source #
Memory-managed wrapper type.
Instances
Eq GridLayoutChild Source # | |
Defined in GI.Gtk.Objects.GridLayoutChild (==) :: GridLayoutChild -> GridLayoutChild -> Bool # (/=) :: GridLayoutChild -> GridLayoutChild -> Bool # | |
GObject GridLayoutChild Source # | |
Defined in GI.Gtk.Objects.GridLayoutChild | |
ManagedPtrNewtype GridLayoutChild Source # | |
Defined in GI.Gtk.Objects.GridLayoutChild | |
TypedObject GridLayoutChild Source # | |
Defined in GI.Gtk.Objects.GridLayoutChild | |
HasParentTypes GridLayoutChild Source # | |
Defined in GI.Gtk.Objects.GridLayoutChild | |
IsGValue (Maybe GridLayoutChild) Source # | Convert |
Defined in GI.Gtk.Objects.GridLayoutChild gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe GridLayoutChild -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe GridLayoutChild) # | |
type ParentTypes GridLayoutChild Source # | |
Defined in GI.Gtk.Objects.GridLayoutChild |
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
(GObject o, IsDescendantOf GridLayoutChild o) => IsGridLayoutChild o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getChildWidget, getColumn, getColumnSpan, getData, getLayoutManager, getProperty, getQdata, getRow, getRowSpan.
Setters
setColumn, setColumnSpan, setData, setDataFull, setProperty, setRow, setRowSpan.
getColumn
gridLayoutChildGetColumn Source #
:: (HasCallStack, MonadIO m, IsGridLayoutChild a) | |
=> a |
|
-> m Int32 | Returns: the column number |
Retrieves the column number to which child
attaches its left side.
getColumnSpan
gridLayoutChildGetColumnSpan Source #
:: (HasCallStack, MonadIO m, IsGridLayoutChild a) | |
=> a |
|
-> m Int32 | Returns: the number of columns |
Retrieves the number of columns that child
spans to.
getRow
gridLayoutChildGetRow Source #
:: (HasCallStack, MonadIO m, IsGridLayoutChild a) | |
=> a |
|
-> m Int32 | Returns: the row number |
Retrieves the row number to which child
attaches its top side.
getRowSpan
gridLayoutChildGetRowSpan Source #
:: (HasCallStack, MonadIO m, IsGridLayoutChild a) | |
=> a |
|
-> m Int32 | Returns: the number of row |
Retrieves the number of rows that child
spans to.
setColumn
gridLayoutChildSetColumn Source #
:: (HasCallStack, MonadIO m, IsGridLayoutChild a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the column number to attach the left side of child
.
setColumnSpan
gridLayoutChildSetColumnSpan Source #
:: (HasCallStack, MonadIO m, IsGridLayoutChild a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the number of columns child
spans to.
setRow
gridLayoutChildSetRow Source #
:: (HasCallStack, MonadIO m, IsGridLayoutChild a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the row to place child
in.
setRowSpan
gridLayoutChildSetRowSpan Source #
:: (HasCallStack, MonadIO m, IsGridLayoutChild a) | |
=> a |
|
-> Int32 |
|
-> 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 ]