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: Clutter.Scriptable
Extends: GObject.InitiallyUnowned
  Show / Hide Inherited methods, properties and signals
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
Clutter
Method
Clutter.get_actor_by_gid (Number 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, Number id) : none
Grabs all the pointer events coming from the device id for actor.
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
remove (Actor actor) : none
Removes actor from the list of ClutterActors to which
Clutter.Behaviour
Method
get_nth_actor (Number index_) : Clutter.Actor
Gets an actor the behaviour was applied to referenced by index num.
Clutter.Behaviour
Method
is_applied (Actor actor) : Boolean
Check if behave applied to actor.
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.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
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.Box
Method
packv (Actor actor, Number n_properties, Array properties, Array values) : none
Vector-based variant of clutter_box_pack(), intended for language bindings to use
Clutter.BoxLayout
Method
pack (Actor actor, Boolean expand, Boolean x_fill, Boolean 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
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
set_fill (Actor actor, Boolean x_fill, Boolean y_fill) : none
Sets the horizontal and vertical fill policies for actor 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
set_expand (Actor actor, Boolean expand) : none
Sets whether actor should expand inside layout
Clutter.BoxLayout
Method
get_expand (Actor actor) : Boolean
Retrieves whether actor should expand 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.Clone
Property
source : Clutter.Actor
This property specifies the source actor being cloned.
Clutter.Clone
Method
new Clutter.Clone.c_new (Actor source) : Clutter.Clone
Create a new Clutter.Clone
Clutter.Clone
Method
set_source (Actor source) : none
Sets source as the source actor to be cloned by clone.
Clutter.Clone
Method
get_source () : Clutter.Actor
Retrieves the source ClutterActor being 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 since) : 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
remove_actor (Actor actor) : none
Removes actor from container.
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
raise_child (Actor actor, Actor sibling) : none
Raises actor to sibling level, in the depth ordering.
Clutter.Container
Method
lower_child (Actor actor, Actor sibling) : none
Lowers actor to sibling level, in the depth ordering.
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
get_child_meta (Actor actor) : Clutter.ChildMeta
Retrieves the ClutterChildMeta which contains the data about the
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
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.Event
Method
get_source () : Clutter.Actor
Retrieves the source ClutterActor the event originated from, or NULL if the event has no source.
Clutter.Event
Method
get_related () : Clutter.Actor
Retrieves the related actor of a crossing event.
Clutter.Group
Method
get_nth_child (Number 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
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
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
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.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, Number x, Number 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
set_key_focus (Actor actor) : none
Sets the key focus on actor.
Clutter.Stage
Method
get_key_focus () : Clutter.Actor
Retrieves the actor that is currently under key focus.
Clutter.Texture
Method
new Clutter.Texture.from_actor (Actor actor) : Clutter.Texture
Create a new Clutter.Texture
GtkClutter
Method
GtkClutter.bind_dimensions (Actor src, Actor dest, BindDirection dir) : none
This utility function copies the width/height from the actor src to the actor dest.
GtkClutter
Method
GtkClutter.texture_new_from_icon_name (Widget widget, String icon_name, IconSize size) : Clutter.Actor
Creates a new ClutterTexture and sets its contents to be the icon_name from the current icon theme.
GtkClutter
Method
GtkClutter.texture_new_from_pixbuf (Pixbuf pixbuf) : Clutter.Actor
Creates a new ClutterTexture and sets its contents with a copy of pixbuf.
GtkClutter
Method
GtkClutter.texture_new_from_stock (Widget widget, String stock_id, IconSize size) : Clutter.Actor
Creates a new ClutterTexture and sets its contents using the stock icon stock_id as rendered by widget.
GtkClutter.Embed
Method
get_stage () : Clutter.Actor
Retrieves the ClutterStage from embed.
GtkClutter.Offscreen
Method
new GtkClutter.Offscreen.c_new (Actor actor) : GtkClutter.Offscreen
Create a new GtkClutter.Offscreen
GtkClutter.Standin
Property
actor : Clutter.Actor
GtkClutter.Standin
Method
new GtkClutter.Standin.c_new (Actor actor) : GtkClutter.Standin
Create a new GtkClutter.Standin
GtkClutter.Standin
Method
set_actor (Actor actor) : none
Sets the actor for which the GtkClutterStandin stands for
GtkClutter.Standin
Method
get_actor () : Clutter.Actor
Retrieves a pointer to the actor that is represented by the standin widget
GtkClutter.Viewport
Property
child : Clutter.Actor
The ClutterActor inside the viewport.
GtkClutter.Window
Method
get_stage () : Clutter.Actor
Retrieves the ClutterStage that this window is mounting the GTK+ widget tree onto.
GtkClutter.Window
Method
get_actor () : Clutter.Actor
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:32:34 GMT+0800 (HKT)