gi-gsk-4.0.7: Gsk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gsk.Structs.Shadow

Description

The shadow parameters in a shadow node.

Synopsis

Exported types

newtype Shadow Source #

Memory-managed wrapper type.

Constructors

Shadow (ManagedPtr Shadow) 

Instances

Instances details
Eq Shadow Source # 
Instance details

Defined in GI.Gsk.Structs.Shadow

Methods

(==) :: Shadow -> Shadow -> Bool #

(/=) :: Shadow -> Shadow -> Bool #

BoxedPtr Shadow Source # 
Instance details

Defined in GI.Gsk.Structs.Shadow

CallocPtr Shadow Source # 
Instance details

Defined in GI.Gsk.Structs.Shadow

ManagedPtrNewtype Shadow Source # 
Instance details

Defined in GI.Gsk.Structs.Shadow

Methods

toManagedPtr :: Shadow -> ManagedPtr Shadow

tag ~ 'AttrSet => Constructible Shadow tag Source # 
Instance details

Defined in GI.Gsk.Structs.Shadow

Methods

new :: MonadIO m => (ManagedPtr Shadow -> Shadow) -> [AttrOp Shadow tag] -> m Shadow

newZeroShadow :: MonadIO m => m Shadow Source #

Construct a Shadow struct initialized to zero.

Methods

Properties

color

the color of the shadow

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

the horizontal offset of the shadow

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

the vertical offset of the shadow

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

the radius of the shadow

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 ]