Interval


Description:

[ CCode ( has_construct_function = false ) ]
public Interval (Type gtype, ...)

Creates a new Interval holding values of type gtype.

This function avoids using a Value for the initial and final values of the interval:

  interval = clutter_interval_new (G_TYPE_FLOAT, 0.0, 1.0);
interval = clutter_interval_new (G_TYPE_BOOLEAN, FALSE, TRUE);
interval = clutter_interval_new (G_TYPE_INT, 0, 360);

Parameters:

gtype

the type of the values in the interval

...

the initial value and the final value of the interval

Returns:

the newly created Interval