| 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.Clutter.Objects.TextNode
Contents
Description
The TextNode structure is an opaque
type whose members cannot be directly accessed.
Since: 1.10
Synopsis
- newtype TextNode = TextNode (ManagedPtr TextNode)
- class (BoxedPtr o, TypedObject o, IsDescendantOf TextNode o) => IsTextNode o
- toTextNode :: (MonadIO m, IsTextNode o) => o -> m TextNode
- textNodeNew :: (HasCallStack, MonadIO m, IsLayout a) => Maybe a -> Maybe Color -> m PaintNode
Exported types
Memory-managed wrapper type.
Instances
| Eq TextNode Source # | |
| BoxedPtr TextNode Source # | |
Defined in GI.Clutter.Objects.TextNode | |
| ManagedPtrNewtype TextNode Source # | |
Defined in GI.Clutter.Objects.TextNode Methods toManagedPtr :: TextNode -> ManagedPtr TextNode | |
| TypedObject TextNode Source # | |
Defined in GI.Clutter.Objects.TextNode | |
| HasParentTypes TextNode Source # | |
Defined in GI.Clutter.Objects.TextNode | |
| type ParentTypes TextNode Source # | |
Defined in GI.Clutter.Objects.TextNode | |
class (BoxedPtr o, TypedObject o, IsDescendantOf TextNode o) => IsTextNode o Source #
Type class for types which can be safely cast to TextNode, for instance with toTextNode.
Instances
| (BoxedPtr o, TypedObject o, IsDescendantOf TextNode o) => IsTextNode o Source # | |
Defined in GI.Clutter.Objects.TextNode | |
toTextNode :: (MonadIO m, IsTextNode o) => o -> m TextNode Source #
Methods
Click to display all available methods, including inherited ones
new
Arguments
| :: (HasCallStack, MonadIO m, IsLayout a) | |
| => Maybe a | |
| -> Maybe Color |
|
| -> m PaintNode | Returns: the newly created |
Creates a new PaintNode that will paint a Layout
with the given color.
This function takes a reference on the passed layout, so it
is safe to call objectUnref after it returns.
Since: 1.10