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 |
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 boxedPtrCopy :: TextNode -> IO TextNode # boxedPtrFree :: TextNode -> IO () # | |
ManagedPtrNewtype TextNode Source # | |
Defined in GI.Clutter.Objects.TextNode 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
:: (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