Back to Seed Clases

Clutter


Classes

Interfaces

Structs

Unions

Enums

Class Clutter.Actor

Import line: Clutter = imports.gi.Clutter;
GIR File: Clutter-1.0.gir
C documentation: ClutterActor
Class : Actor
Implements: Atk.ImplementorIface, Clutter.Animatable, Clutter.Scriptable
Subclasses: Champlain.CustomMarker, Champlain.Label, Champlain.Layer, Champlain.License, Champlain.Marker, Champlain.MarkerLayer, Champlain.PathLayer, Champlain.Point, Champlain.Scale, Champlain.Tile, Champlain.View
Extends: GObject.InitiallyUnowned
Base class for actors.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Cally.Actor
Method
new Cally.Actor.c_new (Actor actor) : Atk.Object
Create a new Cally.Actor
Cally.Clone
Method
new Cally.Clone.c_new (Actor actor) : Atk.Object
Create a new Cally.Clone
Cally.Group
Method
new Cally.Group.c_new (Actor actor) : Atk.Object
Create a new Cally.Group
Cally.Rectangle
Method
new Cally.Rectangle.c_new (Actor actor) : Atk.Object
Create a new Cally.Rectangle
Cally.Stage
Method
new Cally.Stage.c_new (Actor actor) : Atk.Object
Create a new Cally.Stage
Cally.Text
Method
new Cally.Text.c_new (Actor actor) : Atk.Object
Create a new Cally.Text
Cally.Texture
Method
new Cally.Texture.c_new (Actor actor) : Atk.Object
Create a new Cally.Texture
Champlain.Label
Property
image : Clutter.Actor
Champlain.Label
Method
new Champlain.Label.full (String text, Actor actor) : Clutter.Actor
Create a new Champlain.Label
Champlain.Label
Method
new Champlain.Label.with_image (Actor actor) : Clutter.Actor
Create a new Champlain.Label
Champlain.Label
Method
get_image () : Clutter.Actor
Champlain.Label
Method
set_image (Actor image) : none
Champlain.Tile
Property
content : Clutter.Actor
Champlain.Tile
Method
get_content () : Clutter.Actor
Champlain.Tile
Method
set_content (Actor actor) : none
Champlain.View
Method
bin_layout_add (Actor child, BinAlignment x_align, BinAlignment y_align) : none
Clutter
Method
Clutter.get_actor_by_gid (guint32 id_) : Clutter.Actor
Clutter
Method
Clutter.get_keyboard_grab () : Clutter.Actor
Queries the current keyboard grab of clutter.
Clutter
Method
Clutter.get_pointer_grab () : Clutter.Actor
Queries the current pointer grab of clutter.
Clutter
Method
Clutter.grab_keyboard (Actor actor) : none
Grabs keyboard events, after the grab is done keyboard
events (ClutterActor::key-press-event and ClutterActor::key-release-event)
are delivered to this actor directly.
Clutter
Method
Clutter.grab_pointer (Actor actor) : none
Grabs pointer events, after the grab is done all pointer related events
(press, motion, release, enter, leave and scroll) are delivered to this
actor directly without passing through both capture and bubble phases of
the event delivery chain.
Clutter
Method
Clutter.grab_pointer_for_device (Actor actor, gint32 id_) : none
Grabs all the pointer events coming from the device id for actor.
Clutter.ActorMeta
Property
actor : Clutter.Actor read only
The ClutterActor attached to the ClutterActorMeta instance
Clutter.ActorMeta
Method
get_actor () : Clutter.Actor
Retrieves a pointer to the ClutterActor that owns meta
Clutter.AlignConstraint
Property
source : Clutter.Actor
The ClutterActor used as the source for the alignment
Clutter.AlignConstraint
Method
new Clutter.AlignConstraint.c_new (Actor source, AlignAxis axis, gfloat factor) : Clutter.Constraint
Create a new Clutter.AlignConstraint
Clutter.AlignConstraint
Method
get_source () : Clutter.Actor
Retrieves the source of the alignment
of the alignment
Clutter.AlignConstraint
Method
set_source (Actor source) : none
Sets the source of the alignment constraint
Clutter.Behaviour
Signal
applied (Behaviour self, Actor actor) : none
The ::apply signal is emitted each time the behaviour is applied
to an actor.
Clutter.Behaviour
Signal
removed (Behaviour self, Actor actor) : none
The ::removed signal is emitted each time a behaviour is not applied
to an actor anymore.
Clutter.Behaviour
Method
apply (Actor actor) : none
Applies behave to actor.
Clutter.Behaviour
Method
get_nth_actor (gint32 index_) : Clutter.Actor
Gets an actor the behaviour was applied to referenced by index num.
Clutter.Behaviour
Method
is_applied (Actor actor) : gboolean
Check if behave applied to actor.
Clutter.Behaviour
Method
remove (Actor actor) : none
Removes actor from the list of ClutterActors to which
Clutter.BinLayout
Method
add (Actor child, BinAlignment x_align, BinAlignment y_align) : none
Adds a ClutterActor to the container using self and
sets the alignment policies for it
This function is equivalent to clutter_container_add_actor()
and clutter_layout_manager_child_set_property() but it does not
require a pointer to the ClutterContainer associated to the
ClutterBinLayout
Clutter.BinLayout
Method
get_alignment (Actor child) : Object
Retrieves the horizontal and vertical alignment policies for
a child of self
If child is NULL the default alignment policies will be returned
instead
Clutter.BinLayout
Method
set_alignment (Actor child, BinAlignment x_align, BinAlignment y_align) : none
Sets the horizontal and vertical alignment policies to be applied
to a child of self
If child is NULL then the x_align and y_align values will
be set as the default alignment policies
Clutter.BindConstraint
Property
source : Clutter.Actor
The ClutterActor used as the source for the binding
Clutter.BindConstraint
Method
new Clutter.BindConstraint.c_new (Actor source, BindCoordinate coordinate, gfloat offset) : Clutter.Constraint
Create a new Clutter.BindConstraint
Clutter.BindConstraint
Method
get_source () : Clutter.Actor
Retrieves the ClutterActor set using clutter_bind_constraint_set_source()
Clutter.BindConstraint
Method
set_source (Actor source) : none
Sets the source ClutterActor for the constraint
Clutter.Box
Method
packv (Actor actor, guint32 n_properties, Array properties, Array values) : none
Vector-based variant of clutter_box_pack(), intended for language
bindings to use
Clutter.BoxLayout
Method
get_alignment (Actor actor) : Object
Retrieves the horizontal and vertical alignment policies for actor
as set using clutter_box_layout_pack() or clutter_box_layout_set_alignment()
Clutter.BoxLayout
Method
get_expand (Actor actor) : gboolean
Retrieves whether actor should expand inside layout
Clutter.BoxLayout
Method
get_fill (Actor actor) : Object
Retrieves the horizontal and vertical fill policies for actor
as set using clutter_box_layout_pack() or clutter_box_layout_set_fill()
Clutter.BoxLayout
Method
pack (Actor actor, gboolean expand, gboolean x_fill, gboolean y_fill, BoxAlignment x_align, BoxAlignment y_align) : none
Packs actor inside the ClutterContainer associated to layout
and sets the layout properties
Clutter.BoxLayout
Method
set_alignment (Actor actor, BoxAlignment x_align, BoxAlignment y_align) : none
Sets the horizontal and vertical alignment policies for actor
inside layout
Clutter.BoxLayout
Method
set_expand (Actor actor, gboolean expand) : none
Sets whether actor should expand inside layout
Clutter.BoxLayout
Method
set_fill (Actor actor, gboolean x_fill, gboolean y_fill) : none
Sets the horizontal and vertical fill policies for actor
inside layout
Clutter.ChildMeta
Property
actor : Clutter.Actor
The ClutterActor being wrapped by this ClutterChildMeta
Clutter.ChildMeta
Method
get_actor () : Clutter.Actor
Retrieves the actor wrapped by data
Clutter.ClickAction
Signal
clicked (ClickAction self, Actor actor) : none
The ::clicked signal is emitted when the ClutterActor to which
a ClutterClickAction has been applied should respond to a
pointer button press and release events
Clutter.Clone
Property
source : Clutter.Actor
This property specifies the source actor being cloned.
Clutter.Clone
Method
new Clutter.Clone.c_new (Actor source) : Clutter.Actor
Create a new Clutter.Clone
Clutter.Clone
Method
get_source () : Clutter.Actor
Retrieves the source ClutterActor being cloned by clone
Clutter.Clone
Method
set_source (Actor source) : none
Sets source as the source actor to be cloned by clone.
Clutter.Container
Signal
actor_added (Container self, Actor actor) : none
The ::actor-added signal is emitted each time an actor
has been added to container.
Clutter.Container
Signal
actor_removed (Container self, Actor actor) : none
The ::actor-removed signal is emitted each time an actor
is removed from container.
Clutter.Container
Signal
child_notify (Container self, Actor actor, ParamSpec pspec) : none
The ::child-notify signal is emitted each time a property is
being set through the clutter_container_child_set() and
clutter_container_child_set_property() calls.
Clutter.Container
Method
add_actor (Actor actor) : none
Adds a ClutterActor to container.
Clutter.Container
Method
child_get_property (Actor child, String property, Value value) : none
Gets a container specific property of a child of container, In general,
a copy is made of the property contents and the caller is responsible for
freeing the memory by calling g_value_unset().
Clutter.Container
Method
child_notify (Actor child, ParamSpec pspec) : none
Clutter.Container
Method
child_set_property (Actor child, String property, Value value) : none
Sets a container-specific property on a child of container.
Clutter.Container
Method
create_child_meta (Actor actor) : none
Creates the ClutterChildMeta wrapping actor inside the
class member is not set to G_TYPE_INVALID.
Clutter.Container
Method
destroy_child_meta (Actor actor) : none
Destroys the ClutterChildMeta wrapping actor inside the
This function is only useful when removing a ClutterActor to
a ClutterContainer implementation outside of the
ClutterContainer::add() virtual function implementation.
Clutter.Container
Method
find_child_by_name (String child_name) : Clutter.Actor
Finds a child actor of a container by its name.
Clutter.Container
Method
get_child_meta (Actor actor) : Clutter.ChildMeta
Retrieves the ClutterChildMeta which contains the data about the
of container or NULL if the specifiec actor does not exist or the
container is not configured to provide ClutterChildMetas
Clutter.Container
Method
lower_child (Actor actor, Actor sibling) : none
Lowers actor to sibling level, in the depth ordering.
Clutter.Container
Method
raise_child (Actor actor, Actor sibling) : none
Raises actor to sibling level, in the depth ordering.
Clutter.Container
Method
remove_actor (Actor actor) : none
Removes actor from container.
Clutter.DragAction
Property
drag_handle : Clutter.Actor
The ClutterActor that is effectively being dragged
A ClutterDragActor will, be default, use the ClutterActor that
has been attached to the action; it is possible to create a
separate ClutterActor and use it instead.
Clutter.DragAction
Signal
drag_begin (DragAction self, Actor actor, gfloat event_x, gfloat event_y, ModifierType modifiers) : none
The ::drag-begin signal is emitted when the ClutterDragAction
starts the dragging
The emission of this signal can be delayed by using the
ClutterDragAction:drag-threshold property
Clutter.DragAction
Signal
drag_end (DragAction self, Actor actor, gfloat event_x, gfloat event_y, ModifierType modifiers) : none
The ::drag-end signal is emitted at the end of the dragging,
when the pointer button's is released
This signal is emitted if and only if the ClutterDragAction::drag-begin
signal has been emitted first
Clutter.DragAction
Signal
drag_motion (DragAction self, Actor actor, gfloat delta_x, gfloat delta_y) : none
Clutter.DragAction
Method
get_drag_handle () : Clutter.Actor
Retrieves the drag handle set by clutter_drag_action_set_drag_handle()
handle, or NULL if none was set
Clutter.DragAction
Method
set_drag_handle (Actor handle) : none
Sets the actor to be used as the drag handle
Clutter.Event
Method
get_related () : Clutter.Actor
Retrieves the related actor of a crossing event.
Clutter.Event
Method
get_source () : Clutter.Actor
Retrieves the source ClutterActor the event originated from, or
NULL if the event has no source.
Clutter.Group
Method
get_nth_child (gint32 index_) : Clutter.Actor
Gets a groups child held at index_ in stack.
Clutter.InputDevice
Method
get_pointer_actor () : Clutter.Actor
Retrieves the ClutterActor underneath the pointer of device
Clutter.LayoutManager
Method
child_get_property (Container container, Actor actor, String property_name, Value value) : none
Gets a property on the ClutterLayoutMeta created by manager and
attached to a child of container
The GValue must already be initialized to the type of the property
and has to be unset with g_value_unset() after extracting the real
value out of it
Clutter.LayoutManager
Method
child_set_property (Container container, Actor actor, String property_name, Value value) : none
Sets a property on the ClutterLayoutMeta created by manager and
attached to a child of container
Clutter.LayoutManager
Method
get_child_meta (Container container, Actor actor) : Clutter.LayoutMeta
Retrieves the ClutterLayoutMeta that the layout manager associated
to the actor child of container, eventually by creating one if the
ClutterLayoutManager supports layout properties
does not have layout properties
Clutter.PaintVolume
Method
set_from_allocation (Actor actor) : gboolean
Clutter.PathConstraint
Signal
node_reached (PathConstraint self, Actor actor, guint32 index) : none
Clutter.SnapConstraint
Property
source : Clutter.Actor
Clutter.SnapConstraint
Method
new Clutter.SnapConstraint.c_new (Actor source, SnapEdge from_edge, SnapEdge to_edge, gfloat offset) : Clutter.Constraint
Create a new Clutter.SnapConstraint
Clutter.SnapConstraint
Method
get_source () : Clutter.Actor
Clutter.SnapConstraint
Method
set_source (Actor source) : none
Clutter.Stage
Property
key_focus : Clutter.Actor
The ClutterActor that will receive key events from the underlying
windowing system.
Clutter.Stage
Method
Clutter.Stage.get_default () : Clutter.Actor
Returns the main stage.
Clutter.Stage
Method
get_actor_at_pos (PickMode pick_mode, gint32 x, gint32 y) : Clutter.Actor
Checks the scene at the coordinates x and y and returns a pointer
to the ClutterActor at those coordinates.
Clutter.Stage
Method
get_key_focus () : Clutter.Actor
Retrieves the actor that is currently under key focus.
Clutter.Stage
Method
set_key_focus (Actor actor) : none
Sets the key focus on actor.
Clutter.TableLayout
Method
get_alignment (Actor actor) : Object
Clutter.TableLayout
Method
get_expand (Actor actor) : Object
Clutter.TableLayout
Method
get_fill (Actor actor) : Object
Clutter.TableLayout
Method
get_span (Actor actor) : Object
Clutter.TableLayout
Method
pack (Actor actor, gint32 column, gint32 row) : none
Clutter.TableLayout
Method
set_alignment (Actor actor, TableAlignment x_align, TableAlignment y_align) : none
Clutter.TableLayout
Method
set_expand (Actor actor, gboolean x_expand, gboolean y_expand) : none
Clutter.TableLayout
Method
set_fill (Actor actor, gboolean x_fill, gboolean y_fill) : none
Clutter.TableLayout
Method
set_span (Actor actor, gint32 column_span, gint32 row_span) : none
Clutter.Texture
Method
new Clutter.Texture.from_actor (Actor actor) : Clutter.Actor
Create a new Clutter.Texture
GtkClutter.Embed
Method
get_stage () : Clutter.Actor
Retrieves the ClutterStage from embed.
GtkClutter.Window
Method
get_stage () : Clutter.Actor
Retrieves the ClutterStage that this window is embedding
Use this function if you wish to add other actors to the ClutterStage.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:09:25 GMT+0800 (HKT)