ActorManager
Object Hierarchy:
Description:
[ CCode ( type_id = "mx_actor_manager_get_type ()" ) ]
public class ActorManager : Object
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public ulong add_actor (Actor container, Actor actor)
Adds actor
to container
.
- public void cancel_operation (ulong id)
Cancels the given operation, if it exists.
- public void cancel_operations (Actor actor)
Cancels all operations associated with the given actor.
- public uint get_n_operations ()
Retrieves the amount of operations left in the queue.
- public unowned Stage get_stage ()
Gets the Stage the actor manager is
associated with.
- public uint get_time_slice ()
Retrieves the current time slice being used for operations.
- public ulong remove_actor (Actor container, Actor actor)
Removes actor
from container
.
- public void remove_container (Actor container)
Removes the container.
- public void set_time_slice (uint msecs)
Sets the amount of time the actor manager will spend performing
operations, before yielding to allow any necessary redrawing to occur.
Signals:
- public virtual signal void actor_added (ulong id, Actor container, Actor actor)
Emitted when an actor add operation has completed.
- public virtual signal void actor_created (ulong id, Actor actor)
Emitted when an actor creation operation has completed.
- public virtual signal void actor_finished (Actor actor)
Emitted when all queued operations involving actor
have
completed.
- public virtual signal void actor_removed (ulong id, Actor container, Actor actor)
Emitted when an actor remove operation has completed.
- public virtual signal void operation_cancelled (ulong id)
Emitted when an operation has been cancelled.
- public virtual signal void operation_completed (ulong id)
Emitted when an operation has completed successfully.
- public virtual signal void operation_failed (ulong id, Error error)
Emitted when an operation has failed.
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