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 Shadow = Shadow (ManagedPtr Shadow)
- newZeroShadow :: MonadIO m => m Shadow
- noShadow :: Maybe Shadow
- shadowNodeGetChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode
- shadowNodeGetNShadows :: (HasCallStack, MonadIO m) => RenderNode -> m Word64
- shadowNodeNew :: (HasCallStack, MonadIO m) => RenderNode -> [Shadow] -> m RenderNode
- shadowNodePeekShadow :: (HasCallStack, MonadIO m) => RenderNode -> Word64 -> m Shadow
- getShadowColor :: MonadIO m => Shadow -> m RGBA
- getShadowDx :: MonadIO m => Shadow -> m Float
- setShadowDx :: MonadIO m => Shadow -> Float -> m ()
- getShadowDy :: MonadIO m => Shadow -> m Float
- setShadowDy :: MonadIO m => Shadow -> Float -> m ()
- getShadowRadius :: MonadIO m => Shadow -> m Float
- setShadowRadius :: MonadIO m => Shadow -> Float -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Shadow Source # | |
WrappedPtr Shadow Source # | |
Defined in GI.Gsk.Structs.Shadow wrappedPtrCalloc :: IO (Ptr Shadow) # wrappedPtrCopy :: Shadow -> IO Shadow # | |
tag ~ 'AttrSet => Constructible Shadow tag Source # | |
Defined in GI.Gsk.Structs.Shadow |
Methods
Overloaded methods
nodeGetChild
shadowNodeGetChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode Source #
No description available in the introspection data.
nodeGetNShadows
shadowNodeGetNShadows :: (HasCallStack, MonadIO m) => RenderNode -> m Word64 Source #
No description available in the introspection data.
nodeNew
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> [Shadow] |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will draw a child
with the given
shadows
below it.
nodePeekShadow
shadowNodePeekShadow :: (HasCallStack, MonadIO m) => RenderNode -> Word64 -> m Shadow Source #
No description available in the introspection data.
Properties
color
No description available in the introspection data.
getShadowColor :: MonadIO m => Shadow -> m RGBA Source #
Get the value of the “color
” field.
When overloading is enabled, this is equivalent to
get
shadow #color
dx
No description available in the introspection data.
getShadowDx :: MonadIO m => Shadow -> m Float Source #
Get the value of the “dx
” field.
When overloading is enabled, this is equivalent to
get
shadow #dx
setShadowDx :: MonadIO m => Shadow -> Float -> m () Source #
Set the value of the “dx
” field.
When overloading is enabled, this is equivalent to
set
shadow [ #dx:=
value ]
dy
No description available in the introspection data.
getShadowDy :: MonadIO m => Shadow -> m Float Source #
Get the value of the “dy
” field.
When overloading is enabled, this is equivalent to
get
shadow #dy
setShadowDy :: MonadIO m => Shadow -> Float -> m () Source #
Set the value of the “dy
” field.
When overloading is enabled, this is equivalent to
set
shadow [ #dy:=
value ]
radius
No description available in the introspection data.
getShadowRadius :: MonadIO m => Shadow -> m Float Source #
Get the value of the “radius
” field.
When overloading is enabled, this is equivalent to
get
shadow #radius
setShadowRadius :: MonadIO m => Shadow -> Float -> m () Source #
Set the value of the “radius
” field.
When overloading is enabled, this is equivalent to
set
shadow [ #radius:=
value ]