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 |
No description available in the introspection data.
Synopsis
- newtype TextureNode = TextureNode (ManagedPtr TextureNode)
- class (BoxedPtr o, TypedObject o, IsDescendantOf TextureNode o) => IsTextureNode o
- toTextureNode :: (MonadIO m, IsTextureNode o) => o -> m TextureNode
- textureNodeGetTexture :: (HasCallStack, MonadIO m, IsTextureNode a) => a -> m Texture
- textureNodeNew :: (HasCallStack, MonadIO m, IsTexture a) => a -> Rect -> m TextureNode
Exported types
newtype TextureNode Source #
Memory-managed wrapper type.
Instances
Eq TextureNode Source # | |
Defined in GI.Gsk.Objects.TextureNode (==) :: TextureNode -> TextureNode -> Bool # (/=) :: TextureNode -> TextureNode -> Bool # | |
ManagedPtrNewtype TextureNode Source # | |
Defined in GI.Gsk.Objects.TextureNode | |
BoxedPtr TextureNode Source # | |
Defined in GI.Gsk.Objects.TextureNode boxedPtrCopy :: TextureNode -> IO TextureNode # boxedPtrFree :: TextureNode -> IO () # | |
TypedObject TextureNode Source # | |
Defined in GI.Gsk.Objects.TextureNode | |
HasParentTypes TextureNode Source # | |
Defined in GI.Gsk.Objects.TextureNode | |
type ParentTypes TextureNode Source # | |
Defined in GI.Gsk.Objects.TextureNode |
class (BoxedPtr o, TypedObject o, IsDescendantOf TextureNode o) => IsTextureNode o Source #
Type class for types which can be safely cast to TextureNode
, for instance with toTextureNode
.
Instances
(BoxedPtr o, TypedObject o, IsDescendantOf TextureNode o) => IsTextureNode o Source # | |
Defined in GI.Gsk.Objects.TextureNode |
toTextureNode :: (MonadIO m, IsTextureNode o) => o -> m TextureNode Source #
Cast to TextureNode
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Overloaded methods
getTexture
textureNodeGetTexture Source #
:: (HasCallStack, MonadIO m, IsTextureNode a) | |
=> a |
|
-> m Texture | Returns: the |
Retrieves the Texture
used when creating this RenderNode
.
new
:: (HasCallStack, MonadIO m, IsTexture a) | |
=> a |
|
-> Rect |
|
-> m TextureNode | Returns: A new |
Creates a RenderNode
that will render the given
texture
into the area given by bounds
.