Class
ClutterText
Description [src]
class Clutter.Text : Clutter.Actor {
/* No available fields */
}
The ClutterText
struct contains only private data.
Available since: | 1.0 |
Constructors
clutter_text_new
Creates a new ClutterText
actor. This actor can be used to
display and edit text.
Available since: 1.0
clutter_text_new_full
Creates a new ClutterText
actor, using font_name
as the font
description; text
will be used to set the contents of the actor;
and color
will be used as the color to render text
.
Available since: 1.0
clutter_text_new_with_buffer
Creates a new entry with the specified text buffer.
Available since: 1.10
clutter_text_new_with_text
Creates a new ClutterText
actor, using font_name
as the font
description; text
will be used to set the contents of the actor.
Available since: 1.0
Instance methods
clutter_text_activate
Emits the ClutterText::activate
signal, if self
has been set
as activatable using clutter_text_set_activatable().
Available since: 1.0
clutter_text_coords_to_position
Retrieves the position of the character at the given coordinates.
Available since: 1.10
clutter_text_delete_chars
Deletes n_chars
inside a ClutterText
actor, starting from the
current cursor position.
Available since: 1.0
clutter_text_delete_text
Deletes the text inside a ClutterText
actor between start_pos
and end_pos
.
Available since: 1.0
clutter_text_get_activatable
Retrieves whether a ClutterText
is activatable or not.
Available since: 1.0
clutter_text_get_attributes
Gets the attribute list that was set on the ClutterText
actor
clutter_text_set_attributes(), if any.
Available since: 1.0
clutter_text_get_buffer
Get the ClutterTextBuffer
object which holds the text for
this widget.
Available since: 1.10
clutter_text_get_chars
Retrieves the contents of the ClutterText
actor between
start_pos
and end_pos
, but not including end_pos
.
Available since: 1.0
clutter_text_get_color
Retrieves the text color as set by clutter_text_set_color().
Available since: 1.0
clutter_text_get_cursor_color
Retrieves the color of the cursor of a ClutterText
actor.
Available since: 1.0
clutter_text_get_cursor_rect
Retrieves the rectangle that contains the cursor.
Available since: 1.16
clutter_text_get_cursor_size
Retrieves the size of the cursor of a ClutterText
actor.
Available since: 1.0
clutter_text_get_cursor_visible
Retrieves whether the cursor of a ClutterText
actor is visible.
Available since: 1.0
clutter_text_get_ellipsize
Returns the ellipsizing position of a ClutterText
actor, as
set by clutter_text_set_ellipsize().
Available since: 1.0
clutter_text_get_font_description
Retrieves the PangoFontDescription
used by self
.
Available since: 1.2
clutter_text_get_font_name
Retrieves the font name as set by clutter_text_set_font_name().
Available since: 1.0
clutter_text_get_input_hints
clutter_text_get_input_purpose
clutter_text_get_justify
Retrieves whether the ClutterText
actor should justify its contents
on both margins.
Available since: 0.6
clutter_text_get_layout
Retrieves the current PangoLayout
used by a ClutterText
actor.
Available since: 1.0
clutter_text_get_layout_offsets
Obtains the coordinates where the ClutterText
will draw the PangoLayout
representing the text.
Available since: 1.8
clutter_text_get_line_alignment
Retrieves the alignment of a ClutterText
, as set by clutter_text_set_line_alignment().
Available since: 1.0
clutter_text_get_line_wrap
Retrieves the value set using clutter_text_set_line_wrap().
Available since: 1.0
clutter_text_get_line_wrap_mode
Retrieves the line wrap mode used by the ClutterText
actor.
Available since: 1.0
clutter_text_get_max_length
Gets the maximum length of text that can be set into a text actor.
Available since: 1.0
clutter_text_get_password_char
Retrieves the character to use in place of the actual text as set by clutter_text_set_password_char().
Available since: 1.0
clutter_text_get_selectable
Retrieves whether a ClutterText
is selectable or not.
Available since: 1.0
clutter_text_get_selected_text_color
Retrieves the color of selected text of a ClutterText
actor.
Available since: 1.8
clutter_text_get_selection_bound
Retrieves the other end of the selection of a ClutterText
actor,
in characters from the current cursor position.
Available since: 1.0
clutter_text_get_selection_color
Retrieves the color of the selection of a ClutterText
actor.
Available since: 1.0
clutter_text_get_single_line_mode
Retrieves whether the ClutterText
actor is in single line mode.
Available since: 1.0
clutter_text_get_text
Retrieves a pointer to the current contents of a ClutterText
actor.
Available since: 1.0
clutter_text_get_use_markup
Retrieves whether the contents of the ClutterText
actor should be
parsed for the Pango text markup.
Available since: 1.0
clutter_text_has_preedit
clutter_text_insert_text
Inserts text
into a ClutterActor
at the given position.
Available since: 1.0
clutter_text_insert_unichar
Inserts wc
at the current cursor position of a
ClutterText
actor.
Available since: 1.0
clutter_text_position_to_coords
Retrieves the coordinates of the given position
.
Available since: 1.0
clutter_text_set_activatable
Sets whether a ClutterText
actor should be activatable.
Available since: 1.0
clutter_text_set_attributes
Sets the attributes list that are going to be applied to the
ClutterText
contents.
Available since: 1.0
clutter_text_set_buffer
Set the ClutterTextBuffer
object which holds the text for
this widget.
Available since: 1.10
clutter_text_set_cursor_color
Sets the color of the cursor of a ClutterText
actor.
Available since: 1.0
clutter_text_set_cursor_position
Sets the cursor of a ClutterText
actor at position
.
Available since: 1.0
clutter_text_set_cursor_size
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
.
Available since: 1.0
clutter_text_set_cursor_visible
Sets whether the cursor of a ClutterText
actor should be
visible or not.
Available since: 1.0
clutter_text_set_editable
Sets whether the ClutterText
actor should be editable.
Available since: 1.0
clutter_text_set_ellipsize
Sets the mode used to ellipsize (add an ellipsis: “…”) to the
text if there is not enough space to render the entire contents
of a ClutterText
actor.
Available since: 1.0
clutter_text_set_font_description
Sets font_desc
as the font description for a ClutterText
.
Available since: 1.2
clutter_text_set_font_name
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:
Available since: 1.0
clutter_text_set_input_hints
clutter_text_set_input_purpose
clutter_text_set_justify
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.
Available since: 1.0
clutter_text_set_line_alignment
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.
Available since: 1.0
clutter_text_set_line_wrap
Sets whether the contents of a ClutterText
actor should wrap,
if they don’t fit the size assigned to the actor.
Available since: 1.0
clutter_text_set_line_wrap_mode
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.
Available since: 1.0
clutter_text_set_max_length
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.
Available since: 1.0
clutter_text_set_password_char
Sets the character to use in place of the actual text in a password text actor.
Available since: 1.0
clutter_text_set_preedit_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.
Available since: 1.2
clutter_text_set_selectable
Sets whether a ClutterText
actor should be selectable.
Available since: 1.0
clutter_text_set_selected_text_color
Sets the selected text color of a ClutterText
actor.
Available since: 1.8
clutter_text_set_selection
Selects the region of text between start_pos
and end_pos
.
Available since: 1.0
clutter_text_set_selection_bound
Sets the other end of the selection, starting from the current cursor position.
Available since: 1.0
clutter_text_set_selection_color
Sets the color of the selection of a ClutterText
actor.
Available since: 1.0
clutter_text_set_single_line_mode
Sets whether a ClutterText
actor should be in single line mode
or not. Only editable ClutterText
s can be in single line mode.
Available since: 1.0
clutter_text_set_use_markup
Sets whether the contents of the ClutterText
actor contains markup
in Pango’s text markup language.
Available since: 1.0
Methods inherited from ClutterActor (215)
Please see ClutterActor for a full list of methods.
Methods inherited from ClutterAnimatable (5)
clutter_animatable_find_property
Finds the GParamSpec
for property_name
.
Available since: 1.4
clutter_animatable_get_actor
Get animated actor.
clutter_animatable_get_initial_state
Retrieves the current state of property_name
and sets value
with it.
Available since: 1.4
clutter_animatable_interpolate_value
Asks a ClutterAnimatable
implementation to interpolate a
a named property between the initial and final values of
a ClutterInterval
, using progress
as the interpolation
value, and store the result inside value
.
Available since: 1.8
clutter_animatable_set_final_state
Sets the current state of property_name
to value
.
Available since: 1.4
Methods inherited from ClutterContainer (13)
clutter_container_add
Adds a list of ClutterActor
s to container
. Each time and
actor is added, the “actor-added” signal is emitted. Each actor should
be parented to container
, which takes a reference on the actor. You
cannot add a ClutterActor
to more than one ClutterContainer
.
Available since: 0.4
Deprecated since: 1.10
clutter_container_add_actor
Adds a ClutterActor
to container
. This function will emit the
“actor-added” signal. The actor should be parented to
container
. You cannot add a ClutterActor
to more than one
ClutterContainer
.
Available since: 0.4
Deprecated since: 1.10
clutter_container_child_get
Gets container
specific properties of an actor.
Available since: 0.8
clutter_container_child_get_property
Gets a container specific property of a child of container
, In general,
a copy is made of the property contents and the caller is responsible for
freeing the memory by calling g_value_unset().
Available since: 0.8
clutter_container_child_notify
Calls the ClutterContainerIface
.child_notify() virtual function
of ClutterContainer
. The default implementation will emit the
ClutterContainer::child-notify
signal.
Available since: 1.6
clutter_container_child_set
Sets container specific properties on the child of a container.
Available since: 0.8
clutter_container_child_set_property
Sets a container-specific property on a child of container
.
Available since: 0.8
clutter_container_create_child_meta
Creates the ClutterChildMeta
wrapping actor
inside the
container
, if the ClutterContainerIface::child_meta_type
class member is not set to G_TYPE_INVALID
.
Available since: 1.2
clutter_container_destroy_child_meta
Destroys the ClutterChildMeta
wrapping actor
inside the
container
, if any.
Available since: 1.2
clutter_container_find_child_by_name
Finds a child actor of a container by its name. Search recurses into any child container.
Available since: 0.6
clutter_container_get_child_meta
Retrieves the ClutterChildMeta
which contains the data about the
container
specific state for actor
.
Available since: 0.8
clutter_container_remove
Removes a NULL
terminated list of ClutterActor
s from
container
. Each actor should be unparented, so if you want to keep it
around you must hold a reference to it yourself, using g_object_ref().
Each time an actor is removed, the “actor-removed” signal is
emitted by container
.
Available since: 0.4
Deprecated since: 1.10
clutter_container_remove_actor
Removes actor
from container
. The actor should be unparented, so
if you want to keep it around you must hold a reference to it
yourself, using g_object_ref(). When the actor has been removed,
the “actor-removed” signal is emitted by container
.
Available since: 0.4
Deprecated since: 1.10
Methods inherited from ClutterScriptable (4)
clutter_scriptable_get_id
Retrieves the id of scriptable
set using clutter_scriptable_set_id().
Available since: 0.6
clutter_scriptable_parse_custom_node
Parses the passed JSON node. The implementation must set the type
of the passed GValue
pointer using g_value_init().
Available since: 0.6
clutter_scriptable_set_custom_property
Overrides the common properties setting. The underlying virtual function should be used when implementing custom properties.
Available since: 0.6
clutter_scriptable_set_id
Sets id_
as the unique Clutter script it for this instance of
ClutterScriptableIface
.
Available since: 0.6
Properties
Clutter.Text:activatable
Toggles whether return invokes the activate signal or not.
Available since: 1.0
Clutter.Text:attributes
A list of PangoStyleAttribute
s to be applied to the
contents of the ClutterText
actor.
Available since: 1.0
Clutter.Text:cursor-color-set
Will be set to TRUE
if ClutterText:cursor-color
has been set.
Available since: 1.0
Clutter.Text:cursor-position
The current input cursor position. -1 is taken to be the end of the text.
Available since: 1.12
Clutter.Text:cursor-size
The size of the cursor, in pixels. If set to -1 the size used will be the default cursor size of 2 pixels.
Available since: 1.0
Clutter.Text:editable
Whether key events delivered to the actor causes editing.
Available since: 1.0
Clutter.Text:ellipsize
The preferred place to ellipsize the contents of the ClutterText
actor.
Available since: 1.0
Clutter.Text:font-description
The PangoFontDescription
that should be used by the ClutterText
.
Available since: 1.2
Clutter.Text:font-name
The font to be used by the ClutterText
, as a string
that can be parsed by pango_font_description_from_string().
Available since: 1.0
Clutter.Text:input-hints
Clutter.Text:input-purpose
Clutter.Text:justify
Whether the contents of the ClutterText
should be justified
on both margins.
Available since: 1.0
Clutter.Text:line-alignment
The preferred alignment for the text. This property controls the alignment of multi-line paragraphs.
Available since: 1.0
Clutter.Text:line-wrap
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.
Available since: 1.0
Clutter.Text:line-wrap-mode
If ClutterText:line-wrap
is set to TRUE
, this property will
control how the text is wrapped.
Available since: 1.0
Clutter.Text:max-length
The maximum length of the contents of the ClutterText
actor.
Available since: 1.0
Clutter.Text:password-char
If non-zero, the character that should be used in place of the actual text in a password text actor.
Available since: 1.0
Clutter.Text:position
The current input cursor position. -1 is taken to be the end of the text.
Available since: 1.0
Deprecated since: 1.12
Clutter.Text:selectable
Whether it is possible to select text, either using the pointer or the keyboard.
Available since: 1.0
Clutter.Text:selected-text-color-set
Will be set to TRUE
if ClutterText:selected-text-color
has been set.
Available since: 1.8
Clutter.Text:selection-bound
The current input cursor position. -1 is taken to be the end of the text.
Available since: 1.0
Clutter.Text:selection-color-set
Will be set to TRUE
if ClutterText:selection-color
has been set.
Available since: 1.0
Clutter.Text:single-line-mode
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.
Available since: 1.0
Properties inherited from ClutterActor (70)
Clutter.Actor:actions
Adds a ClutterAction
to the actor.
Available since: 1.4
Clutter.Actor:allocation
The allocation for the actor, in pixels.
Available since: 0.8
Clutter.Actor:background-color
Paints a solid fill of the actor’s allocation using the specified color.
Available since: 1.10
Clutter.Actor:background-color-set
Whether the ClutterActor:background-color
property has been set.
Available since: 1.10
Clutter.Actor:child-transform
Applies a transformation matrix on each child of an actor.
Available since: 1.12
Clutter.Actor:child-transform-set
Whether the ClutterActor:child-transform
property is set.
Available since: 1.12
Clutter.Actor:clip-rect
The visible region of the actor, in actor-relative coordinates, expressed as a #graphene_rect_t.
Available since: 1.12
Clutter.Actor:clip-to-allocation
Whether the clip region should track the allocated area of the actor.
Available since: 1.0
Clutter.Actor:constraints
Adds a ClutterConstraint
to the actor.
Available since: 1.4
Clutter.Actor:content
The ClutterContent
implementation that controls the content
of the actor.
Available since: 1.10
Clutter.Actor:content-box
The bounding box for the ClutterContent
used by the actor.
Available since: 1.10
Clutter.Actor:content-gravity
The alignment that should be honoured by the ClutterContent
set with the ClutterActor:content
property.
Available since: 1.10
Clutter.Actor:content-repeat
The repeat policy for the actor’s ClutterActor:content
.
Available since: 1.12
Clutter.Actor:effect
Adds ClutterEffect
to the list of effects be applied on a ClutterActor
.
Available since: 1.4
Clutter.Actor:first-child
The actor’s first child.
Available since: 1.10
Clutter.Actor:fixed-position-set
This flag controls whether the ClutterActor:fixed-x
and
ClutterActor:fixed-y
properties are used.
Available since: 0.8
Clutter.Actor:fixed-x
The fixed X position of the actor in pixels.
Available since: 0.8
Clutter.Actor:fixed-y
The fixed Y position of the actor in pixels.
Available since: 0.8
Clutter.Actor:has-clip
Whether the actor has the ClutterActor:clip
property set or not.
Clutter.Actor:has-pointer
Whether the actor contains the pointer of a ClutterInputDevice
or not.
Available since: 1.2
Clutter.Actor:height
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:last-child
The actor’s last child.
Available since: 1.10
Clutter.Actor:layout-manager
A delegate object for controlling the layout of the children of an actor.
Available since: 1.10
Clutter.Actor:magnification-filter
Clutter.Actor:mapped
Whether the actor is mapped (will be painted when the stage to which it belongs is mapped)
Available since: 1.0
Clutter.Actor:margin-bottom
The margin (in pixels) from the bottom of the actor.
Available since: 1.10
Clutter.Actor:margin-left
The margin (in pixels) from the left of the actor.
Available since: 1.10
Clutter.Actor:margin-right
The margin (in pixels) from the right of the actor.
Available since: 1.10
Clutter.Actor:margin-top
The margin (in pixels) from the top of the actor.
Available since: 1.10
Clutter.Actor:min-height
A forced minimum height request for the actor, in pixels.
Available since: 0.8
Clutter.Actor:min-height-set
This flag controls whether the ClutterActor:min-height
property
is used.
Available since: 0.8
Clutter.Actor:min-width
A forced minimum width request for the actor, in pixels.
Available since: 0.8
Clutter.Actor:min-width-set
This flag controls whether the ClutterActor:min-width
property
is used.
Available since: 0.8
Clutter.Actor:minification-filter
Clutter.Actor:name
The name of the actor.
Available since: 0.2
Clutter.Actor:natural-height
A forced natural height request for the actor, in pixels.
Available since: 0.8
Clutter.Actor:natural-height-set
This flag controls whether the ClutterActor:natural-height
property
is used.
Available since: 0.8
Clutter.Actor:natural-width
A forced natural width request for the actor, in pixels.
Available since: 0.8
Clutter.Actor:natural-width-set
This flag controls whether the ClutterActor:natural-width
property
is used.
Available since: 0.8
Clutter.Actor:offscreen-redirect
Determines the conditions in which the actor will be redirected
to an offscreen framebuffer while being painted. For example this
can be used to cache an actor in a framebuffer or for improved
handling of transparent actors. See
clutter_actor_set_offscreen_redirect()
for details.
Available since: 1.8
Clutter.Actor:opacity
Opacity of an actor, between 0 (fully transparent) and 255 (fully opaque)
Clutter.Actor:pivot-point
The point around which the scaling and rotation transformations occur.
Available since: 1.12
Clutter.Actor:pivot-point-z
The Z component of the ClutterActor:pivot-point
, expressed as a value
along the Z axis.
Available since: 1.12
Clutter.Actor:position
The position of the origin of the actor.
Available since: 1.12
Clutter.Actor:reactive
Whether the actor is reactive to events or not.
Available since: 0.6
Clutter.Actor:realized
Whether the actor has been realized.
Available since: 1.0
Clutter.Actor:request-mode
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.
Available since: 0.8
Clutter.Actor:rotation-angle-x
The rotation angle on the X axis.
Available since: 0.6
Clutter.Actor:rotation-angle-y
The rotation angle on the Y axis.
Available since: 0.6
Clutter.Actor:rotation-angle-z
The rotation angle on the Z axis.
Available since: 0.6
Clutter.Actor:scale-x
The horizontal scale of the actor.
Available since: 0.6
Clutter.Actor:scale-y
The vertical scale of the actor.
Available since: 0.6
Clutter.Actor:scale-z
The scale factor of the actor along the Z axis.
Available since: 1.12
Clutter.Actor:show-on-set-parent
If TRUE
, the actor is automatically shown when parented.
Available since: 0.8
Clutter.Actor:size
The size of the actor.
Available since: 1.12
Clutter.Actor:text-direction
The direction of the text inside a ClutterActor
.
Available since: 1.0
Clutter.Actor:transform
Overrides the transformations of a ClutterActor
with a custom matrix.
Available since: 1.12
Clutter.Actor:transform-set
Whether the ClutterActor:transform
property is set.
Available since: 1.12
Clutter.Actor:translation-x
An additional translation applied along the X axis, relative
to the actor’s ClutterActor:pivot-point
.
Available since: 1.12
Clutter.Actor:translation-y
An additional translation applied along the Y axis, relative
to the actor’s ClutterActor:pivot-point
.
Available since: 1.12
Clutter.Actor:translation-z
An additional translation applied along the Z axis, relative
to the actor’s ClutterActor:pivot-point
.
Available since: 1.12
Clutter.Actor:visible
Whether the actor is set to be visible or not.
Clutter.Actor:width
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
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:x-align
The alignment of an actor on the X axis, if the actor has been given
extra space for its allocation. See also the ClutterActor:x-expand
property.
Available since: 1.10
Clutter.Actor:x-expand
Whether a layout manager should assign more space to the actor on the X axis.
Available since: 1.12
Clutter.Actor:y
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:y-align
The alignment of an actor on the Y axis, if the actor has been given extra space for its allocation.
Available since: 1.10
Clutter.Actor:y-expand
Whether a layout manager should assign more space to the actor on the Y axis.
Available since: 1.12
Clutter.Actor:z-position
The actor’s position on the Z axis, relative to the parent’s transformations.
Available since: 1.12
Signals
Clutter.Text::activate
The ::activate signal is emitted each time the actor is ‘activated’
by the user, normally by pressing the ‘Enter’ key. The signal is
emitted only if ClutterText:activatable
is set to TRUE
.
Available since: 1.0
Clutter.Text::cursor-changed
The ::cursor-changed signal is emitted whenever the cursor position or size changes.
Available since: 1.16
Clutter.Text::cursor-event
The ::cursor-event signal is emitted whenever the cursor position
changes inside a ClutterText
actor. Inside rect
it is stored
the current position and size of the cursor, relative to the actor itself.
Available since: 1.0
Deprecated since: 1.16
Clutter.Text::delete-text
This signal is emitted when text is deleted from the actor by
the user. It is emitted before self
text changes.
Available since: 1.2
Clutter.Text::insert-text
This signal is emitted when text is inserted into the actor by
the user. It is emitted before self
text changes.
Available since: 1.2
Clutter.Text::text-changed
The ::text-changed signal is emitted after actor
‘s text changes.
Available since: 1.0
Signals inherited from ClutterActor (25)
Clutter.Actor::button-press-event
The ::button-press-event signal is emitted each time a mouse button
is pressed on actor
.
Available since: 0.6
Clutter.Actor::button-release-event
The ::button-release-event signal is emitted each time a mouse button
is released on actor
.
Available since: 0.6
Clutter.Actor::captured-event
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.
Available since: 0.6
Clutter.Actor::destroy
The ::destroy signal notifies that all references held on the actor which emitted it should be released.
Available since: 0.2
Clutter.Actor::enter-event
The ::enter-event signal is emitted when the pointer enters the actor
.
Available since: 0.6
Clutter.Actor::event
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
).
Available since: 0.6
Clutter.Actor::hide
The ::hide signal is emitted when an actor is no longer rendered on the stage.
Available since: 0.2
Clutter.Actor::key-focus-in
The ::key-focus-in signal is emitted when actor
receives key focus.
Available since: 0.6
Clutter.Actor::key-focus-out
The ::key-focus-out signal is emitted when actor
loses key focus.
Available since: 0.6
Clutter.Actor::key-press-event
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()).
Available since: 0.6
Clutter.Actor::key-release-event
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()).
Available since: 0.6
Clutter.Actor::leave-event
The ::leave-event signal is emitted when the pointer leaves the actor
.
Available since: 0.6
Clutter.Actor::motion-event
The ::motion-event signal is emitted each time the mouse pointer is
moved over actor
.
Available since: 0.6
Clutter.Actor::parent-set
This signal is emitted when the parent of the actor changes.
Available since: 0.2
Clutter.Actor::pick
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().
Available since: 1.0
Deprecated since: 1.12
Clutter.Actor::queue-relayout
The ::queue_layout signal is emitted when clutter_actor_queue_relayout()
is called on an actor.
Available since: 1.2
Clutter.Actor::realize
The ::realize signal is emitted each time an actor is being realized.
Available since: 0.8
Deprecated since: 1.16
Clutter.Actor::resource-scale-changed
The ::resource-scale-changed signal is emitted when the resource scale
value returned by clutter_actor_get_resource_scale()
changes.
Clutter.Actor::scroll-event
The ::scroll-event signal is emitted each time the mouse is
scrolled on actor
.
Available since: 0.6
Clutter.Actor::show
The ::show signal is emitted when an actor is visible and rendered on the stage.
Available since: 0.2
Clutter.Actor::stage-views-changed
The ::stage-views-changed signal is emitted when the position or size an actor is being painted at have changed so that it’s visible on different stage views.
Clutter.Actor::touch-event
The ::touch-event signal is emitted each time a touch begin/end/update/cancel event.
Available since: 1.12
Clutter.Actor::transition-stopped
The ::transition-stopped signal is emitted once a transition
is stopped; a transition is stopped once it reached its total
duration (including eventual repeats), it has been stopped
using clutter_timeline_stop(), or it has been removed from the
transitions applied on actor
, using clutter_actor_remove_transition().
Available since: 1.12
Clutter.Actor::transitions-completed
The ::transitions-completed signal is emitted once all transitions
involving actor
are complete.
Available since: 1.10
Clutter.Actor::unrealize
The ::unrealize signal is emitted each time an actor is being unrealized.
Available since: 0.8
Deprecated since: 1.16
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Signals inherited from ClutterContainer (3)
Clutter.Container::actor-added
The ::actor-added signal is emitted each time an actor
has been added to container
.
Available since: 0.4
Clutter.Container::actor-removed
The ::actor-removed signal is emitted each time an actor
is removed from container
.
Available since: 0.4
Clutter.Container::child-notify
The ::child-notify signal is emitted each time a property is
being set through the clutter_container_child_set()
and
clutter_container_child_set_property()
calls.
Available since: 0.8
Class structure
struct ClutterTextClass {
void (* text_changed) (
ClutterText* self
);
void (* activate) (
ClutterText* self
);
void (* cursor_event) (
ClutterText* self,
const graphene_rect_t* rect
);
void (* cursor_changed) (
ClutterText* self
);
void (* _clutter_reserved1) (
void
);
void (* _clutter_reserved2) (
void
);
void (* _clutter_reserved3) (
void
);
void (* _clutter_reserved4) (
void
);
void (* _clutter_reserved5) (
void
);
void (* _clutter_reserved6) (
void
);
void (* _clutter_reserved7) (
void
);
}
Class members
text_changed |
|
No description available. | |
activate |
|
No description available. | |
cursor_event |
|
No description available. | |
cursor_changed |
|
No description available. | |
_clutter_reserved1 |
|
No description available. | |
_clutter_reserved2 |
|
No description available. | |
_clutter_reserved3 |
|
No description available. | |
_clutter_reserved4 |
|
No description available. | |
_clutter_reserved5 |
|
No description available. | |
_clutter_reserved6 |
|
No description available. | |
_clutter_reserved7 |
|
No description available. |