| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.Gsk.Objects.RepeatNode
Description
A render node repeating its single child node.
Synopsis
- newtype RepeatNode = RepeatNode (ManagedPtr RepeatNode)
- class (BoxedPtr o, TypedObject o, IsDescendantOf RepeatNode o) => IsRepeatNode o
- toRepeatNode :: (MonadIO m, IsRepeatNode o) => o -> m RepeatNode
- repeatNodeGetChild :: (HasCallStack, MonadIO m, IsRepeatNode a) => a -> m RenderNode
- repeatNodeGetChildBounds :: (HasCallStack, MonadIO m, IsRepeatNode a) => a -> m Rect
- repeatNodeNew :: (HasCallStack, MonadIO m, IsRenderNode a) => Rect -> a -> Maybe Rect -> m RepeatNode
Exported types
newtype RepeatNode Source #
Memory-managed wrapper type.
Constructors
| RepeatNode (ManagedPtr RepeatNode) |
Instances
| Eq RepeatNode Source # | |
Defined in GI.Gsk.Objects.RepeatNode | |
| BoxedPtr RepeatNode Source # | |
Defined in GI.Gsk.Objects.RepeatNode | |
| ManagedPtrNewtype RepeatNode Source # | |
Defined in GI.Gsk.Objects.RepeatNode Methods toManagedPtr :: RepeatNode -> ManagedPtr RepeatNode | |
| TypedObject RepeatNode Source # | |
Defined in GI.Gsk.Objects.RepeatNode | |
| HasParentTypes RepeatNode Source # | |
Defined in GI.Gsk.Objects.RepeatNode | |
| type ParentTypes RepeatNode Source # | |
Defined in GI.Gsk.Objects.RepeatNode | |
class (BoxedPtr o, TypedObject o, IsDescendantOf RepeatNode o) => IsRepeatNode o Source #
Type class for types which can be safely cast to RepeatNode, for instance with toRepeatNode.
Instances
| (BoxedPtr o, TypedObject o, IsDescendantOf RepeatNode o) => IsRepeatNode o Source # | |
Defined in GI.Gsk.Objects.RepeatNode | |
toRepeatNode :: (MonadIO m, IsRepeatNode o) => o -> m RepeatNode Source #
Cast to RepeatNode, 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
draw, ref, serialize, unref, writeToFile.
Getters
getBounds, getChild, getChildBounds, getNodeType.
Setters
None.
getChild
Arguments
| :: (HasCallStack, MonadIO m, IsRepeatNode a) | |
| => a |
|
| -> m RenderNode | Returns: a |
Retrieves the child of node.
getChildBounds
repeatNodeGetChildBounds Source #
Arguments
| :: (HasCallStack, MonadIO m, IsRepeatNode a) | |
| => a |
|
| -> m Rect | Returns: a bounding rectangle |
Retrieves the bounding rectangle of the child of node.
new
Arguments
| :: (HasCallStack, MonadIO m, IsRenderNode a) | |
| => Rect |
|
| -> a |
|
| -> Maybe Rect |
|
| -> m RepeatNode | Returns: A new |
Creates a GskRenderNode that will repeat the drawing of child across
the given bounds.