Clutter.StateKey¶
Fields¶
None
Methods¶
|
|
|
|
|
Details¶
- class Clutter.StateKey¶
Clutter.StateKey
is an opaque structure whose members cannot be accessed directlyNew in version 1.4.
- get_mode()¶
- Returns:
the mode of a
Clutter.StateKey
- Return type:
Retrieves the easing mode used for self.
New in version 1.4.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
andClutter.TransitionGroup
instead
- get_object()¶
- Returns:
the object this state key applies to.
- Return type:
Retrieves the object instance this
Clutter.StateKey
applies to.New in version 1.4.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
andClutter.TransitionGroup
instead
- get_post_delay()¶
- Returns:
the post delay, used after doing the transition.
- Return type:
Retrieves the duration of the pause after transitioning is complete as a fraction of the total transition time.
New in version 1.4.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
andClutter.TransitionGroup
instead
- get_pre_delay()¶
- Returns:
the pre delay used before starting the transition.
- Return type:
Retrieves the pause before transitioning starts as a fraction of the total transition time.
New in version 1.4.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
andClutter.TransitionGroup
instead
- get_property_name()¶
- Returns:
the name of the property. The returned string is owned by the
Clutter.StateKey
and should never be modified or freed- Return type:
Retrieves the name of the property this
Clutter.StateKey
applies toNew in version 1.4.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
andClutter.TransitionGroup
instead
- get_property_type()¶
- Returns:
the
GObject.GType
of the property- Return type:
Retrieves the
GObject.GType
of the property a key applies toYou can use this type to initialize the
GObject.Value
to pass toClutter.StateKey.get_value
()New in version 1.4.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
andClutter.TransitionGroup
instead
- get_source_state_name()¶
- Returns:
the name of the source state for this key, or
None
if this is the generic state key for the given property when transitioning to the target state. The returned string is owned by theClutter.StateKey
and should never be modified or freed- Return type:
Retrieves the name of the source state of the self
New in version 1.4.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
andClutter.TransitionGroup
instead
- get_target_state_name()¶
-
Get the name of the source state this
Clutter.StateKey
contains, orNone
if this is the generic state key for the given property when transitioning to the target state.New in version 1.4.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
andClutter.TransitionGroup
instead
- get_value(value)¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
initialized with the correct type for the self- Returns:
True
if the value was successfully retrieved, andFalse
otherwise- Return type:
Retrieves a copy of the value for a
Clutter.StateKey
.The
GObject.Value
needs to be already initialized for the value type of the property or to a type that allow transformation from the value type of the key.Use
GObject.Value.unset
() when done.New in version 1.4.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
andClutter.TransitionGroup
instead