| 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.Gsk.Objects.ContainerNode
Description
No description available in the introspection data.
Synopsis
- newtype ContainerNode = ContainerNode (ManagedPtr ContainerNode)
- class (BoxedPtr o, TypedObject o, IsDescendantOf ContainerNode o) => IsContainerNode o
- toContainerNode :: (MonadIO m, IsContainerNode o) => o -> m ContainerNode
- containerNodeGetChild :: (HasCallStack, MonadIO m, IsContainerNode a) => a -> Word32 -> m RenderNode
- containerNodeGetNChildren :: (HasCallStack, MonadIO m, IsContainerNode a) => a -> m Word32
- containerNodeNew :: (HasCallStack, MonadIO m) => [RenderNode] -> m ContainerNode
Exported types
newtype ContainerNode Source #
Memory-managed wrapper type.
Constructors
| ContainerNode (ManagedPtr ContainerNode) |
Instances
| Eq ContainerNode Source # | |
Defined in GI.Gsk.Objects.ContainerNode Methods (==) :: ContainerNode -> ContainerNode -> Bool # (/=) :: ContainerNode -> ContainerNode -> Bool # | |
| ManagedPtrNewtype ContainerNode Source # | |
Defined in GI.Gsk.Objects.ContainerNode Methods | |
| BoxedPtr ContainerNode Source # | |
Defined in GI.Gsk.Objects.ContainerNode | |
| TypedObject ContainerNode Source # | |
Defined in GI.Gsk.Objects.ContainerNode | |
| HasParentTypes ContainerNode Source # | |
Defined in GI.Gsk.Objects.ContainerNode | |
| type ParentTypes ContainerNode Source # | |
Defined in GI.Gsk.Objects.ContainerNode | |
class (BoxedPtr o, TypedObject o, IsDescendantOf ContainerNode o) => IsContainerNode o Source #
Type class for types which can be safely cast to ContainerNode, for instance with toContainerNode.
Instances
| (BoxedPtr o, TypedObject o, IsDescendantOf ContainerNode o) => IsContainerNode o Source # | |
Defined in GI.Gsk.Objects.ContainerNode | |
toContainerNode :: (MonadIO m, IsContainerNode o) => o -> m ContainerNode Source #
Cast to ContainerNode, for types for which this is known to be safe. For general casts, use castTo.
Methods
Overloaded methods
getChild
containerNodeGetChild Source #
Arguments
| :: (HasCallStack, MonadIO m, IsContainerNode a) | |
| => a |
|
| -> Word32 |
|
| -> m RenderNode | Returns: the |
Gets one of the children of container.
getNChildren
containerNodeGetNChildren Source #
Arguments
| :: (HasCallStack, MonadIO m, IsContainerNode a) | |
| => a |
|
| -> m Word32 | Returns: the number of children of the |
Retrieves the number of direct children of node.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => [RenderNode] |
|
| -> m ContainerNode | Returns: the new |
Creates a new RenderNode instance for holding the given children.
The new node will acquire a reference to each of the children.