gi-gsk-4.0.1: Gsk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gsk.Structs.ColorStop

Description

No description available in the introspection data.

Synopsis

Exported types

newtype ColorStop Source #

Memory-managed wrapper type.

Instances

Instances details
Eq ColorStop Source # 
Instance details

Defined in GI.Gsk.Structs.ColorStop

WrappedPtr ColorStop Source # 
Instance details

Defined in GI.Gsk.Structs.ColorStop

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

Defined in GI.Gsk.Structs.ColorStop

Methods

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

newZeroColorStop :: MonadIO m => m ColorStop Source #

Construct a ColorStop struct initialized to zero.

noColorStop :: Maybe ColorStop Source #

A convenience alias for Nothing :: Maybe ColorStop.

Methods

Overloaded methods

Properties

color

No description available in the introspection data.

getColorStopColor :: MonadIO m => ColorStop -> m RGBA Source #

Get the value of the “color” field. When overloading is enabled, this is equivalent to

get colorStop #color

offset

No description available in the introspection data.

getColorStopOffset :: MonadIO m => ColorStop -> m Double Source #

Get the value of the “offset” field. When overloading is enabled, this is equivalent to

get colorStop #offset

setColorStopOffset :: MonadIO m => ColorStop -> Double -> m () Source #

Set the value of the “offset” field. When overloading is enabled, this is equivalent to

set colorStop [ #offset := value ]