Clutter.StateKey¶
Fields¶
None
Methods¶
|
|
|
|
|
Details¶
- class Clutter.StateKey¶
Clutter.StateKeyis 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.KeyframeTransitionandClutter.TransitionGroupinstead
- get_object()¶
- Returns:
the object this state key applies to.
- Return type:
Retrieves the object instance this
Clutter.StateKeyapplies to.New in version 1.4.
Deprecated since version 1.12: Use
Clutter.KeyframeTransitionandClutter.TransitionGroupinstead
- 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.KeyframeTransitionandClutter.TransitionGroupinstead
- 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.KeyframeTransitionandClutter.TransitionGroupinstead
- get_property_name()¶
- Returns:
the name of the property. The returned string is owned by the
Clutter.StateKeyand should never be modified or freed- Return type:
Retrieves the name of the property this
Clutter.StateKeyapplies toNew in version 1.4.
Deprecated since version 1.12: Use
Clutter.KeyframeTransitionandClutter.TransitionGroupinstead
- get_property_type()¶
- Returns:
the
GObject.GTypeof the property- Return type:
Retrieves the
GObject.GTypeof the property a key applies toYou can use this type to initialize the
GObject.Valueto pass toClutter.StateKey.get_value()New in version 1.4.
Deprecated since version 1.12: Use
Clutter.KeyframeTransitionandClutter.TransitionGroupinstead
- get_source_state_name()¶
- Returns:
the name of the source state for this key, or
Noneif this is the generic state key for the given property when transitioning to the target state. The returned string is owned by theClutter.StateKeyand 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.KeyframeTransitionandClutter.TransitionGroupinstead
- get_target_state_name()¶
-
Get the name of the source state this
Clutter.StateKeycontains, orNoneif 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.KeyframeTransitionandClutter.TransitionGroupinstead
- get_value(value)¶
- Parameters:
value (
GObject.Value) – aGObject.Valueinitialized with the correct type for the self- Returns:
Trueif the value was successfully retrieved, andFalseotherwise- Return type:
Retrieves a copy of the value for a
Clutter.StateKey.The
GObject.Valueneeds 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.KeyframeTransitionandClutter.TransitionGroupinstead