| 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.PaintNode
Description
The ClutterPaintNode structure contains only private data
 and it should be accessed using the provided API.
Since: 1.10
Synopsis
- newtype PaintNode = PaintNode (ManagedPtr PaintNode)
 - class (BoxedPtr o, TypedObject o, IsDescendantOf PaintNode o) => IsPaintNode o
 - toPaintNode :: (MonadIO m, IsPaintNode o) => o -> m PaintNode
 - paintNodeAddChild :: (HasCallStack, MonadIO m, IsPaintNode a, IsPaintNode b) => a -> b -> m ()
 - paintNodeAddRectangle :: (HasCallStack, MonadIO m, IsPaintNode a) => a -> ActorBox -> m ()
 - paintNodeAddTextureRectangle :: (HasCallStack, MonadIO m, IsPaintNode a) => a -> ActorBox -> Float -> Float -> Float -> Float -> m ()
 - paintNodeRef :: (HasCallStack, MonadIO m, IsPaintNode a) => a -> m PaintNode
 - paintNodeSetName :: (HasCallStack, MonadIO m, IsPaintNode a) => a -> Text -> m ()
 - paintNodeUnref :: (HasCallStack, MonadIO m, IsPaintNode a) => a -> m ()
 
Exported types
Memory-managed wrapper type.
Instances
| Eq PaintNode Source # | |
| BoxedPtr PaintNode Source # | |
Defined in GI.Clutter.Objects.PaintNode  | |
| ManagedPtrNewtype PaintNode Source # | |
Defined in GI.Clutter.Objects.PaintNode Methods toManagedPtr :: PaintNode -> ManagedPtr PaintNode  | |
| TypedObject PaintNode Source # | |
Defined in GI.Clutter.Objects.PaintNode  | |
| HasParentTypes PaintNode Source # | |
Defined in GI.Clutter.Objects.PaintNode  | |
| IsGValue (Maybe PaintNode) Source # | Convert   | 
Defined in GI.Clutter.Objects.PaintNode Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe PaintNode -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe PaintNode)  | |
| type ParentTypes PaintNode Source # | |
Defined in GI.Clutter.Objects.PaintNode  | |
class (BoxedPtr o, TypedObject o, IsDescendantOf PaintNode o) => IsPaintNode o Source #
Type class for types which can be safely cast to PaintNode, for instance with toPaintNode.
Instances
| (BoxedPtr o, TypedObject o, IsDescendantOf PaintNode o) => IsPaintNode o Source # | |
Defined in GI.Clutter.Objects.PaintNode  | |
toPaintNode :: (MonadIO m, IsPaintNode o) => o -> m PaintNode Source #
Methods
Click to display all available methods, including inherited ones
addChild
Arguments
| :: (HasCallStack, MonadIO m, IsPaintNode a, IsPaintNode b) | |
| => a | 
  | 
| -> b | 
  | 
| -> m () | 
Adds child to the list of children of node.
This function will acquire a reference on child.
Since: 1.10
addRectangle
paintNodeAddRectangle Source #
Arguments
| :: (HasCallStack, MonadIO m, IsPaintNode a) | |
| => a | 
  | 
| -> ActorBox | 
  | 
| -> m () | 
Adds a rectangle region to the node, as described by the
 passed rect.
Since: 1.10
addTextureRectangle
paintNodeAddTextureRectangle Source #
Arguments
| :: (HasCallStack, MonadIO m, IsPaintNode a) | |
| => a | 
  | 
| -> ActorBox | 
  | 
| -> Float | 
  | 
| -> Float | 
  | 
| -> Float | 
  | 
| -> Float | 
  | 
| -> m () | 
Adds a rectangle region to the node, with texture coordinates.
Since: 1.10
ref
Arguments
| :: (HasCallStack, MonadIO m, IsPaintNode a) | |
| => a | 
  | 
| -> m PaintNode | Returns: the   | 
Acquires a reference on node.
Since: 1.10
setName
Arguments
| :: (HasCallStack, MonadIO m, IsPaintNode a) | |
| => a | 
  | 
| -> Text | 
  | 
| -> m () | 
Sets a user-readable name for node.
The name will be used for debugging purposes.
The node will copy the passed string.
Since: 1.10
unref
Arguments
| :: (HasCallStack, MonadIO m, IsPaintNode a) | |
| => a | 
  | 
| -> m () | 
Releases a reference on node.
Since: 1.10