GObject.Object
GObject.InitiallyUnowned
Clutter.Actor
Clutter.Text
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterText |
Class : | Text |
Implements: | Atk.ImplementorIface, Clutter.Animatable, Clutter.Scriptable |
Extends: | Clutter.Actor |
Properties | Defined By | |
---|---|---|
actions : Clutter.Action
Adds a ClutterAction to the actor
Adds a ClutterAction to the actor
|
Clutter.Actor | |
activatable : gboolean
Toggles whether return invokes the activate signal or not.
Toggles whether return invokes the activate signal or not.
|
Clutter.Text | |
allocation : Clutter.ActorBox
read only
The allocation for the actor, in pixels
This is property is read-only, but you might monitor it to know when an actor moves or resizes The allocation for the actor, in pixels
This is property is read-only, but you might monitor it to know when an actor moves or resizes |
Clutter.Actor | |
anchor_gravity : Clutter.Gravity
The anchor point expressed as a ClutterGravity
The anchor point expressed as a ClutterGravity
|
Clutter.Actor | |
anchor_x : gfloat
The X coordinate of an actor's anchor point, relative to
the actor coordinate space, in pixels The X coordinate of an actor's anchor point, relative to
the actor coordinate space, in pixels |
Clutter.Actor | |
anchor_y : gfloat
The Y coordinate of an actor's anchor point, relative to
the actor coordinate space, in pixels The Y coordinate of an actor's anchor point, relative to
the actor coordinate space, in pixels |
Clutter.Actor | |
attributes : Pango.AttrList
A list of PangoStyleAttributes to be applied to the
contents of the ClutterText actor. A list of PangoStyleAttributes to be applied to the
contents of the ClutterText actor. |
Clutter.Text | |
clip : Clutter.Geometry
The clip region for the actor, in actor-relative coordinates
Every part of the actor outside the clip region will not be painted The clip region for the actor, in actor-relative coordinates
Every part of the actor outside the clip region will not be painted |
Clutter.Actor | |
clip_to_allocation : gboolean
Whether the clip region should track the allocated area
of the actor. Whether the clip region should track the allocated area
of the actor. This property is ignored if a clip area has been explicitly set using clutter_actor_set_clip(). |
Clutter.Actor | |
color : Clutter.Color
The color used to render the text.
The color used to render the text.
|
Clutter.Text | |
constraints : Clutter.Constraint
Adds a ClutterConstaint to the actor
Adds a ClutterConstaint to the actor
|
Clutter.Actor | |
cursor_color : Clutter.Color
The color of the cursor.
The color of the cursor.
|
Clutter.Text | |
cursor_color_set : gboolean
read only
Will be set to TRUE if ClutterText:cursor-color has been set.
Will be set to TRUE if ClutterText:cursor-color has been set.
|
Clutter.Text | |
cursor_size : gint32
The size of the cursor, in pixels.
The size of the cursor, in pixels. If set to -1 the size used will
be the default cursor size of 2 pixels. |
Clutter.Text | |
cursor_visible : gboolean
Whether the input cursor is visible or not, it will only be visible
if both ClutterText:cursor-visible and ClutterText:editable are set to TRUE. Whether the input cursor is visible or not, it will only be visible
if both ClutterText:cursor-visible and ClutterText:editable are set to TRUE. |
Clutter.Text | |
depth : gfloat
The position of the actor on the Z axis
The position of the actor on the Z axis
|
Clutter.Actor | |
editable : gboolean
Whether key events delivered to the actor causes editing.
Whether key events delivered to the actor causes editing.
|
Clutter.Text | |
effect : Clutter.Effect
Adds ClutterEffect to the list of effects be applied on a ClutterActor
Adds ClutterEffect to the list of effects be applied on a ClutterActor
|
Clutter.Actor | |
ellipsize : Pango.EllipsizeMode
The preferred place to ellipsize the contents of the ClutterText actor
The preferred place to ellipsize the contents of the ClutterText actor
|
Clutter.Text | |
fixed_position_set : gboolean
This flag controls whether the ClutterActor:fixed-x and
ClutterActor:fixed-y properties are used This flag controls whether the ClutterActor:fixed-x and
ClutterActor:fixed-y properties are used |
Clutter.Actor | |
fixed_x : gfloat
The fixed X position of the actor in pixels.
The fixed X position of the actor in pixels.
Writing this property sets ClutterActor:fixed-position-set property as well, as a side effect |
Clutter.Actor | |
fixed_y : gfloat
The fixed Y position of the actor in pixels.
The fixed Y position of the actor in pixels.
Writing this property sets the ClutterActor:fixed-position-set property as well, as a side effect |
Clutter.Actor | |
flags : guint32
read only
|
Clutter.Actor | |
font_description : Pango.FontDescription
The PangoFontDescription that should be used by the ClutterText
If you have a string describing the font then you should look at ClutterText:font-name instead The PangoFontDescription that should be used by the ClutterText
If you have a string describing the font then you should look at ClutterText:font-name instead |
Clutter.Text | |
font_name : String
The font to be used by the ClutterText, as a string
that can be parsed by pango_font_description_from_string(). The font to be used by the ClutterText, as a string
that can be parsed by pango_font_description_from_string(). If set to NULL, the default system font will be used instead. |
Clutter.Text | |
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
has_clip : gboolean
read only
Whether the actor has the ClutterActor:clip property set or not
Whether the actor has the ClutterActor:clip property set or not
|
Clutter.Actor | |
has_pointer : gboolean
read only
Whether the actor contains the pointer of a ClutterInputDevice
or not. Whether the actor contains the pointer of a ClutterInputDevice
or not. |
Clutter.Actor | |
height : gfloat
Height of the actor (in pixels).
Height of the actor (in pixels). If written, forces the minimum and
natural size request of the actor to the given height. If read, returns the allocated height if available, otherwise the height request. |
Clutter.Actor | |
justify : gboolean
Whether the contents of the ClutterText should be justified
on both margins. Whether the contents of the ClutterText should be justified
on both margins. |
Clutter.Text | |
line_alignment : Pango.Alignment
The preferred alignment for the text.
The preferred alignment for the text. This property controls
the alignment of multi-line paragraphs. |
Clutter.Text | |
line_wrap : gboolean
Whether to wrap the lines of ClutterText:text if the contents
exceed the available allocation. Whether to wrap the lines of ClutterText:text if the contents
exceed the available allocation. The wrapping strategy is controlled by the ClutterText:line-wrap-mode property. |
Clutter.Text | |
line_wrap_mode : Pango.WrapMode
If ClutterText:line-wrap is set to TRUE, this property will
control how the text is wrapped. If ClutterText:line-wrap is set to TRUE, this property will
control how the text is wrapped. |
Clutter.Text | |
mapped : gboolean
read only
Whether the actor is mapped (will be painted when the stage
to which it belongs is mapped) Whether the actor is mapped (will be painted when the stage
to which it belongs is mapped) |
Clutter.Actor | |
max_length : gint32
The maximum length of the contents of the ClutterText actor.
The maximum length of the contents of the ClutterText actor.
|
Clutter.Text | |
min_height : gfloat
A forced minimum height request for the actor, in pixels
Writing this property sets the ClutterActor:min-height-set property as well, as a side effect. A forced minimum height request for the actor, in pixels
Writing this property sets the ClutterActor:min-height-set property as well, as a side effect. This property overrides the usual height request of the actor. |
Clutter.Actor | |
min_height_set : gboolean
This flag controls whether the ClutterActor:min-height property
is used This flag controls whether the ClutterActor:min-height property
is used |
Clutter.Actor | |
min_width : gfloat
A forced minimum width request for the actor, in pixels
Writing this property sets the ClutterActor:min-width-set property as well, as a side effect. A forced minimum width request for the actor, in pixels
Writing this property sets the ClutterActor:min-width-set property as well, as a side effect. This property overrides the usual width request of the actor. |
Clutter.Actor | |
min_width_set : gboolean
This flag controls whether the ClutterActor:min-width property
is used This flag controls whether the ClutterActor:min-width property
is used |
Clutter.Actor | |
name : String
The name of the actor
The name of the actor
|
Clutter.Actor | |
natural_height : gfloat
A forced natural height request for the actor, in pixels
Writing this property sets the ClutterActor:natural-height-set property as well, as a side effect. A forced natural height request for the actor, in pixels
Writing this property sets the ClutterActor:natural-height-set property as well, as a side effect. This property overrides the usual height request of the actor |
Clutter.Actor | |
natural_height_set : gboolean
This flag controls whether the ClutterActor:natural-height property
is used This flag controls whether the ClutterActor:natural-height property
is used |
Clutter.Actor | |
natural_width : gfloat
A forced natural width request for the actor, in pixels
Writing this property sets the ClutterActor:natural-width-set property as well, as a side effect. A forced natural width request for the actor, in pixels
Writing this property sets the ClutterActor:natural-width-set property as well, as a side effect. This property overrides the usual width request of the actor |
Clutter.Actor | |
natural_width_set : gboolean
This flag controls whether the ClutterActor:natural-width property
is used This flag controls whether the ClutterActor:natural-width property
is used |
Clutter.Actor | |
opacity : guint32
Opacity of an actor, between 0 (fully transparent) and
255 (fully opaque) Opacity of an actor, between 0 (fully transparent) and
255 (fully opaque) |
Clutter.Actor | |
parent_instance : Clutter.Actor
read only
|
Clutter.Text | |
password_char : guint32
If non-zero, the character that should be used in place of
the actual text in a password text actor. If non-zero, the character that should be used in place of
the actual text in a password text actor. |
Clutter.Text | |
position : gint32
The current input cursor position.
The current input cursor position. -1 is taken to be the end of the text
|
Clutter.Text | |
priv : Clutter.TextPrivate
read only
|
Clutter.Text | |
private_flags : guint32
read only
|
Clutter.Actor | |
qdata : GLib.Data
read only
|
GObject.InitiallyUnowned | |
reactive : gboolean
Whether the actor is reactive to events or not
Only reactive actors will emit event-related signals Whether the actor is reactive to events or not
Only reactive actors will emit event-related signals |
Clutter.Actor | |
realized : gboolean
read only
Whether the actor has been realized
Whether the actor has been realized
|
Clutter.Actor | |
ref_count : guint32
read only
|
GObject.InitiallyUnowned | |
request_mode : Clutter.RequestMode
Request mode for the ClutterActor.
Request mode for the ClutterActor. The request mode determines the
type of geometry management used by the actor, either height for width (the default) or width for height. For actors implementing height for width, the parent container should get the preferred width first, and then the preferred height for that width. For actors implementing width for height, the parent container should get the preferred height first, and then the preferred width for that height. For instance: |[ ClutterRequestMode mode; gfloat natural_width, min_width; gfloat natural_height, min_height; mode = clutter_actor_get_request_mode (child); if (mode == CLUTTER_REQUEST_HEIGHT_FOR_WIDTH) { clutter_actor_get_preferred_width (child, -1, &min_width, &natural_width); clutter_actor_get_preferred_height (child, natural_width, &min_height, &natural_height); } else { clutter_actor_get_preferred_height (child, -1, &min_height, &natural_height); clutter_actor_get_preferred_width (child, natural_height, &min_width, &natural_width); } ]| will retrieve the minimum and natural width and height depending on the preferred request mode of the ClutterActor "child". The clutter_actor_get_preferred_size() function will implement this check for you. |
Clutter.Actor | |
rotation_angle_x : gdouble
The rotation angle on the X axis
The rotation angle on the X axis
|
Clutter.Actor | |
rotation_angle_y : gdouble
The rotation angle on the Y axis
The rotation angle on the Y axis
|
Clutter.Actor | |
rotation_angle_z : gdouble
The rotation angle on the Z axis
The rotation angle on the Z axis
|
Clutter.Actor | |
rotation_center_x : Clutter.Vertex
The rotation center on the X axis.
The rotation center on the X axis.
|
Clutter.Actor | |
rotation_center_y : Clutter.Vertex
The rotation center on the Y axis.
The rotation center on the Y axis.
|
Clutter.Actor | |
rotation_center_z : Clutter.Vertex
The rotation center on the Z axis.
The rotation center on the Z axis.
|
Clutter.Actor | |
rotation_center_z_gravity : Clutter.Gravity
The rotation center on the Z axis expressed as a ClutterGravity.
The rotation center on the Z axis expressed as a ClutterGravity.
|
Clutter.Actor | |
scale_center_x : gfloat
The horizontal center point for scaling
The horizontal center point for scaling
|
Clutter.Actor | |
scale_center_y : gfloat
The vertical center point for scaling
The vertical center point for scaling
|
Clutter.Actor | |
scale_gravity : Clutter.Gravity
The center point for scaling expressed as a ClutterGravity
The center point for scaling expressed as a ClutterGravity
|
Clutter.Actor | |
scale_x : gdouble
The horizontal scale of the actor
The horizontal scale of the actor
|
Clutter.Actor | |
scale_y : gdouble
The vertical scale of the actor
The vertical scale of the actor
|
Clutter.Actor | |
selectable : gboolean
Whether it is possible to select text, either using the pointer
or the keyboard. Whether it is possible to select text, either using the pointer
or the keyboard. |
Clutter.Text | |
selection_bound : gint32
The current input cursor position.
The current input cursor position. -1 is taken to be the end of the text
|
Clutter.Text | |
selection_color : Clutter.Color
The color of the selection.
The color of the selection.
|
Clutter.Text | |
selection_color_set : gboolean
read only
Will be set to TRUE if ClutterText:selection-color has been set.
Will be set to TRUE if ClutterText:selection-color has been set.
|
Clutter.Text | |
show_on_set_parent : gboolean
If TRUE, the actor is automatically shown when parented.
If TRUE, the actor is automatically shown when parented.
Calling clutter_actor_hide() on an actor which has not been parented will set this property to FALSE as a side effect. |
Clutter.Actor | |
single_line_mode : gboolean
Whether the ClutterText actor should be in single line mode
or not. Whether the ClutterText actor should be in single line mode
or not. A single line ClutterText actor will only contain a single line of text, scrolling it in case its length is bigger than the allocated size. Setting this property will also set the ClutterText:activatable property as a side-effect. The ClutterText:single-line-mode property is used only if the ClutterText:editable property is set to TRUE. |
Clutter.Text | |
text : String
The text to render inside the actor.
The text to render inside the actor.
|
Clutter.Text | |
text_direction : Clutter.TextDirection
|
Clutter.Actor | |
use_markup : gboolean
Whether the text includes Pango markup.
Whether the text includes Pango markup. See pango_layout_set_markup()
in the Pango documentation. |
Clutter.Text | |
visible : gboolean
Whether the actor is set to be visible or not
See also ClutterActor:mapped Whether the actor is set to be visible or not
See also ClutterActor:mapped |
Clutter.Actor | |
width : gfloat
Width of the actor (in pixels).
Width of the actor (in pixels). If written, forces the minimum and
natural size request of the actor to the given width. If read, returns the allocated width if available, otherwise the width request. |
Clutter.Actor | |
x : gfloat
X coordinate of the actor in pixels.
X coordinate of the actor in pixels. If written, forces a fixed
position for the actor. If read, returns the fixed position if any, otherwise the allocation if available, otherwise 0. |
Clutter.Actor | |
y : gfloat
Y coordinate of the actor in pixels.
Y coordinate of the actor in pixels. If written, forces a fixed
position for the actor. If read, returns the fixed position if any, otherwise the allocation if available, otherwise 0. |
Clutter.Actor |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.Text
(Object properties)
Create a new Clutter.Text
Create a new Clutter.Text
|
||
Create a new Clutter.Text
Create a new Clutter.Text
|
||
Create a new Clutter.Text
Create a new Clutter.Text
|
||
activate
()
:
gboolean
Emits the ClutterText::activate signal, if self has been set
as activatable using clutter_text_set_activatable().
Emits the ClutterText::activate signal, if self has been set
as activatable using clutter_text_set_activatable(). This function can be used to emit the ::activate signal inside a ClutterActor::captured-event or ClutterActor::key-press-event signal handlers before the default signal handler for the ClutterText is invoked. and FALSE otherwise
|
Clutter.Text | |
add_action
(Action action)
:
none
Adds action to the list of actions applied to self
A ClutterAction can only belong to one actor at a time The ClutterActor will hold a reference on action until either clutter_actor_remove_action() or clutter_actor_clear_actions() is called
Adds action to the list of actions applied to self
A ClutterAction can only belong to one actor at a time The ClutterActor will hold a reference on action until either clutter_actor_remove_action() or clutter_actor_clear_actions() is called
|
Clutter.Actor | |
A convenience function for setting the name of a ClutterAction
while adding it to the list of actions applied to self This function is the logical equivalent of: |[ clutter_actor_meta_set_name (CLUTTER_ACTOR_META (action), name); clutter_actor_add_action (self, action); ]|
A convenience function for setting the name of a ClutterAction
while adding it to the list of actions applied to self This function is the logical equivalent of: |[ clutter_actor_meta_set_name (CLUTTER_ACTOR_META (action), name); clutter_actor_add_action (self, action); ]|
|
Clutter.Actor | |
add_constraint
(Constraint constraint)
:
none
Adds constraint to the list of ClutterConstraints applied
to self The ClutterActor will hold a reference on the constraint until either clutter_actor_remove_constraint() or clutter_actor_clear_constraints() is called.
Adds constraint to the list of ClutterConstraints applied
to self The ClutterActor will hold a reference on the constraint until either clutter_actor_remove_constraint() or clutter_actor_clear_constraints() is called.
|
Clutter.Actor | |
add_constraint_with_name
(String name, Constraint constraint)
:
none
A convenience function for setting the name of a ClutterConstraint
while adding it to the list of constraints applied to self This function is the logical equivalent of: |[ clutter_actor_meta_set_name (CLUTTER_ACTOR_META (constraint), name); clutter_actor_add_constraint (self, constraint); ]|
A convenience function for setting the name of a ClutterConstraint
while adding it to the list of constraints applied to self This function is the logical equivalent of: |[ clutter_actor_meta_set_name (CLUTTER_ACTOR_META (constraint), name); clutter_actor_add_constraint (self, constraint); ]|
|
Clutter.Actor | |
add_effect
(Effect effect)
:
none
Adds effect to the list of ClutterEffects applied to self
The ClutterActor will hold a reference on the effect until either clutter_actor_remove_effect() or clutter_actor_clear_effects() is called.
Adds effect to the list of ClutterEffects applied to self
The ClutterActor will hold a reference on the effect until either clutter_actor_remove_effect() or clutter_actor_clear_effects() is called.
|
Clutter.Actor | |
A convenience function for setting the name of a ClutterEffect
while adding it to the list of effectss applied to self This function is the logical equivalent of: |[ clutter_actor_meta_set_name (CLUTTER_ACTOR_META (effect), name); clutter_actor_add_effect (self, effect); ]|
A convenience function for setting the name of a ClutterEffect
while adding it to the list of effectss applied to self This function is the logical equivalent of: |[ clutter_actor_meta_set_name (CLUTTER_ACTOR_META (effect), name); clutter_actor_add_effect (self, effect); ]|
|
Clutter.Actor | |
allocate
(ActorBox box, AllocationFlags flags)
:
none
Called by the parent of an actor to assign the actor its size.
Called by the parent of an actor to assign the actor its size.
Should never be called by applications (except when implementing a container or layout manager). Actors can know from their allocation box whether they have moved with respect to their parent actor. The flags parameter describes additional information about the allocation, for instance whether the parent has moved with respect to the stage, for example because a grandparent's origin has moved.
|
Clutter.Actor | |
allocate_align_fill
(ActorBox box, gdouble x_align, gdouble y_align, gboolean x_fill, gboolean y_fill, AllocationFlags flags)
:
none
|
Clutter.Actor | |
allocate_available_size
(gfloat x, gfloat y, gfloat available_width, gfloat available_height, AllocationFlags flags)
:
none
Allocates self taking into account the ClutterActor's
preferred size, but limiting it to the maximum available width and height provided.
Allocates self taking into account the ClutterActor's
preferred size, but limiting it to the maximum available width and height provided. This function will do the right thing when dealing with the actor's request mode. The implementation of this function is equivalent to: |[ if (request_mode == CLUTTER_REQUEST_HEIGHT_FOR_WIDTH) { clutter_actor_get_preferred_width (self, available_height, &min_width, &natural_width); width = CLAMP (natural_width, min_width, available_width); clutter_actor_get_preferred_height (self, width, &min_height, &natural_height); height = CLAMP (natural_height, min_height, available_height); } else { clutter_actor_get_preferred_height (self, available_width, &min_height, &natural_height); height = CLAMP (natural_height, min_height, available_height); clutter_actor_get_preferred_width (self, height, &min_width, &natural_width); width = CLAMP (natural_width, min_width, available_width); } box.x1 = x; box.y1 = y; box.x2 = box.x1 + available_width; box.y2 = box.y1 + available_height; clutter_actor_allocate (self, &box, flags); ]| This function can be used by fluid layout managers to allocate an actor's preferred size without making it bigger than the area available for the container.
|
Clutter.Actor | |
allocate_preferred_size
(AllocationFlags flags)
:
none
Allocates the natural size of self.
Allocates the natural size of self.
This function is a utility call for ClutterActor implementations that allocates the actor's preferred natural size. It can be used by fixed layout managers (like ClutterGroup or so called 'composite actors') inside the ClutterActor::allocate implementation to give each child exactly how much space it requires. This function is not meant to be used by applications. It is also not meant to be used outside the implementation of the ClutterActor::allocate virtual function.
|
Clutter.Actor | |
animate_property
(Animation animation, String property_name, Value initial_value, Value final_value, gdouble progress, Value value)
:
gboolean
Calls the animate_property() virtual function for animatable.
Calls the animate_property() virtual function for animatable.
The initial_value and final_value GValues must contain the same type; value must have been initialized to the same type of initial_value and final_value. All implementation of the ClutterAnimatable interface must implement this function. be applied to the ClutterAnimatable, and FALSE otherwise
|
Clutter.Animatable | |
animate_with_alphav
(Alpha alpha, gint32 n_properties, Array properties, Array values)
:
Clutter.Animation
Animates the given list of properties of actor between the current
value for each property and a new final value.
Animates the given list of properties of actor between the current
value for each property and a new final value. The animation has a definite behaviour given by the passed alpha. See clutter_actor_animate() for further details. This function is useful if you want to use an existing ClutterAlpha to animate actor. This is the vector-based variant of clutter_actor_animate_with_alpha(), useful for language bindings. not allow you to specify "signal::" names and callbacks. ClutterActor and should not be unreferenced with g_object_unref()
|
Clutter.Actor | |
animate_with_timelinev
(guint32 mode, Timeline timeline, gint32 n_properties, Array properties, Array values)
:
Clutter.Animation
Animates the given list of properties of actor between the current
value for each property and a new final value.
Animates the given list of properties of actor between the current
value for each property and a new final value. The animation has a definite duration given by timeline and a speed given by the mode. See clutter_actor_animate() for further details. This function is useful if you want to use an existing timeline to animate actor. This is the vector-based variant of clutter_actor_animate_with_timeline(), useful for language bindings. will not allow you to specify "signal::" names and callbacks. owned by the ClutterActor and should not be unreferenced with g_object_unref()
|
Clutter.Actor | |
animatev
(guint32 mode, guint32 duration, gint32 n_properties, Array properties, Array values)
:
Clutter.Animation
Animates the given list of properties of actor between the current
value for each property and a new final value.
Animates the given list of properties of actor between the current
value for each property and a new final value. The animation has a definite duration and a speed given by the mode. This is the vector-based variant of clutter_actor_animate(), useful for language bindings. allow you to specify "signal::" names and callbacks. owned by the ClutterActor and should not be unreferenced with g_object_unref()
|
Clutter.Actor | |
Transforms point in coordinates relative to the actor into
ancestor-relative coordinates using the relevant transform stack (i.e.
Transforms point in coordinates relative to the actor into
ancestor-relative coordinates using the relevant transform stack (i.e. scale, rotation, etc). If ancestor is NULL the ancestor will be the ClutterStage. In this case, the coordinates returned will be the coordinates on the stage before the projection is applied. This is different from the behaviour of clutter_actor_apply_transform_to_point().
|
Clutter.Actor | |
Transforms point in coordinates relative to the actor
into screen-relative coordinates with the current actor transformation (i.e.
Transforms point in coordinates relative to the actor
into screen-relative coordinates with the current actor transformation (i.e. scale, rotation, etc)
|
Clutter.Actor | |
clear_actions
()
:
none
Clears the list of actions applied to self
Clears the list of actions applied to self
|
Clutter.Actor | |
clear_constraints
()
:
none
Clears the list of constraints applied to self
Clears the list of constraints applied to self
|
Clutter.Actor | |
clear_effects
()
:
none
Clears the list of effects applied to self
Clears the list of effects applied to self
|
Clutter.Actor | |
Determines if descendant is contained inside self (either as an
immediate child, or as a deeper descendant).
Determines if descendant is contained inside self (either as an
immediate child, or as a deeper descendant).
|
Clutter.Actor | |
create_pango_context
()
:
Pango.Context
Creates a PangoContext for the given actor.
Creates a PangoContext for the given actor. The PangoContext
is already configured using the appropriate font map, resolution and font options. See also clutter_actor_get_pango_context(). on the returned value to deallocate its resources
|
Clutter.Actor | |
create_pango_layout
(String text)
:
Pango.Layout
Creates a new PangoLayout from the same PangoContext used
by the ClutterActor.
Creates a new PangoLayout from the same PangoContext used
by the ClutterActor. The PangoLayout is already configured with the font map, resolution and font options, and the given text. If you want to keep around a PangoLayout created by this function you will have to connect to the ClutterBackend::font-changed and ClutterBackend::resolution-changed signals, and call pango_layout_context_changed() in response to them. when done
|
Clutter.Actor | |
delete_chars
(guint32 n_chars)
:
none
Deletes n_chars inside a ClutterText actor, starting from the
current cursor position.
Deletes n_chars inside a ClutterText actor, starting from the
current cursor position.
|
Clutter.Text | |
delete_selection
()
:
gboolean
Deletes the currently selected text
This function is only useful in subclasses of ClutterText is empty, and FALSE otherwise
Deletes the currently selected text
This function is only useful in subclasses of ClutterText is empty, and FALSE otherwise
|
Clutter.Text | |
Deletes the text inside a ClutterText actor between start_pos
and end_pos. |
Clutter.Text | |
destroy
()
:
none
Destroys an actor.
Destroys an actor. When an actor is destroyed, it will break any
references it holds to other objects. If the actor is inside a container, the actor will be removed. When you destroy a container, its children will be destroyed as well. clutter_stage_get_default().
|
Clutter.Actor | |
detach_animation
()
:
none
|
Clutter.Actor | |
This function is used to emit an event on the main stage.
This function is used to emit an event on the main stage.
You should rarely need to use this function, except for synthetising events. if the actor handled the event, or FALSE if the event was not handled
|
Clutter.Actor | |
find_property
(String property_name)
:
GObject.ParamSpec
Finds the GParamSpec for property_name
or NULL
Finds the GParamSpec for property_name
or NULL
|
Clutter.Animatable | |
get_abs_allocation_vertices
()
:
Array
Calculates the transformed screen coordinates of the four corners of
the actor; the returned vertices relate to the ClutterActorBox coordinates as follows:
Calculates the transformed screen coordinates of the four corners of
the actor; the returned vertices relate to the ClutterActorBox coordinates as follows:
|
Clutter.Actor | |
get_accessible
()
:
Atk.Object
Returns the accessible object that describes the actor to an
assistive technology.
Returns the accessible object that describes the actor to an
assistive technology. If no class-specific AtkObject implementation is available for the actor instance in question, it will inherit an AtkObject implementation from the first ancestor class for which such an implementation is defined. The documentation of the library contains more information about accessible objects and their uses.
|
Clutter.Actor | |
get_action
(String name)
:
Clutter.Action
Retrieves the ClutterAction with the given name in the list
of actions applied to self name, or NULL.
Retrieves the ClutterAction with the given name in the list
of actions applied to self name, or NULL. The returned ClutterAction is owned by the actor and it should not be unreferenced directly
|
Clutter.Actor | |
get_actions
()
:
Array
Retrieves the list of actions applied to self
of the list of ClutterActions.
Retrieves the list of actions applied to self
of the list of ClutterActions. The contents of the list are owned by the ClutterActor. Use g_list_free() to free the resources allocated by the returned GList
|
Clutter.Actor | |
get_activatable
()
:
gboolean
Retrieves whether a ClutterText is activatable or not.
Retrieves whether a ClutterText is activatable or not.
|
Clutter.Text | |
get_allocation_box
()
:
Clutter.ActorBox
Gets the layout box an actor has been assigned.
Gets the layout box an actor has been assigned. The allocation can
only be assumed valid inside a paint() method; anywhere else, it may be out-of-date. An allocation does not incorporate the actor's scale or anchor point; those transformations do not affect layout, only rendering. of functions inside the implementation of the get_preferred_width() or get_preferred_height() virtual functions.
|
Clutter.Actor | |
get_allocation_geometry
()
:
Clutter.Geometry
Gets the layout box an actor has been assigned.
Gets the layout box an actor has been assigned. The allocation can
only be assumed valid inside a paint() method; anywhere else, it may be out-of-date. An allocation does not incorporate the actor's scale or anchor point; those transformations do not affect layout, only rendering. The returned rectangle is in pixels.
|
Clutter.Actor | |
Calculates the transformed coordinates of the four corners of the
actor in the plane of ancestor.
Calculates the transformed coordinates of the four corners of the
actor in the plane of ancestor. The returned vertices relate to the ClutterActorBox coordinates as follows: If ancestor is NULL the ancestor will be the ClutterStage. In this case, the coordinates returned will be the coordinates on the stage before the projection is applied. This is different from the behaviour of clutter_actor_get_abs_allocation_vertices().
|
Clutter.Actor | |
get_anchor_point
()
:
Object
|
Clutter.Actor | |
get_anchor_point_gravity
()
:
Clutter.Gravity
Retrieves the anchor position expressed as a ClutterGravity.
Retrieves the anchor position expressed as a ClutterGravity. If
the anchor point was specified using pixels or units this will return CLUTTER_GRAVITY_NONE.
|
Clutter.Actor | |
get_animation
()
:
Clutter.Animation
Retrieves the ClutterAnimation used by actor, if clutter_actor_animate()
has been called on actor.
Retrieves the ClutterAnimation used by actor, if clutter_actor_animate()
has been called on actor.
|
Clutter.Actor | |
get_attributes
()
:
Pango.AttrList
Gets the attribute list that was set on the ClutterText actor
clutter_text_set_attributes(), if any.
Gets the attribute list that was set on the ClutterText actor
clutter_text_set_attributes(), if any. returned value is owned by the ClutterText and should not be unreferenced.
|
Clutter.Text | |
Retrieves the contents of the ClutterText actor between
The positions are specified in characters, not in bytes.
Retrieves the contents of the ClutterText actor between
The positions are specified in characters, not in bytes. the text actor between the specified positions. Use g_free() to free the resources when done
|
Clutter.Text | |
get_clip
()
:
Object
|
Clutter.Actor | |
get_clip_to_allocation
()
:
gboolean
Retrieves the value set using clutter_actor_set_clip_to_allocation()
Retrieves the value set using clutter_actor_set_clip_to_allocation()
|
Clutter.Actor | |
get_color
()
:
Clutter.Color
Retrieves the text color as set by clutter_text_set_color().
Retrieves the text color as set by clutter_text_set_color().
|
Clutter.Text | |
get_constraint
(String name)
:
Clutter.Constraint
Retrieves the ClutterConstraint with the given name in the list
of constraints applied to self name, or NULL.
Retrieves the ClutterConstraint with the given name in the list
of constraints applied to self name, or NULL. The returned ClutterConstraint is owned by the actor and it should not be unreferenced directly
|
Clutter.Actor | |
get_constraints
()
:
Array
Retrieves the list of constraints applied to self
of the list of ClutterConstraints.
Retrieves the list of constraints applied to self
of the list of ClutterConstraints. The contents of the list are owned by the ClutterActor. Use g_list_free() to free the resources allocated by the returned GList
|
Clutter.Actor | |
get_cursor_color
(Color color)
:
none
Retrieves the color of the cursor of a ClutterText actor.
Retrieves the color of the cursor of a ClutterText actor.
|
Clutter.Text | |
get_cursor_position
()
:
gint32
Retrieves the cursor position.
Retrieves the cursor position.
|
Clutter.Text | |
get_cursor_size
()
:
guint32
Retrieves the size of the cursor of a ClutterText actor.
Retrieves the size of the cursor of a ClutterText actor.
|
Clutter.Text | |
get_cursor_visible
()
:
gboolean
Retrieves whether the cursor of a ClutterText actor is visible.
Retrieves whether the cursor of a ClutterText actor is visible.
|
Clutter.Text | |
get_depth
()
:
gfloat
Retrieves the depth of self.
Retrieves the depth of self.
|
Clutter.Actor | |
get_editable
()
:
gboolean
Retrieves whether a ClutterText is editable or not.
Retrieves whether a ClutterText is editable or not.
|
Clutter.Text | |
get_effect
(String name)
:
Clutter.Effect
Retrieves the ClutterEffect with the given name in the list
of effects applied to self name, or NULL.
Retrieves the ClutterEffect with the given name in the list
of effects applied to self name, or NULL. The returned ClutterEffect is owned by the actor and it should not be unreferenced directly
|
Clutter.Actor | |
get_effects
()
:
Array
Retrieves the ClutterEffects applied on self, if any
of ClutterEffects, or NULL.
Retrieves the ClutterEffects applied on self, if any
of ClutterEffects, or NULL. The elements of the returned list are owned by Clutter and they should not be freed. You should free the returned list using g_list_free() when done
|
Clutter.Actor | |
get_ellipsize
()
:
Pango.EllipsizeMode
Returns the ellipsizing position of a ClutterText actor, as
set by clutter_text_set_ellipsize().
Returns the ellipsizing position of a ClutterText actor, as
set by clutter_text_set_ellipsize().
|
Clutter.Text | |
get_fixed_position_set
()
:
gboolean
Checks whether an actor has a fixed position set (and will thus be
unaffected by any layout manager).
Checks whether an actor has a fixed position set (and will thus be
unaffected by any layout manager).
|
Clutter.Actor | |
get_flags
()
:
Clutter.ActorFlags
Retrieves the flags set on self
Retrieves the flags set on self
|
Clutter.Actor | |
get_font_description
()
:
Pango.FontDescription
Retrieves the PangoFontDescription used by self
by the ClutterText actor and it should not be modified or freed
Retrieves the PangoFontDescription used by self
by the ClutterText actor and it should not be modified or freed
|
Clutter.Text | |
get_font_name
()
:
String
Retrieves the font name as set by clutter_text_set_font_name().
Retrieves the font name as set by clutter_text_set_font_name().
string is owned by the ClutterText actor and should not be modified or freed
|
Clutter.Text | |
get_geometry
()
:
Clutter.Geometry
Gets the size and position of an actor relative to its parent
actor.
Gets the size and position of an actor relative to its parent
actor. This is the same as calling clutter_actor_get_position() and clutter_actor_get_size(). It tries to "do what you mean" and get the requested size and position if the actor's allocation is invalid.
|
Clutter.Actor | |
get_gid
()
:
guint32
Retrieves the unique id for self.
Retrieves the unique id for self.
|
Clutter.Actor | |
get_height
()
:
gfloat
Retrieves the height of a ClutterActor.
Retrieves the height of a ClutterActor.
If the actor has a valid allocation, this function will return the height of the allocated area given to the actor. If the actor does not have a valid allocation, this function will return the actor's natural height, that is the preferred height of the actor. If you care whether you get the preferred height or the height that has been assigned to the actor, you should probably call a different function like clutter_actor_get_allocation_box() to retrieve the allocated size or clutter_actor_get_preferred_height() to retrieve the preferred height. If an actor has a fixed height, for instance a height that has been assigned using clutter_actor_set_height(), the height returned will be the same value.
|
Clutter.Actor | |
get_id
()
:
String
Retrieves the id of scriptable set using clutter_scriptable_set_id().
Retrieves the id of scriptable set using clutter_scriptable_set_id().
the scriptable object and should never be modified of freed
|
Clutter.Scriptable | |
Retrieves the current state of property_name and sets value with it
Retrieves the current state of property_name and sets value with it
|
Clutter.Animatable | |
get_justify
()
:
gboolean
Retrieves whether the ClutterText actor should justify its contents
on both margins.
Retrieves whether the ClutterText actor should justify its contents
on both margins.
|
Clutter.Text | |
get_layout
()
:
Pango.Layout
Retrieves the current PangoLayout used by a ClutterText actor.
Retrieves the current PangoLayout used by a ClutterText actor.
the ClutterText actor and should not be modified or freed
|
Clutter.Text | |
get_line_alignment
()
:
Pango.Alignment
Retrieves the alignment of a ClutterText, as set by
clutter_text_set_line_alignment().
Retrieves the alignment of a ClutterText, as set by
clutter_text_set_line_alignment().
|
Clutter.Text | |
get_line_wrap
()
:
gboolean
Retrieves the value set using clutter_text_set_line_wrap().
Retrieves the value set using clutter_text_set_line_wrap().
its contents
|
Clutter.Text | |
get_line_wrap_mode
()
:
Pango.WrapMode
Retrieves the line wrap mode used by the ClutterText actor.
Retrieves the line wrap mode used by the ClutterText actor.
See clutter_text_set_line_wrap_mode ().
|
Clutter.Text | |
get_max_length
()
:
gint32
Gets the maximum length of text that can be set into a text actor.
Gets the maximum length of text that can be set into a text actor.
See clutter_text_set_max_length().
|
Clutter.Text | |
get_name
()
:
String
Retrieves the name of self.
Retrieves the name of self.
owned by the actor and should not be modified or freed.
|
Clutter.Actor | |
get_opacity
()
:
guint8
Retrieves the opacity value of an actor, as set by
clutter_actor_set_opacity().
Retrieves the opacity value of an actor, as set by
clutter_actor_set_opacity(). For retrieving the absolute opacity of the actor inside a paint virtual function, see clutter_actor_get_paint_opacity().
|
Clutter.Actor | |
|
Clutter.Actor | |
get_paint_opacity
()
:
guint8
Retrieves the absolute opacity of the actor, as it appears on the stage.
Retrieves the absolute opacity of the actor, as it appears on the stage.
This function traverses the hierarchy chain and composites the opacity of the actor with that of its parents. This function is intended for subclasses to use in the paint virtual function, to paint themselves with the correct opacity.
|
Clutter.Actor | |
get_paint_visibility
()
:
gboolean
Retrieves the 'paint' visibility of an actor recursively checking for non
visible parents.
Retrieves the 'paint' visibility of an actor recursively checking for non
visible parents. This is by definition the same as CLUTTER_ACTOR_IS_MAPPED().
|
Clutter.Actor | |
get_paint_volume
()
:
Clutter.PaintVolume
|
Clutter.Actor | |
get_pango_context
()
:
Pango.Context
Retrieves the PangoContext for self.
Retrieves the PangoContext for self. The actor's PangoContext
is already configured using the appropriate font map, resolution and font options. Unlike clutter_actor_create_pango_context(), this context is owend by the ClutterActor and it will be updated each time the options stored by the ClutterBackend change. You can use the returned PangoContext to create a PangoLayout and render text using cogl_pango_render_layout() to reuse the glyphs cache also used by Clutter. The returned PangoContext is owned by the actor and should not be unreferenced by the application code
|
Clutter.Actor | |
get_parent
()
:
Clutter.Actor
Retrieves the parent of self.
Retrieves the parent of self.
if no parent is set
|
Clutter.Actor | |
get_password_char
()
:
gunichar
Retrieves the character to use in place of the actual text
as set by clutter_text_set_password_char().
Retrieves the character to use in place of the actual text
as set by clutter_text_set_password_char(). character is not set
|
Clutter.Text | |
get_position
()
:
Object
This function tries to "do what you mean" and tell you where the
actor is, prior to any transformations.
This function tries to "do what you mean" and tell you where the
actor is, prior to any transformations. Retrieves the fixed position of an actor in pixels, if one has been set; otherwise, if the allocation is valid, returns the actor's allocated position; otherwise, returns 0,0. The returned position is in pixels. |
Clutter.Actor | |
Computes the requested minimum and natural heights for an actor,
or if they are already computed, returns the cached values.
Computes the requested minimum and natural heights for an actor,
or if they are already computed, returns the cached values. An actor may not get its request - depending on the layout manager that's in effect. A request should not incorporate the actor's scale or anchor point; those transformations do not affect layout, only rendering.
|
Clutter.Actor | |
get_preferred_size
()
:
Object
Computes the preferred minimum and natural size of an actor, taking into
account the actor's geometry management (either height-for-width or width-for-height).
Computes the preferred minimum and natural size of an actor, taking into
account the actor's geometry management (either height-for-width or width-for-height). The width and height used to compute the preferred height and preferred width are the actor's natural ones. If you need to control the height for the preferred width, or the width for the preferred height, you should use clutter_actor_get_preferred_width() and clutter_actor_get_preferred_height(), and check the actor's preferred geometry management using the ClutterActor:request-mode property. |
Clutter.Actor | |
Computes the requested minimum and natural widths for an actor,
optionally depending on the specified height, or if they are already computed, returns the cached values.
Computes the requested minimum and natural widths for an actor,
optionally depending on the specified height, or if they are already computed, returns the cached values. An actor may not get its request - depending on the layout manager that's in effect. A request should not incorporate the actor's scale or anchor point; those transformations do not affect layout, only rendering.
|
Clutter.Actor | |
get_reactive
()
:
gboolean
Checks whether actor is marked as reactive.
Checks whether actor is marked as reactive.
|
Clutter.Actor | |
get_request_mode
()
:
Clutter.RequestMode
Retrieves the geometry request mode of self
Retrieves the geometry request mode of self
|
Clutter.Actor | |
Retrieves the angle and center of rotation on the given axis,
set using clutter_actor_set_rotation(). |
Clutter.Actor | |
get_scale
()
:
Object
|
Clutter.Actor | |
get_scale_center
()
:
Object
Retrieves the scale center coordinate in pixels relative to the top
left corner of the actor. |
Clutter.Actor | |
get_scale_gravity
()
:
Clutter.Gravity
Retrieves the scale center as a compass direction.
Retrieves the scale center as a compass direction. If the scale
center was specified in pixels or units this will return CLUTTER_GRAVITY_NONE.
|
Clutter.Actor | |
get_selectable
()
:
gboolean
Retrieves whether a ClutterText is selectable or not.
Retrieves whether a ClutterText is selectable or not.
|
Clutter.Text | |
get_selection
()
:
String
Retrieves the currently selected text.
Retrieves the currently selected text.
selected text, or NULL. Use g_free() to free the returned string.
|
Clutter.Text | |
get_selection_bound
()
:
gint32
Retrieves the other end of the selection of a ClutterText actor,
in characters from the current cursor position.
Retrieves the other end of the selection of a ClutterText actor,
in characters from the current cursor position.
|
Clutter.Text | |
get_selection_color
()
:
Clutter.Color
Retrieves the color of the selection of a ClutterText actor.
Retrieves the color of the selection of a ClutterText actor.
|
Clutter.Text | |
get_shader
()
:
Clutter.Shader
Queries the currently set ClutterShader on self.
Queries the currently set ClutterShader on self.
or NULL if no shader is set.
|
Clutter.Actor | |
get_single_line_mode
()
:
gboolean
Retrieves whether the ClutterText actor is in single line mode.
Retrieves whether the ClutterText actor is in single line mode.
|
Clutter.Text | |
get_size
()
:
Object
This function tries to "do what you mean" and return
the size an actor will have.
This function tries to "do what you mean" and return
the size an actor will have. If the actor has a valid allocation, the allocation will be returned; otherwise, the actors natural size request will be returned. If you care whether you get the request vs. the allocation, you should probably call a different function like clutter_actor_get_allocation_box() or clutter_actor_get_preferred_width(). |
Clutter.Actor | |
get_stage
()
:
Clutter.Actor
Retrieves the ClutterStage where actor is contained.
Retrieves the ClutterStage where actor is contained.
|
Clutter.Actor | |
get_text
()
:
String
Retrieves a pointer to the current contents of a ClutterText
actor.
Retrieves a pointer to the current contents of a ClutterText
actor. If you need a copy of the contents for manipulating, either use g_strdup() on the returned string, or use: |[ copy = clutter_text_get_chars (text, 0, -1); ]| Which will return a newly allocated string. is owned by the ClutterText actor and should never be modified or freed
|
Clutter.Text | |
get_text_direction
()
:
Clutter.TextDirection
Retrieves the value set using clutter_actor_set_text_direction()
If no text direction has been previously set, the default text direction, as returned by clutter_get_default_text_direction(), will be returned instead
Retrieves the value set using clutter_actor_set_text_direction()
If no text direction has been previously set, the default text direction, as returned by clutter_get_default_text_direction(), will be returned instead
|
Clutter.Actor | |
get_transformation_matrix
()
:
Cogl.Matrix
Retrieves the transformations applied to self
Retrieves the transformations applied to self
|
Clutter.Actor | |
get_transformed_paint_volume
(Actor relative_to_ancestor)
:
Clutter.PaintVolume
|
Clutter.Actor | |
get_transformed_position
()
:
Object
|
Clutter.Actor | |
get_transformed_size
()
:
Object
Gets the absolute size of an actor in pixels, taking into account the
scaling factors.
Gets the absolute size of an actor in pixels, taking into account the
scaling factors. If the actor has a valid allocation, the allocated size will be used. If the actor has not a valid allocation then the preferred size will be transformed and returned. If you want the transformed allocation, see clutter_actor_get_abs_allocation_vertices() instead. X or Y axis, it no longer appears as on the stage as a rectangle, but as a generic quadrangle; in that case this function returns the size of the smallest rectangle that encapsulates the entire quad. Please note that in this case no assumptions can be made about the relative position of this envelope to the absolute position of the actor, as returned by clutter_actor_get_transformed_position(); if you need this information, you need to use clutter_actor_get_abs_allocation_vertices() to get the coords of the actual quadrangle. |
Clutter.Actor | |
get_use_markup
()
:
gboolean
Retrieves whether the contents of the ClutterText actor should be
parsed for the Pango text markup.
Retrieves whether the contents of the ClutterText actor should be
parsed for the Pango text markup.
|
Clutter.Text | |
get_width
()
:
gfloat
Retrieves the width of a ClutterActor.
Retrieves the width of a ClutterActor.
If the actor has a valid allocation, this function will return the width of the allocated area given to the actor. If the actor does not have a valid allocation, this function will return the actor's natural width, that is the preferred width of the actor. If you care whether you get the preferred width or the width that has been assigned to the actor, you should probably call a different function like clutter_actor_get_allocation_box() to retrieve the allocated size or clutter_actor_get_preferred_width() to retrieve the preferred width. If an actor has a fixed width, for instance a width that has been assigned using clutter_actor_set_width(), the width returned will be the same value.
|
Clutter.Actor | |
get_x
()
:
gfloat
|
Clutter.Actor | |
get_y
()
:
gfloat
|
Clutter.Actor | |
get_z_rotation_gravity
()
:
Clutter.Gravity
Retrieves the center for the rotation around the Z axis as a
compass direction.
Retrieves the center for the rotation around the Z axis as a
compass direction. If the center was specified in pixels or units this will return CLUTTER_GRAVITY_NONE.
|
Clutter.Actor | |
grab_key_focus
()
:
none
Sets the key focus of the ClutterStage including self
to this ClutterActor.
Sets the key focus of the ClutterStage including self
to this ClutterActor.
|
Clutter.Actor | |
has_allocation
()
:
gboolean
Checks if the actor has an up-to-date allocation assigned to
visible and has a parent.
Checks if the actor has an up-to-date allocation assigned to
visible and has a parent. It also means that there is no outstanding relayout request in progress for the actor or its children (There might be other outstanding layout requests in progress that will cause the actor to get a new allocation when the stage is laid out, however). If this function returns FALSE, then the actor will normally be allocated before it is next drawn on the screen.
|
Clutter.Actor | |
has_clip
()
:
gboolean
Determines whether the actor has a clip area set or not.
Determines whether the actor has a clip area set or not.
|
Clutter.Actor | |
has_key_focus
()
:
gboolean
|
Clutter.Actor | |
has_pointer
()
:
gboolean
Checks whether an actor contains the the pointer of a
ClutterInputDevice FALSE otherwise
Checks whether an actor contains the the pointer of a
ClutterInputDevice FALSE otherwise
|
Clutter.Actor | |
hide
()
:
none
Flags an actor to be hidden.
Flags an actor to be hidden. A hidden actor will not be
rendered on the stage. Actors are visible by default. If this function is called on an actor without a parent, the ClutterActor:show-on-set-parent property will be set to FALSE as a side-effect.
|
Clutter.Actor | |
hide_all
()
:
none
Calls clutter_actor_hide() on all child actors (if any).
Calls clutter_actor_hide() on all child actors (if any).
|
Clutter.Actor | |
Inserts text into a ClutterActor at the given position.
Inserts text into a ClutterActor at the given position.
If position is a negative number, the text will be appended at the end of the current contents of the ClutterText. The position is expressed in characters, not in bytes.
|
Clutter.Text | |
insert_unichar
(gunichar wc)
:
none
Inserts wc at the current cursor position of a
ClutterText actor.
Inserts wc at the current cursor position of a
ClutterText actor.
|
Clutter.Text | |
is_in_clone_paint
()
:
gboolean
Checks whether self is being currently painted by a ClutterClone
This function is useful only inside the ::paint virtual function implementations or within handlers for the ClutterActor::paint signal This function should not be used by applications by a ClutterClone, and FALSE otherwise
Checks whether self is being currently painted by a ClutterClone
This function is useful only inside the ::paint virtual function implementations or within handlers for the ClutterActor::paint signal This function should not be used by applications by a ClutterClone, and FALSE otherwise
|
Clutter.Actor | |
is_rotated
()
:
gboolean
Checks whether any rotation is applied to the actor.
Checks whether any rotation is applied to the actor.
|
Clutter.Actor | |
is_scaled
()
:
gboolean
Checks whether the actor is scaled in either dimension.
Checks whether the actor is scaled in either dimension.
|
Clutter.Actor | |
lower
(Actor above)
:
none
Puts self below above.
Puts self below above.
Both actors must have the same parent, and the parent must implement the ClutterContainer interface. This function is the equivalent of clutter_container_lower_child().
|
Clutter.Actor | |
lower_bottom
()
:
none
Lowers self to the bottom.
Lowers self to the bottom.
This function calls clutter_actor_lower() internally.
|
Clutter.Actor | |
map
()
:
none
Sets the CLUTTER_ACTOR_MAPPED flag on the actor and possibly maps
and realizes its children if they are visible.
Sets the CLUTTER_ACTOR_MAPPED flag on the actor and possibly maps
and realizes its children if they are visible. Does nothing if the actor is not visible. ClutterActor::map virtual function in an actor and you need to map the children of that actor. It is not necessary to call this if you implement ClutterContainer because the default implementation will automatically map children of containers. When overriding map, it is mandatory to chain up to the parent implementation.
|
Clutter.Actor | |
Sets an anchor point for the actor, and adjusts the actor postion so that
the relative position of the actor toward its parent remains the same.
Sets an anchor point for the actor, and adjusts the actor postion so that
the relative position of the actor toward its parent remains the same.
|
Clutter.Actor | |
move_anchor_point_from_gravity
(Gravity gravity)
:
none
Sets an anchor point on the actor based on the given gravity, adjusting the
actor postion so that its relative position within its parent remains unchanged.
Sets an anchor point on the actor based on the given gravity, adjusting the
actor postion so that its relative position within its parent remains unchanged. Since version 1.0 the anchor point will be stored as a gravity so that if the actor changes size then the anchor point will move. For example, if you set the anchor point to CLUTTER_GRAVITY_SOUTH_EAST and later double the size of the actor, the anchor point will move to the bottom right.
|
Clutter.Actor | |
Moves an actor by the specified distance relative to its current
position in pixels.
Moves an actor by the specified distance relative to its current
position in pixels. This function modifies the fixed position of an actor and thus removes it from any layout management. Another way to move an actor is with an anchor point, see clutter_actor_set_anchor_point().
|
Clutter.Actor | |
paint
()
:
none
Renders the actor to display.
Renders the actor to display.
This function should not be called directly by applications. Call clutter_actor_queue_redraw() to queue paints, instead. This function will emit the ClutterActor::paint signal.
|
Clutter.Actor | |
Parses the passed JSON node.
Parses the passed JSON node. The implementation must set the type
of the passed GValue pointer using g_value_init().
|
Clutter.Scriptable | |
pop_internal
()
:
none
Disables the effects of clutter_actor_pop_internal()
Disables the effects of clutter_actor_pop_internal()
|
Clutter.Actor | |
Clutter.Text | ||
push_internal
()
:
none
Should be used by actors implementing the ClutterContainer and with
internal children added through clutter_actor_set_parent(), for instance: |[ static void my_actor_init (MyActor *self) { self->priv = SELF_ACTOR_GET_PRIVATE (self); clutter_actor_push_internal (CLUTTER_ACTOR (self)); /* calling clutter_actor_set_parent() now will result in * the internal flag being set on a child of MyActor */ /* internal child - a background texture */ self->priv->background_tex = clutter_texture_new (); clutter_actor_set_parent (self->priv->background_tex, CLUTTER_ACTOR (self)); /* internal child - a label */ self->priv->label = clutter_text_new (); clutter_actor_set_parent (self->priv->label, CLUTTER_ACTOR (self)); clutter_actor_pop_internal (CLUTTER_ACTOR (self)); /* calling clutter_actor_set_parent() now will not result in * the internal flag being set on a child of MyActor */ } ]| This function will be used by Clutter to toggle an "internal child" flag whenever clutter_actor_set_parent() is called; internal children are handled differently by Clutter, specifically when destroying their parent.
Should be used by actors implementing the ClutterContainer and with
internal children added through clutter_actor_set_parent(), for instance: |[ static void my_actor_init (MyActor *self) { self->priv = SELF_ACTOR_GET_PRIVATE (self); clutter_actor_push_internal (CLUTTER_ACTOR (self)); /* calling clutter_actor_set_parent() now will result in * the internal flag being set on a child of MyActor */ /* internal child - a background texture */ self->priv->background_tex = clutter_texture_new (); clutter_actor_set_parent (self->priv->background_tex, CLUTTER_ACTOR (self)); /* internal child - a label */ self->priv->label = clutter_text_new (); clutter_actor_set_parent (self->priv->label, CLUTTER_ACTOR (self)); clutter_actor_pop_internal (CLUTTER_ACTOR (self)); /* calling clutter_actor_set_parent() now will not result in * the internal flag being set on a child of MyActor */ } ]| This function will be used by Clutter to toggle an "internal child" flag whenever clutter_actor_set_parent() is called; internal children are handled differently by Clutter, specifically when destroying their parent. Call clutter_actor_pop_internal() when you finished adding internal children. Nested calls to clutter_actor_push_internal() are allowed, but each one must by followed by a clutter_actor_pop_internal() call.
|
Clutter.Actor | |
queue_redraw
()
:
none
Queues up a redraw of an actor and any children.
Queues up a redraw of an actor and any children. The redraw occurs
once the main loop becomes idle (after the current batch of events has been processed, roughly). Applications rarely need to call this, as redraws are handled automatically by modification functions. This function will not do anything if self is not visible, or if the actor is inside an invisible part of the scenegraph. Also be aware that painting is a NOP for actors with an opacity of 0
|
Clutter.Actor | |
queue_relayout
()
:
none
Indicates that the actor's size request or other layout-affecting
properties may have changed.
Indicates that the actor's size request or other layout-affecting
properties may have changed. This function is used inside ClutterActor subclass implementations, not by applications directly. Queueing a new layout automatically queues a redraw as well.
|
Clutter.Actor | |
raise
(Actor below)
:
none
Puts self above below.
Puts self above below.
Both actors must have the same parent, and the parent must implement the ClutterContainer interface This function is the equivalent of clutter_container_raise_child().
|
Clutter.Actor | |
raise_top
()
:
none
Raises self to the top.
Raises self to the top.
This function calls clutter_actor_raise() internally.
|
Clutter.Actor | |
realize
()
:
none
Realization informs the actor that it is attached to a stage.
Realization informs the actor that it is attached to a stage. It
can use this to allocate resources if it wanted to delay allocation until it would be rendered. However it is perfectly acceptable for an actor to create resources before being realized because Clutter only ever has a single rendering context so that actor is free to be moved from one stage to another. This function does nothing if the actor is already realized. Because a realized actor must have realized parent actors, calling clutter_actor_realize() will also realize all parents of the actor. This function does not realize child actors, except in the special case that realizing the stage, when the stage is visible, will suddenly map (and thus realize) the children of the stage.
|
Clutter.Actor | |
remove_action
(Action action)
:
none
Removes action from the list of actions applied to self
The reference held by self on the ClutterAction will be released
Removes action from the list of actions applied to self
The reference held by self on the ClutterAction will be released
|
Clutter.Actor | |
remove_action_by_name
(String name)
:
none
Removes the ClutterAction with the given name from the list
of actions applied to self
Removes the ClutterAction with the given name from the list
of actions applied to self
|
Clutter.Actor | |
remove_clip
()
:
none
|
Clutter.Actor | |
remove_constraint
(Constraint constraint)
:
none
Removes constraint from the list of constraints applied to self
The reference held by self on the ClutterConstraint will be released
Removes constraint from the list of constraints applied to self
The reference held by self on the ClutterConstraint will be released
|
Clutter.Actor | |
remove_constraint_by_name
(String name)
:
none
Removes the ClutterConstraint with the given name from the list
of constraints applied to self
Removes the ClutterConstraint with the given name from the list
of constraints applied to self
|
Clutter.Actor | |
remove_effect
(Effect effect)
:
none
Removes effect from the list of effects applied to self
The reference held by self on the ClutterEffect will be released
Removes effect from the list of effects applied to self
The reference held by self on the ClutterEffect will be released
|
Clutter.Actor | |
remove_effect_by_name
(String name)
:
none
Removes the ClutterEffect with the given name from the list
of effects applied to self
Removes the ClutterEffect with the given name from the list
of effects applied to self
|
Clutter.Actor | |
reparent
(Actor new_parent)
:
none
This function resets the parent actor of self.
This function resets the parent actor of self. It is
logically equivalent to calling clutter_actor_unparent() and clutter_actor_set_parent(), but more efficiently implemented, ensures the child is not finalized when unparented, and emits the parent-set signal only one time.
|
Clutter.Actor | |
set_activatable
(gboolean activatable)
:
none
Sets whether a ClutterText actor should be activatable.
Sets whether a ClutterText actor should be activatable.
An activatable ClutterText actor will emit the ClutterText::activate signal whenever the 'Enter' (or 'Return') key is pressed; if it is not activatable, a new line will be appended to the current content. An activatable ClutterText must also be set as editable using clutter_text_set_editable().
|
Clutter.Text | |
Sets an anchor point for self.
Sets an anchor point for self. The anchor point is a point in the
coordinate space of an actor to which the actor position within its parent is relative; the default is (0, 0), i.e. the top-left corner of the actor.
|
Clutter.Actor | |
set_anchor_point_from_gravity
(Gravity gravity)
:
none
Sets an anchor point on the actor, based on the given gravity (this is a
convenience function wrapping clutter_actor_set_anchor_point()).
Sets an anchor point on the actor, based on the given gravity (this is a
convenience function wrapping clutter_actor_set_anchor_point()). Since version 1.0 the anchor point will be stored as a gravity so that if the actor changes size then the anchor point will move. For example, if you set the anchor point to CLUTTER_GRAVITY_SOUTH_EAST and later double the size of the actor, the anchor point will move to the bottom right.
|
Clutter.Actor | |
set_attributes
(AttrList attrs)
:
none
Sets the attributes list that are going to be applied to the
ClutterText contents.
Sets the attributes list that are going to be applied to the
ClutterText contents. The ClutterText actor will take a reference on the PangoAttrList passed to this function.
|
Clutter.Text | |
Sets clip area for self.
Sets clip area for self. The clip area is always computed from the
upper left corner of the actor, even if the anchor point is set otherwise.
|
Clutter.Actor | |
set_clip_to_allocation
(gboolean clip_set)
:
none
Sets whether self should be clipped to the same size as its
allocation
Sets whether self should be clipped to the same size as its
allocation
|
Clutter.Actor | |
set_color
(Color color)
:
none
Sets the color of the contents of a ClutterText actor.
Sets the color of the contents of a ClutterText actor.
The overall opacity of the ClutterText actor will be the result of the alpha value of color and the composited opacity of the actor itself on the scenegraph, as returned by clutter_actor_get_paint_opacity().
|
Clutter.Text | |
set_cursor_color
(Color color)
:
none
Sets the color of the cursor of a ClutterText actor.
Sets the color of the cursor of a ClutterText actor.
If color is NULL, the cursor color will be the same as the text color.
|
Clutter.Text | |
set_cursor_position
(gint32 position)
:
none
Sets the cursor of a ClutterText actor at position.
Sets the cursor of a ClutterText actor at position.
The position is expressed in characters, not in bytes.
|
Clutter.Text | |
set_cursor_size
(gint32 size)
:
none
Sets the size of the cursor of a ClutterText.
Sets the size of the cursor of a ClutterText. The cursor
will only be visible if the ClutterText:cursor-visible property is set to TRUE.
|
Clutter.Text | |
set_cursor_visible
(gboolean cursor_visible)
:
none
Sets whether the cursor of a ClutterText actor should be
visible or not.
Sets whether the cursor of a ClutterText actor should be
visible or not. The color of the cursor will be the same as the text color unless clutter_text_set_cursor_color() has been called. The size of the cursor can be set using clutter_text_set_cursor_size(). The position of the cursor can be changed programmatically using clutter_text_set_cursor_position().
|
Clutter.Text | |
Overrides the common properties setting.
Overrides the common properties setting. The underlying virtual
function should be used when implementing custom properties.
|
Clutter.Scriptable | |
set_depth
(gfloat depth)
:
none
Sets the Z coordinate of self to depth.
Sets the Z coordinate of self to depth.
The unit used by depth is dependant on the perspective setup. See also clutter_stage_set_perspective().
|
Clutter.Actor | |
set_editable
(gboolean editable)
:
none
Sets whether the ClutterText actor should be editable.
Sets whether the ClutterText actor should be editable.
An editable ClutterText with key focus set using clutter_actor_grab_key_focus() or clutter_stage_take_key_focus() will receive key events and will update its contents accordingly.
|
Clutter.Text | |
set_ellipsize
(EllipsizeMode mode)
:
none
text if there is not enough space to render the entire contents
of a ClutterText actor
text if there is not enough space to render the entire contents
of a ClutterText actor
|
Clutter.Text | |
Sets the current state of property_name to value
Sets the current state of property_name to value
|
Clutter.Animatable | |
set_fixed_position_set
(gboolean is_set)
:
none
Sets whether an actor has a fixed position set (and will thus be
unaffected by any layout manager).
Sets whether an actor has a fixed position set (and will thus be
unaffected by any layout manager).
|
Clutter.Actor | |
set_flags
(ActorFlags flags)
:
none
Sets flags on self
This function will emit notifications for the changed properties
Sets flags on self
This function will emit notifications for the changed properties
|
Clutter.Actor | |
set_font_description
(FontDescription font_desc)
:
none
Sets font_desc as the font description for a ClutterText
The PangoFontDescription is copied by the ClutterText actor so you can safely call pango_font_description_free() on it after calling this function.
Sets font_desc as the font description for a ClutterText
The PangoFontDescription is copied by the ClutterText actor so you can safely call pango_font_description_free() on it after calling this function.
|
Clutter.Text | |
set_font_name
(String font_name)
:
none
Sets the font used by a ClutterText.
Sets the font used by a ClutterText. The font_name string
must either be NULL, which means that the font name from the default ClutterBackend will be used; or be something that can be parsed by the pango_font_description_from_string() function, like: |[ clutter_text_set_font_name (text, "Sans 10pt"); clutter_text_set_font_name (text, "Serif 16px"); clutter_text_set_font_name (text, "Helvetica 10"); ]|
|
Clutter.Text | |
set_geometry
(Geometry geometry)
:
none
Sets the actor's fixed position and forces its minimum and natural
size, in pixels.
Sets the actor's fixed position and forces its minimum and natural
size, in pixels. This means the untransformed actor will have the given geometry. This is the same as calling clutter_actor_set_position() and clutter_actor_set_size().
|
Clutter.Actor | |
set_height
(gfloat height)
:
none
|
Clutter.Actor | |
set_id
(String id_)
:
none
Sets id as the unique Clutter script it for this instance of
ClutterScriptableIface.
Sets id as the unique Clutter script it for this instance of
ClutterScriptableIface. This name can be used by user interface designer applications to define a unique name for an object constructable using the UI definition language parsed by ClutterScript.
|
Clutter.Scriptable | |
set_justify
(gboolean justify)
:
none
Sets whether the text of the ClutterText actor should be justified
on both margins.
Sets whether the text of the ClutterText actor should be justified
on both margins. This setting is ignored if Clutter is compiled against Pango < 1.18.
|
Clutter.Text | |
set_line_alignment
(Alignment alignment)
:
none
Sets the way that the lines of a wrapped label are aligned with
respect to each other.
Sets the way that the lines of a wrapped label are aligned with
respect to each other. This does not affect the overall alignment of the label within its allocated or specified width. To align a ClutterText actor you should add it to a container that supports alignment, or use the anchor point.
|
Clutter.Text | |
set_line_wrap
(gboolean line_wrap)
:
none
Sets whether the contents of a ClutterText actor should wrap,
if they don't fit the size assigned to the actor.
Sets whether the contents of a ClutterText actor should wrap,
if they don't fit the size assigned to the actor.
|
Clutter.Text | |
set_line_wrap_mode
(WrapMode wrap_mode)
:
none
If line wrapping is enabled (see clutter_text_set_line_wrap()) this
function controls how the line wrapping is performed.
If line wrapping is enabled (see clutter_text_set_line_wrap()) this
function controls how the line wrapping is performed. The default is PANGO_WRAP_WORD which means wrap on word boundaries.
|
Clutter.Text | |
set_markup
(String markup)
:
none
Sets markup as the contents of a ClutterText.
Sets markup as the contents of a ClutterText.
This is a convenience function for setting a string containing Pango markup, and it is logically equivalent to: |[ clutter_text_set_text (CLUTTER_TEXT (actor), markup); clutter_text_set_use_markup (CLUTTER_TEXT (actor), TRUE); ]|
|
Clutter.Text | |
set_max_length
(gint32 max)
:
none
Sets the maximum allowed length of the contents of the actor.
Sets the maximum allowed length of the contents of the actor. If the
current contents are longer than the given length, then they will be truncated to fit.
|
Clutter.Text | |
set_name
(String name)
:
none
Sets the given name to self.
Sets the given name to self. The name can be used to identify
a ClutterActor.
|
Clutter.Actor | |
set_opacity
(guint8 opacity)
:
none
Sets the actor's opacity, with zero being completely transparent and
255 (0xff) being fully opaque.
Sets the actor's opacity, with zero being completely transparent and
255 (0xff) being fully opaque.
|
Clutter.Actor | |
set_parent
(Actor parent)
:
none
Sets the parent of self to parent.
Sets the parent of self to parent. The opposite function is
clutter_actor_unparent(). This function should not be used by applications, but by custom container actor subclasses.
|
Clutter.Actor | |
set_password_char
(gunichar wc)
:
none
Sets the character to use in place of the actual text in a
password text actor.
Sets the character to use in place of the actual text in a
password text actor. If wc is 0 the text will be displayed as it is entered in the ClutterText actor.
|
Clutter.Text | |
Clutter.Actor | ||
Sets, or unsets, the pre-edit string.
Sets, or unsets, the pre-edit string. This function is useful
for input methods to display a string (with eventual specific Pango attributes) before it is entered inside the ClutterText buffer. The preedit string and attributes are ignored if the ClutterText actor is not editable. This function should not be used by applications
|
Clutter.Text | |
set_reactive
(gboolean reactive)
:
none
Sets actor as reactive.
Sets actor as reactive. Reactive actors will receive events.
|
Clutter.Actor | |
set_request_mode
(RequestMode mode)
:
none
Sets the geometry request mode of self.
Sets the geometry request mode of self.
The mode determines the order for invoking clutter_actor_get_preferred_width() and clutter_actor_get_preferred_height()
|
Clutter.Actor | |
Sets the rotation angle of self around the given axis.
Sets the rotation angle of self around the given axis.
The rotation center coordinates used depend on the value of axis: The rotation coordinates are relative to the anchor point of the actor, set using clutter_actor_set_anchor_point(). If no anchor point is set, the upper left corner is assumed as the origin.
|
Clutter.Actor | |
Scales an actor with the given factors.
Scales an actor with the given factors. The scaling is relative to
the scale center and the anchor point. The scale center is unchanged by this function and defaults to 0,0.
|
Clutter.Actor | |
Scales an actor with the given factors around the given center
point.
Scales an actor with the given factors around the given center
point. The center point is specified in pixels relative to the anchor point (usually the top left corner of the actor).
|
Clutter.Actor | |
Scales an actor with the given factors around the given
center point.
Scales an actor with the given factors around the given
center point. The center point is specified as one of the compass directions in ClutterGravity. For example, setting it to north will cause the top of the actor to remain unchanged and the rest of the actor to expand left, right and downwards.
|
Clutter.Actor | |
set_selectable
(gboolean selectable)
:
none
Sets whether a ClutterText actor should be selectable.
Sets whether a ClutterText actor should be selectable.
A selectable ClutterText will allow selecting its contents using the pointer or the keyboard.
|
Clutter.Text | |
Selects the region of text between start_pos and end_pos.
|
Clutter.Text | |
set_selection_bound
(gint32 selection_bound)
:
none
Sets the other end of the selection, starting from the current
cursor position.
Sets the other end of the selection, starting from the current
cursor position. If selection_bound is -1, the selection unset.
|
Clutter.Text | |
set_selection_color
(Color color)
:
none
Sets the color of the selection of a ClutterText actor.
Sets the color of the selection of a ClutterText actor.
If color is NULL, the selection color will be the same as the cursor color, or if no cursor color is set either then it will be the same as the text color.
|
Clutter.Text | |
Sets the ClutterShader to be used when rendering self.
Sets the ClutterShader to be used when rendering self.
If shader is NULL it will unset any currently set shader for the actor.
|
Clutter.Actor | |
Sets the value for a named parameter of the shader applied
to actor.
Sets the value for a named parameter of the shader applied
to actor.
|
Clutter.Actor | |
Clutter.Actor | ||
Clutter.Actor | ||
set_single_line_mode
(gboolean single_line)
:
none
Sets whether a ClutterText actor should be in single line mode
or not.
Sets whether a ClutterText actor should be in single line mode
or not. Only editable ClutterTexts can be in single line mode. A text actor in single line mode will not wrap text and will clip the the visible area to the predefined size. The contents of the text actor will scroll to display the end of the text if its length is bigger than the allocated width. When setting the single line mode the ClutterText:activatable property is also set as a side effect. Instead of entering a new line character, the text actor will emit the ClutterText::activate signal.
|
Clutter.Text | |
Clutter.Actor | ||
set_text
(String text)
:
none
Sets the contents of a ClutterText actor.
Sets the contents of a ClutterText actor.
If the ClutterText:use-markup property was set to TRUE it will be reset to FALSE as a side effect. If you want to maintain the ClutterText:use-markup you should use the clutter_text_set_markup() function instead
|
Clutter.Text | |
set_text_direction
(TextDirection text_dir)
:
none
Sets the ClutterTextDirection for an actor
The passed text direction must not be CLUTTER_TEXT_DIRECTION_DEFAULT If self implements ClutterContainer then this function will recurse inside all the children of self (including the internal ones).
Sets the ClutterTextDirection for an actor
The passed text direction must not be CLUTTER_TEXT_DIRECTION_DEFAULT If self implements ClutterContainer then this function will recurse inside all the children of self (including the internal ones). Composite actors not implementing ClutterContainer, or actors requiring special handling when the text direction changes, should connect to the GObject::notify signal for the ClutterActor:text-direction property
|
Clutter.Actor | |
set_use_markup
(gboolean setting)
:
none
Sets whether the contents of the ClutterText actor contains markup
in Pango's text markup language.
Sets whether the contents of the ClutterText actor contains markup
in Pango's text markup language. Setting ClutterText:use-markup on an editable ClutterText will make the actor discard any markup.
|
Clutter.Text | |
set_width
(gfloat width)
:
none
|
Clutter.Actor | |
set_x
(gfloat x)
:
none
Sets the actor's X coordinate, relative to its parent, in pixels.
Sets the actor's X coordinate, relative to its parent, in pixels.
Overrides any layout manager and forces a fixed position for the actor.
|
Clutter.Actor | |
set_y
(gfloat y)
:
none
Sets the actor's Y coordinate, relative to its parent, in pixels.
Sets the actor's Y coordinate, relative to its parent, in pixels.#
Overrides any layout manager and forces a fixed position for the actor.
|
Clutter.Actor | |
Sets the rotation angle of self around the Z axis using the center
point specified as a compass point.
Sets the rotation angle of self around the Z axis using the center
point specified as a compass point. For example to rotate such that the center of the actor remains static you can use CLUTTER_GRAVITY_CENTER. If the actor changes size the center point will move accordingly.
|
Clutter.Actor | |
should_pick_paint
()
:
gboolean
Should be called inside the implementation of the
ClutterActor::pick virtual function in order to check whether the actor should paint itself in pick mode or not.
Should be called inside the implementation of the
ClutterActor::pick virtual function in order to check whether the actor should paint itself in pick mode or not. This function should never be called directly by applications. FALSE otherwise
|
Clutter.Actor | |
show
()
:
none
Flags an actor to be displayed.
Flags an actor to be displayed. An actor that isn't shown will not
be rendered on the stage. Actors are visible by default. If this function is called on an actor without a parent, the ClutterActor:show-on-set-parent will be set to TRUE as a side effect.
|
Clutter.Actor | |
show_all
()
:
none
Calls clutter_actor_show() on all children of an actor (if any).
Calls clutter_actor_show() on all children of an actor (if any).
|
Clutter.Actor | |
Clutter.Actor | ||
unmap
()
:
none
Unsets the CLUTTER_ACTOR_MAPPED flag on the actor and possibly
unmaps its children if they were mapped.
Unsets the CLUTTER_ACTOR_MAPPED flag on the actor and possibly
unmaps its children if they were mapped. ClutterActor::unmap virtual function in an actor and you need to unmap the children of that actor. It is not necessary to call this if you implement ClutterContainer because the default implementation will automatically unmap children of containers. When overriding unmap, it is mandatory to chain up to the parent implementation.
|
Clutter.Actor | |
unparent
()
:
none
Removes the parent of self.
Removes the parent of self.
This function should not be used in applications. It should be called by implementations of container actors, to dissociate a child from the container.
|
Clutter.Actor | |
unrealize
()
:
none
Unrealization informs the actor that it may be being destroyed or
moved to another stage.
Unrealization informs the actor that it may be being destroyed or
moved to another stage. The actor may want to destroy any underlying graphics resources at this point. However it is perfectly acceptable for it to retain the resources until the actor is destroyed because Clutter only ever uses a single rendering context and all of the graphics resources are valid on any stage. Because mapped actors must be realized, actors may not be unrealized if they are mapped. This function hides the actor to be sure it isn't mapped, an application-visible side effect that you may not be expecting. This function should not really be in the public API, because there isn't a good reason to call it. ClutterActor will already unrealize things for you when it's important to do so. If you were using clutter_actor_unrealize() in a dispose implementation, then don't, just chain up to ClutterActor's dispose. If you were using clutter_actor_unrealize() to implement unrealizing children of your container, then don't, ClutterActor will already take care of that. If you were using clutter_actor_unrealize() to re-realize to create your resources in a different way, then use _clutter_actor_rerealize() (inside Clutter) or just call your code that recreates your resources directly (outside Clutter).
|
Clutter.Actor | |
unset_flags
(ActorFlags flags)
:
none
Unsets flags on self
This function will emit notifications for the changed properties
Unsets flags on self
This function will emit notifications for the changed properties
|
Clutter.Actor |
Event | Defined By | |
---|---|---|
activate (Text self)
:
none
|
Clutter.Text | |
The ::allocation-changed signal is emitted when the
ClutterActor:allocation property changes.
The ::allocation-changed signal is emitted when the
ClutterActor:allocation property changes. Usually, application code should just use the notifications for the :allocation property but if you want to track the allocation flags as well, for instance to know whether the absolute origin of actor changed, then you might want use this signal instead.
|
Clutter.Actor | |
The ::button-press-event signal is emitted each time a mouse button
is pressed on actor.
The ::button-press-event signal is emitted each time a mouse button
is pressed on actor. or FALSE to continue the emission.
|
Clutter.Actor | |
The ::button-release-event signal is emitted each time a mouse button
is released on actor.
The ::button-release-event signal is emitted each time a mouse button
is released on actor. or FALSE to continue the emission.
|
Clutter.Actor | |
The ::captured-event signal is emitted when an event is captured
by Clutter.
The ::captured-event signal is emitted when an event is captured
by Clutter. This signal will be emitted starting from the top-level container (the ClutterStage) to the actor which received the event going down the hierarchy. This signal can be used to intercept every event before the specialized events (like ClutterActor::button-press-event or ::key-released-event) are emitted. or FALSE to continue the emission.
|
Clutter.Actor | |
The ::cursor-event signal is emitted whenever the cursor position
changes inside a ClutterText actor.
The ::cursor-event signal is emitted whenever the cursor position
changes inside a ClutterText actor. Inside geometry it is stored the current position and size of the cursor, relative to the actor itself.
|
Clutter.Text | |
This signal is emitted when text is deleted from the actor by
the user.
This signal is emitted when text is deleted from the actor by
the user. It is emitted before self text changes.
|
Clutter.Text | |
destroy (Actor self)
:
none
The ::destroy signal is emitted when an actor is destroyed,
either by direct invocation of clutter_actor_destroy() or when the ClutterGroup that contains the actor is destroyed.
The ::destroy signal is emitted when an actor is destroyed,
either by direct invocation of clutter_actor_destroy() or when the ClutterGroup that contains the actor is destroyed.
|
Clutter.Actor | |
The ::enter-event signal is emitted when the pointer enters the actor
or FALSE to continue the emission.
The ::enter-event signal is emitted when the pointer enters the actor
or FALSE to continue the emission.
|
Clutter.Actor | |
The ::event signal is emitted each time an event is received
by the actor.
The ::event signal is emitted each time an event is received
by the actor. This signal will be emitted on every actor, following the hierarchy chain, until it reaches the top-level container (the ClutterStage). or FALSE to continue the emission.
|
Clutter.Actor | |
hide (Actor self)
:
none
The ::hide signal is emitted when an actor is no longer rendered
on the stage.
The ::hide signal is emitted when an actor is no longer rendered
on the stage.
|
Clutter.Actor | |
This signal is emitted when text is inserted into the actor by
the user.
This signal is emitted when text is inserted into the actor by
the user. It is emitted before self text changes.
|
Clutter.Text | |
key_focus_in (Actor self)
:
none
The ::focus-in signal is emitted when actor recieves key focus.
The ::focus-in signal is emitted when actor recieves key focus.
|
Clutter.Actor | |
key_focus_out (Actor self)
:
none
The ::key-focus-out signal is emitted when actor loses key focus.
The ::key-focus-out signal is emitted when actor loses key focus.
|
Clutter.Actor | |
The ::key-press-event signal is emitted each time a keyboard button
is pressed while actor has key focus (see clutter_stage_set_key_focus()).
The ::key-press-event signal is emitted each time a keyboard button
is pressed while actor has key focus (see clutter_stage_set_key_focus()). or FALSE to continue the emission.
|
Clutter.Actor | |
The ::key-release-event signal is emitted each time a keyboard button
is released while actor has key focus (see clutter_stage_set_key_focus()).
The ::key-release-event signal is emitted each time a keyboard button
is released while actor has key focus (see clutter_stage_set_key_focus()). or FALSE to continue the emission.
|
Clutter.Actor | |
The ::leave-event signal is emitted when the pointer leaves the actor.
The ::leave-event signal is emitted when the pointer leaves the actor.
or FALSE to continue the emission.
|
Clutter.Actor | |
The ::motion-event signal is emitted each time the mouse pointer is
moved over actor.
The ::motion-event signal is emitted each time the mouse pointer is
moved over actor. or FALSE to continue the emission.
|
Clutter.Actor | |
paint (Actor self)
:
none
The ::paint signal is emitted each time an actor is being painted.
The ::paint signal is emitted each time an actor is being painted.
Subclasses of ClutterActor should override the class signal handler and paint themselves in that function. It is possible to connect a handler to the ::paint signal in order to set up some custom aspect of a paint.
|
Clutter.Actor | |
This signal is emitted when the parent of the actor changes.
This signal is emitted when the parent of the actor changes.
|
Clutter.Actor | |
The ::pick signal is emitted each time an actor is being painted
in "pick mode".
The ::pick signal is emitted each time an actor is being painted
in "pick mode". The pick mode is used to identify the actor during the event handling phase, or by clutter_stage_get_actor_at_pos(). The actor should paint its shape using the passed pick_color. Subclasses of ClutterActor should override the class signal handler and paint themselves in that function. It is possible to connect a handler to the ::pick signal in order to set up some custom aspect of a paint in pick mode.
|
Clutter.Actor | |
The ::queue_redraw signal is emitted when clutter_actor_queue_redraw()
is called on origin.
The ::queue_redraw signal is emitted when clutter_actor_queue_redraw()
is called on origin. The default implementation for ClutterActor chains up to the parent actor and queues a redraw on the parent, thus "bubbling" the redraw queue up through the actor graph. The default implementation for ClutterStage queues a clutter_redraw() in a main loop idle handler. Note that the origin actor may be the stage, or a container; it does not have to be a leaf node in the actor graph. Toolkits embedding a ClutterStage which require a redraw and relayout cycle can stop the emission of this signal using the GSignal API, redraw the UI and then call clutter_redraw() themselves, like: |[ static void on_redraw_complete (void) { /* execute the Clutter drawing pipeline */ clutter_redraw (); } static void on_stage_queue_redraw (ClutterStage *stage) { /* this prevents the default handler to run */ g_signal_stop_emission_by_name (stage, "queue-redraw"); /* queue a redraw with the host toolkit and call * a function when the redraw has been completed */ queue_a_redraw (G_CALLBACK (on_redraw_complete)); } ]| pipeline is executed. If you want to know when the pipeline has been completed you should connect to the ::paint signal on the Stage with g_signal_connect_after().
|
Clutter.Actor | |
queue_relayout (Actor self)
:
none
|
Clutter.Actor | |
realize (Actor self)
:
none
The ::realize signal is emitted each time an actor is being
realized.
The ::realize signal is emitted each time an actor is being
realized.
|
Clutter.Actor | |
The ::scroll-event signal is emitted each time the mouse is
scrolled on actor or FALSE to continue the emission.
The ::scroll-event signal is emitted each time the mouse is
scrolled on actor or FALSE to continue the emission.
|
Clutter.Actor | |
show (Actor self)
:
none
The ::show signal is emitted when an actor is visible and
rendered on the stage.
The ::show signal is emitted when an actor is visible and
rendered on the stage.
|
Clutter.Actor | |
text_changed (Text self)
:
none
The ::text-changed signal is emitted after actor's text changes
The ::text-changed signal is emitted after actor's text changes
|
Clutter.Text | |
unrealize (Actor self)
:
none
The ::unrealize signal is emitted each time an actor is being
unrealized.
The ::unrealize signal is emitted each time an actor is being
unrealized.
|
Clutter.Actor |