Module: Clutter::Animatable
- Defined in:
- lib/clutter/animatable.rb
Overview
Clutter::Animatable is an opaque structure whose members cannot be directly accessed
Instance Method Summary collapse
-
#animate_property(animatable, animation, property_name, initial_value, final_value, progress, value) ⇒ Boolean
True if the value has been validated and can be applied to the Clutter::Animatable, and false otherwise.
-
#find_property(animatable, property_name) ⇒ GObject::ParamSpec
The GParam::Spec for the given property or nil.
- #get_initial_state(animatable, property_name, value) ⇒ nil
-
#interpolate_value(animatable, property_name, interval, progress, value) ⇒ Boolean
True if the interpolation was successful, and false otherwise.
- #set_final_state(property_name, value) ⇒ nil
- #set_final_state_without_conversion ⇒ nil
Instance Method Details
#animate_property(animatable, animation, property_name, initial_value, final_value, progress, value) ⇒ Boolean
Returns true if the value has been validated and can be applied to the Clutter::Animatable, and false otherwise.
#find_property(animatable, property_name) ⇒ GObject::ParamSpec
Returns The GParam::Spec for the given property or nil.
#get_initial_state(animatable, property_name, value) ⇒ nil
#interpolate_value(animatable, property_name, interval, progress, value) ⇒ Boolean
Returns true if the interpolation was successful, and false otherwise.
#set_final_state(property_name, value) ⇒ nil
20 21 22 23 24 |
# File 'lib/clutter/animatable.rb', line 20 def set_final_state(property_name, value) property = self.class.property(property_name) value = GLib::Value.new(property.value_type, value) set_final_state_without_conversion(property_name, value) end |
#set_final_state_without_conversion ⇒ nil
|
|
# File 'lib/clutter/animatable.rb', line 19
|