| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gtk.Objects.GridLayoutChild
Description
Layout properties for children of GridLayout.
Synopsis
- newtype GridLayoutChild = GridLayoutChild (ManagedPtr GridLayoutChild)
- class (GObject o, IsDescendantOf GridLayoutChild o) => IsGridLayoutChild o
- toGridLayoutChild :: (MonadIO m, IsGridLayoutChild o) => o -> m GridLayoutChild
- gridLayoutChildGetColumnSpan :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> m Int32
- gridLayoutChildGetLeftAttach :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> m Int32
- gridLayoutChildGetRowSpan :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> m Int32
- gridLayoutChildGetTopAttach :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> m Int32
- gridLayoutChildSetColumnSpan :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> Int32 -> m ()
- gridLayoutChildSetLeftAttach :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> Int32 -> m ()
- gridLayoutChildSetRowSpan :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> Int32 -> m ()
- gridLayoutChildSetTopAttach :: (HasCallStack, MonadIO m, IsGridLayoutChild a) => a -> 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 ()
- constructGridLayoutChildLeftAttach :: (IsGridLayoutChild o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getGridLayoutChildLeftAttach :: (MonadIO m, IsGridLayoutChild o) => o -> m Int32
- setGridLayoutChildLeftAttach :: (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 ()
- constructGridLayoutChildTopAttach :: (IsGridLayoutChild o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getGridLayoutChildTopAttach :: (MonadIO m, IsGridLayoutChild o) => o -> m Int32
- setGridLayoutChildTopAttach :: (MonadIO m, IsGridLayoutChild o) => o -> Int32 -> m ()
Exported types
newtype GridLayoutChild Source #
Memory-managed wrapper type.
Constructors
| GridLayoutChild (ManagedPtr GridLayoutChild) |
Instances
| Eq GridLayoutChild Source # | |
Defined in GI.Gtk.Objects.GridLayoutChild Methods (==) :: GridLayoutChild -> GridLayoutChild -> Bool (/=) :: GridLayoutChild -> GridLayoutChild -> Bool | |
| GObject GridLayoutChild Source # | |
Defined in GI.Gtk.Objects.GridLayoutChild | |
| ManagedPtrNewtype GridLayoutChild Source # | |
Defined in GI.Gtk.Objects.GridLayoutChild Methods toManagedPtr :: GridLayoutChild -> ManagedPtr GridLayoutChild | |
| TypedObject GridLayoutChild Source # | |
Defined in GI.Gtk.Objects.GridLayoutChild Methods glibType :: IO GType | |
| IsGValue GridLayoutChild Source # | Convert |
Defined in GI.Gtk.Objects.GridLayoutChild | |
| HasParentTypes GridLayoutChild Source # | |
Defined in GI.Gtk.Objects.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
Overloaded methods
getColumnSpan
gridLayoutChildGetColumnSpan Source #
Arguments
| :: (HasCallStack, MonadIO m, IsGridLayoutChild a) | |
| => a |
|
| -> 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 |
|
| -> 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 |
|
| -> 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 |
|
| -> 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 |
|
| -> Int32 |
|
| -> m () |
Sets the number of columns child spans to.
setLeftAttach
gridLayoutChildSetLeftAttach Source #
Arguments
| :: (HasCallStack, MonadIO m, IsGridLayoutChild a) | |
| => a |
|
| -> Int32 |
|
| -> m () |
Sets the column number to attach the left side of child.
setRowSpan
gridLayoutChildSetRowSpan Source #
Arguments
| :: (HasCallStack, MonadIO m, IsGridLayoutChild a) | |
| => a |
|
| -> Int32 |
|
| -> m () |
Sets the number of rows child spans to.
setTopAttach
gridLayoutChildSetTopAttach Source #
Arguments
| :: (HasCallStack, MonadIO m, IsGridLayoutChild a) | |
| => a |
|
| -> Int32 |
|
| -> 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, 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
setgridLayoutChild [ #columnSpan:=value ]
leftAttach
The column number to attach the left side of the child to.
constructGridLayoutChildLeftAttach :: (IsGridLayoutChild o, MonadIO m) => Int32 -> m (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
setgridLayoutChild [ #leftAttach:=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
setgridLayoutChild [ #rowSpan:=value ]
topAttach
The row number to attach the top side of the child to.
constructGridLayoutChildTopAttach :: (IsGridLayoutChild o, MonadIO m) => Int32 -> m (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
setgridLayoutChild [ #topAttach:=value ]