Packages
clutter-1.0
Clutter
Alpha
alpha
mode
timeline
register_closure
register_func
Alpha
Alpha.full
Alpha.with_func
get_alpha
get_mode
get_timeline
set_closure
set_func
set_mode
set_timeline
Stays crunchy ...
... even in milk.
Valadoc
Vala
Tutorial
Vala Journal
API-References
Markup
About
Alpha
Object Hierarchy:
Description:
public
class
Alpha
:
InitiallyUnowned
,
Scriptable
Base class for
Alpha
Namespace:
Clutter
Package:
clutter-1.0
Content:
Properties:
public
double
alpha
{
get
; }
The alpha value as computed by the alpha function.
public
ulong
mode
{
construct
set
;
get
; }
The progress function logical id - either a value from the
AnimationMode
enumeration or a value returned by
register_func
.
public
Timeline
timeline
{
set
;
get
; }
A
Timeline
instance used to drive the alpha function.
Static methods:
public
static
ulong
register_closure
(
Closure
closure)
Closure
variant of
register_func
.
public
static
ulong
register_func
(
AlphaFunc
func)
Registers a global alpha function and returns its logical id to be used by
set_mode
or by
Animation
.
Creation methods:
public
Alpha
()
Creates a new
Alpha
instance.
public
Alpha.full
(
Timeline
timeline,
ulong
mode)
Creates a new
Alpha
instance and sets the timeline and animation mode.
public
Alpha.with_func
(
Timeline
timeline,
owned
AlphaFunc
func)
Creates a new
Alpha
instances and sets the timeline and the alpha function.
Methods:
public
double
get_alpha
()
Query the current alpha value.
public
ulong
get_mode
()
Retrieves the
AnimationMode
used by
alpha
.
public
weak
Timeline
get_timeline
()
Gets the
Timeline
bound to
alpha
.
public
void
set_closure
(
Closure
closure)
Sets the
Closure
used to compute the alpha value at each frame of the
Timeline
bound to
alpha
.
public
void
set_func
(
owned
AlphaFunc
func)
Sets the
AlphaFunc
function used to compute the alpha value at each frame of the
Timeline
bound to
alpha
.
public
void
set_mode
(
ulong
mode)
Sets the progress function of
alpha
using the symbolic value of
mode
, as taken by the
AnimationMode
enumeration or using the value returned by
register_func
.
public
void
set_timeline
(
Timeline
timeline)
Binds
alpha
to
timeline
.
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count
All known members inherited from interface Clutter.Scriptable
get_id
parse_custom_node
set_custom_property
set_id