Class
ClutterInterval
since: 1.0
Description [src]
class Clutter.Interval : GObject.InitiallyUnowned {
/* No available fields */
}
The ClutterInterval
structure contains only private data and should
be accessed using the provided functions.
Available since: 1.0
Constructors
clutter_interval_new_with_values
Creates a new ClutterInterval
of type gtype
, between initial
and final
.
since: 1.0
Functions
clutter_interval_register_progress_func
Sets the progress function for a given value_type
, like:
since: 1.0
Instance methods
clutter_interval_compute
Computes the value between the interval
boundaries given the
progress factor
.
since: 1.4
clutter_interval_compute_value
Computes the value between the interval
boundaries given the
progress factor
and copies it into value
.
since: 1.0
clutter_interval_get_final_value
Retrieves the final value of interval
and copies
it into value
.
since: 1.0
clutter_interval_get_initial_value
Retrieves the initial value of interval
and copies
it into value
.
since: 1.0
clutter_interval_get_interval
Variable arguments wrapper for clutter_interval_get_initial_value()
and clutter_interval_get_final_value()
that avoids using the
GValue
arguments:
since: 1.0
clutter_interval_set_final
Variadic arguments version of clutter_interval_set_final_value().
since: 1.10
clutter_interval_set_final_value
Sets the final value of interval
to value
. The value is
copied inside the ClutterInterval
.
since: 1.0
clutter_interval_set_initial
Variadic arguments version of clutter_interval_set_initial_value().
since: 1.10
clutter_interval_set_initial_value
Sets the initial value of interval
to value
. The value is copied
inside the ClutterInterval
.
since: 1.0
clutter_interval_set_interval
Variable arguments wrapper for clutter_interval_set_initial_value()
and clutter_interval_set_final_value()
that avoids using the
GValue
arguments:
since: 1.0
clutter_interval_validate
Validates the initial and final values of interval
against
a GParamSpec
.
since: 1.0
Methods inherited from ClutterScriptable (4)
clutter_scriptable_get_id
Retrieves the id of scriptable
set using clutter_scriptable_set_id().
since: 0.6
clutter_scriptable_parse_custom_node
Parses the passed JSON node. The implementation must set the type
of the passed GValue
pointer using g_value_init().
since: 0.6
clutter_scriptable_set_custom_property
Overrides the common properties setting. The underlying virtual function should be used when implementing custom properties.
since: 0.6
clutter_scriptable_set_id
Sets id_
as the unique Clutter script it for this instance of
ClutterScriptableIface
.
since: 0.6
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct ClutterIntervalClass {
gboolean (* validate) (
ClutterInterval* interval,
GParamSpec* pspec
);
gboolean (* compute_value) (
ClutterInterval* interval,
gdouble factor,
GValue* value
);
void (* _clutter_reserved1) (
void
);
void (* _clutter_reserved2) (
void
);
void (* _clutter_reserved3) (
void
);
void (* _clutter_reserved4) (
void
);
void (* _clutter_reserved5) (
void
);
void (* _clutter_reserved6) (
void
);
}
The ClutterIntervalClass
contains only private data.
Class members
validate: gboolean (* validate) ( ClutterInterval* interval, GParamSpec* pspec )
- No description available.
compute_value: gboolean (* compute_value) ( ClutterInterval* interval, gdouble factor, GValue* value )
- No description available.
_clutter_reserved1: void (* _clutter_reserved1) ( void )
- No description available.
_clutter_reserved2: void (* _clutter_reserved2) ( void )
- No description available.
_clutter_reserved3: void (* _clutter_reserved3) ( void )
- No description available.
_clutter_reserved4: void (* _clutter_reserved4) ( void )
- No description available.
_clutter_reserved5: void (* _clutter_reserved5) ( void )
- No description available.
_clutter_reserved6: void (* _clutter_reserved6) ( void )
- No description available.
Virtual methods
Clutter.IntervalClass.compute_value
Computes the value between the interval
boundaries given the
progress factor
and copies it into value
.
since: 1.0
Clutter.IntervalClass.validate
Validates the initial and final values of interval
against
a GParamSpec
.
since: 1.0