gi-clutter-1.0.5: 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.PropertyTransition

Description

The PropertyTransition structure contains private data and should only be accessed using the provided API.

Since: 1.10

Synopsis

Exported types

newtype PropertyTransition Source #

Memory-managed wrapper type.

Constructors

PropertyTransition (ManagedPtr PropertyTransition) 

Instances

Instances details
Eq PropertyTransition Source # 
Instance details

Defined in GI.Clutter.Objects.PropertyTransition

GObject PropertyTransition Source # 
Instance details

Defined in GI.Clutter.Objects.PropertyTransition

ManagedPtrNewtype PropertyTransition Source # 
Instance details

Defined in GI.Clutter.Objects.PropertyTransition

TypedObject PropertyTransition Source # 
Instance details

Defined in GI.Clutter.Objects.PropertyTransition

Methods

glibType :: IO GType

HasParentTypes PropertyTransition Source # 
Instance details

Defined in GI.Clutter.Objects.PropertyTransition

IsGValue (Maybe PropertyTransition) Source #

Convert PropertyTransition to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Clutter.Objects.PropertyTransition

type ParentTypes PropertyTransition Source # 
Instance details

Defined in GI.Clutter.Objects.PropertyTransition

type ParentTypes PropertyTransition = '[Transition, Timeline, Object, Scriptable]

class (GObject o, IsDescendantOf PropertyTransition o) => IsPropertyTransition o Source #

Type class for types which can be safely cast to PropertyTransition, for instance with toPropertyTransition.

Instances

Instances details
(GObject o, IsDescendantOf PropertyTransition o) => IsPropertyTransition o Source # 
Instance details

Defined in GI.Clutter.Objects.PropertyTransition

toPropertyTransition :: (MonadIO m, IsPropertyTransition o) => o -> m PropertyTransition Source #

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

Methods

getPropertyName

propertyTransitionGetPropertyName Source #

Arguments

:: (HasCallStack, MonadIO m, IsPropertyTransition a) 
=> a

transition: a PropertyTransition

-> m Text

Returns: the name of the property being animated, or Nothing if none is set. The returned string is owned by the transition and it should not be freed.

Retrieves the value of the PropertyTransition:propertyName property.

Since: 1.10

new

propertyTransitionNew Source #

Arguments

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

propertyName: a property of animatable, or Nothing

-> m PropertyTransition

Returns: the newly created PropertyTransition. Use objectUnref when done

Creates a new PropertyTransition.

Since: 1.10

setPropertyName

propertyTransitionSetPropertyName Source #

Arguments

:: (HasCallStack, MonadIO m, IsPropertyTransition a) 
=> a

transition: a PropertyTransition

-> Maybe Text

propertyName: a property name

-> m () 

Sets the PropertyTransition:propertyName property of transition.

Since: 1.10

Properties

propertyName

The name of the property of a Animatable to animate.

Since: 1.10

clearPropertyTransitionPropertyName :: (MonadIO m, IsPropertyTransition o) => o -> m () Source #

Set the value of the “property-name” property to Nothing. When overloading is enabled, this is equivalent to

clear #propertyName

constructPropertyTransitionPropertyName :: (IsPropertyTransition o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “property-name” property. This is rarely needed directly, but it is used by new.

getPropertyTransitionPropertyName :: (MonadIO m, IsPropertyTransition o) => o -> m Text Source #

Get the value of the “property-name” property. When overloading is enabled, this is equivalent to

get propertyTransition #propertyName

setPropertyTransitionPropertyName :: (MonadIO m, IsPropertyTransition o) => o -> Text -> m () Source #

Set the value of the “property-name” property. When overloading is enabled, this is equivalent to

set propertyTransition [ #propertyName := value ]