gi-clutter-1.0.2: clutter GObject bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Clutter.Objects.ColorNode

Description

The TextNode structure is an opaque type whose members cannot be directly accessed.

Since: 1.10

Synopsis

Exported types

newtype ColorNode Source #

Memory-managed wrapper type.

class (BoxedPtr o, TypedObject o, IsDescendantOf ColorNode o) => IsColorNode o Source #

Type class for types which can be safely cast to ColorNode, for instance with toColorNode.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf ColorNode o) => IsColorNode o Source # 
Instance details

Defined in GI.Clutter.Objects.ColorNode

toColorNode :: (MonadIO m, IsColorNode o) => o -> m ColorNode Source #

Cast to ColorNode, for types for which this is known to be safe. For general casts, use castTo.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

addChild, addRectangle, addTextureRectangle, ref, unref.

Getters

None.

Setters

setName.

new

colorNodeNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Maybe Color

color: the color to paint, or Nothing

-> m PaintNode

Returns: the newly created PaintNode. Use paintNodeUnref when done

Creates a new PaintNode that will paint a solid color fill using color.

Since: 1.10