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 ShadowNode = ShadowNode (ManagedPtr ShadowNode)
- class (BoxedPtr o, TypedObject o, IsDescendantOf ShadowNode o) => IsShadowNode o
- toShadowNode :: (MonadIO m, IsShadowNode o) => o -> m ShadowNode
- shadowNodeGetChild :: (HasCallStack, MonadIO m, IsShadowNode a) => a -> m RenderNode
- shadowNodeGetNShadows :: (HasCallStack, MonadIO m, IsShadowNode a) => a -> m Word64
- shadowNodeNew :: (HasCallStack, MonadIO m, IsRenderNode a) => a -> [Shadow] -> m ShadowNode
- shadowNodePeekShadow :: (HasCallStack, MonadIO m, IsShadowNode a) => a -> Word64 -> m Shadow
Exported types
newtype ShadowNode Source #
Memory-managed wrapper type.
Instances
Eq ShadowNode Source # | |
Defined in GI.Gsk.Objects.ShadowNode (==) :: ShadowNode -> ShadowNode -> Bool # (/=) :: ShadowNode -> ShadowNode -> Bool # | |
ManagedPtrNewtype ShadowNode Source # | |
Defined in GI.Gsk.Objects.ShadowNode | |
BoxedPtr ShadowNode Source # | |
Defined in GI.Gsk.Objects.ShadowNode boxedPtrCopy :: ShadowNode -> IO ShadowNode # boxedPtrFree :: ShadowNode -> IO () # | |
TypedObject ShadowNode Source # | |
Defined in GI.Gsk.Objects.ShadowNode | |
HasParentTypes ShadowNode Source # | |
Defined in GI.Gsk.Objects.ShadowNode | |
type ParentTypes ShadowNode Source # | |
Defined in GI.Gsk.Objects.ShadowNode |
class (BoxedPtr o, TypedObject o, IsDescendantOf ShadowNode o) => IsShadowNode o Source #
Type class for types which can be safely cast to ShadowNode
, for instance with toShadowNode
.
Instances
(BoxedPtr o, TypedObject o, IsDescendantOf ShadowNode o) => IsShadowNode o Source # | |
Defined in GI.Gsk.Objects.ShadowNode |
toShadowNode :: (MonadIO m, IsShadowNode o) => o -> m ShadowNode Source #
Cast to ShadowNode
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Overloaded methods
getChild
:: (HasCallStack, MonadIO m, IsShadowNode a) | |
=> a |
|
-> m RenderNode | Returns: the child render node |
Retrieves the child RenderNode
of the shadow node
.
getNShadows
shadowNodeGetNShadows Source #
:: (HasCallStack, MonadIO m, IsShadowNode a) | |
=> a |
|
-> m Word64 | Returns: the number of shadows. |
Retrieves the number of shadows in the node
.
new
:: (HasCallStack, MonadIO m, IsRenderNode a) | |
=> a |
|
-> [Shadow] |
|
-> m ShadowNode | Returns: A new |
Creates a RenderNode
that will draw a child
with the given
shadows
below it.
peekShadow
:: (HasCallStack, MonadIO m, IsShadowNode a) | |
=> a |
|
-> Word64 |
|
-> m Shadow | Returns: the shadow data |
Retrieves the shadow data at the given index i
.