Interval
Object Hierarchy:
Description:
[
CCode ( type_id =
"clutter_interval_get_type ()" ) ]
[
Version ( since =
"1.0" ) ]
public class Interval :
InitiallyUnowned,
Scriptable
The Interval structure contains only private data and should be accessed using the provided functions.
Content:
Properties:
- public Value final { owned get; set; }
The final value of the interval.
- public Value initial { owned get; set; }
The initial value of the interval.
- public Type value_type { get; construct; }
The type of the values in the interval.
Static methods:
Creation methods:
- public Interval (Type gtype, ...)
Creates a new Interval holding values of
type gtype
.
- public Interval.with_values (Type gtype, Value? initial, Value? final)
Creates a new Interval of type gtype
, between initial
and final
.
Methods:
- public Interval clone ()
Creates a copy of this.
- public unowned Value? compute (double factor)
Computes the value between the this
boundaries given the progress factor
- public virtual bool compute_value (double factor, out Value value)
Computes the value between the this
boundaries given the progress factor
and copies it into value
.
- public Value get_final_value ()
Retrieves the final value of this
and copies it into value
.
- public Value get_initial_value ()
Retrieves the initial value of this
and copies it into value
.
- public void get_interval (...)
- public Type get_value_type ()
Retrieves the Type of the values inside
this.
- public bool is_valid ()
Checks if the this has a valid
initial and final values.
- public unowned Value? peek_final_value ()
Gets the pointer to the final value of this
- public unowned Value? peek_initial_value ()
Gets the pointer to the initial value of
this
- public void set_final (...)
- public void set_final_value (Value value)
Sets the final value of this to
value
.
- public void set_initial (...)
- public void set_initial_value (Value value)
Sets the initial value of this to
value
.
- public void set_interval (...)
- public virtual bool validate (ParamSpec pspec)
Validates the initial and final values of
this against a ParamSpec.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface Clutter.Scriptable