cluttermm  1.17.3
New API in cluttermm 1.0
Member Clutter::Actor::allocate_available_size (float x, float y, float available_width, float available_height, AllocationFlags flags=ALLOCATION_NONE)
Parameters
xThe actor's X coordinate.
yThe actor's Y coordinate.
available_widthThe maximum available width, or -1 to use the actor's natural width.
available_heightThe maximum available height, or -1 to use the actor's natural height.
flagsFlags controlling the allocation.
Member Clutter::Actor::create_pango_context ()
Returns
The newly created Pango::Context. Use Glib::object_unref() on the returned value to deallocate its resources.
Member Clutter::Actor::create_pango_layout (const Glib::ustring& text)
Parameters
textThe text to set on the Pango::Layout, or 0.
Returns
The newly created Pango::Layout. Use Glib::object_unref() when done.
Member Clutter::Actor::get_anchor_point_gravity ()
Member Clutter::Actor::get_animation ()
Deprecated: 1.12: Use the implicit transition for animatable properties in Clutter::Actor instead, and get_transition() to retrieve the transition.
Member Clutter::Actor::get_animation () const
Deprecated: 1.12: Use the implicit transition for animatable properties in Clutter::Actor instead, and get_transition() to retrieve the transition.
Member Clutter::Actor::get_flags () const
Returns
A bitwise or of Clutter::ActorFlags or 0.
Member Clutter::Actor::get_pango_context ()
Returns
The Pango::Context for a Clutter::Actor. The returned Pango::Context is owned by the actor and should not be unreferenced by the application code.
Member Clutter::Actor::get_pango_context () const
Returns
The Pango::Context for a Clutter::Actor. The returned Pango::Context is owned by the actor and should not be unreferenced by the application code.
Member Clutter::Actor::get_scale_center (float& center_x, float& center_y) const
Member Clutter::Actor::get_scale_gravity () const
Member Clutter::Actor::get_transformation_matrix (ClutterMatrix* matrix)
Member Clutter::Actor::get_z_rotation_gravity () const
Member Clutter::Actor::grab_key_focus ()
Member Clutter::Actor::is_in_clone_paint () const
Returns
true if the Clutter::Actor is currently being painted by a Clutter::Clone, and false otherwise.
Member Clutter::Actor::map ()
Member Clutter::Actor::set_flags (ActorFlags flags)
Parameters
flagsThe flags to set.
Member Clutter::Actor::set_scale_full (double scale_x, double scale_y, float center_x, float center_y)
Member Clutter::Actor::set_scale_with_gravity (double scale_x, double scale_y, Gravity gravity)
Member Clutter::Actor::set_shader_param (const Glib::ustring& param, const ParamType& value)
Member Clutter::Actor::set_shader_param_value (const Glib::ustring& param, const Glib::ValueBase& value)
Member Clutter::Actor::set_z_rotation_from_gravity (double angle, Gravity gravity)
Member Clutter::Actor::signal_allocation_changed ()
Parameters
boxA Clutter::ActorBox with the new allocation.
flagsClutter::AllocationFlags for the allocation.
Member Clutter::Actor::signal_pick ()
Deprecated: 1.12: Override the Clutter::ActorClass.pick virtual function instead.
Parameters
colorThe Clutter::Color to be used when picking.
Member Clutter::Actor::signal_queue_redaw ()
Parameters
originThe actor which initiated the redraw request.
Member Clutter::Actor::unmap ()
Member Clutter::Actor::unset_flags (ActorFlags flags)
Parameters
flagsThe flags to unset.
Member Clutter::ActorBox::contains (float x, float y) const
Parameters
xX coordinate of the point.
yY coordinate of the point.
Returns
true if the point is contained by the Clutter::ActorBox.
Member Clutter::ActorBox::get_area () const
Returns
The area of a Clutter::ActorBox, in pixels.
Member Clutter::ActorBox::get_height () const
Returns
The height of the box.
Member Clutter::ActorBox::get_origin (float& x, float& y) const
Parameters
xReturn location for the X coordinate, or 0.
yReturn location for the Y coordinate, or 0.
Member Clutter::ActorBox::get_size (float& width, float& height) const
Parameters
widthReturn location for the width, or 0.
heightReturn location for the height, or 0.
Member Clutter::ActorBox::get_width () const
Returns
The width of the box.
Member Clutter::ActorBox::get_x () const
Returns
The X coordinate of the origin.
Member Clutter::ActorBox::get_y () const
Returns
The Y coordinate of the origin.
Member Clutter::Alpha::get_mode () const
Member Clutter::Alpha::set_mode (gulong mode)
Member Clutter::Animation::bind (const std::string& property_name, const Glib::ValueBase& final)
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::bind_interval (const std::string& property_name, const Glib::RefPtr< Interval >& interval)
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::completed ()
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::get_alpha () const
Member Clutter::Animation::get_duration () const
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::get_interval (const std::string& property_name) const
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::get_loop () const
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::get_mode () const
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::get_object () const
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::get_timeline () const
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::has_property (const std::string& property_name) const
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::set_alpha (const Glib::RefPtr< Alpha >& alpha)
Member Clutter::Animation::set_duration (guint msecs)
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::set_loop (bool loop=true)
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::set_mode (gulong mode)
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::set_object (const Glib::RefPtr< Glib::Object >& object)
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::set_timeline (const Glib::RefPtr< Timeline >& timeline)
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::signal_completed ()
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::signal_started ()
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::unbind_property (const std::string& property_name)
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::update (const std::string& property_name, const Glib::ValueBase& final)
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Animation::update_interval (const std::string& property_name, const Glib::RefPtr< Interval >& interval)
Deprecated: 1.12: Use Clutter::PropertyTransition instead
Member Clutter::Backend::get_font_name () const
Member Clutter::Backend::set_font_name (const Glib::ustring& font_name)
Member Clutter::Backend::signal_font_changed ()
Member Clutter::Backend::signal_resolution_changed ()
Member Clutter::BehaviourPath::get_path ()
Member Clutter::BehaviourPath::get_path () const
Member Clutter::BehaviourPath::set_path (const Glib::RefPtr< Path >& path)
Member Clutter::Cairo::Texture::clear ()
Deprecated: 1.12: Use Clutter::Canvas instead
Member Clutter::Cairo::Texture::create_context ()
Member Clutter::Cairo::Texture::create_context_region (int x_offset, int y_offset, int width, int height)
Member Clutter::Cairo::Texture::get_surface_size (guint& width, guint& height) const
Deprecated: 1.12: Use Clutter::Canvas instead
Parameters
widthReturn location for the surface width, or 0.
heightReturn location for the surface height, or 0.
Member Clutter::Cairo::Texture::set_surface_size (guint width, guint height)
Deprecated: 1.12: Use Clutter::Canvas instead
Parameters
widthThe new width of the surface.
heightThe new height of the surface.
Member Clutter::Clone::get_source ()
Returns
The actor source for the clone.
Member Clutter::Clone::get_source () const
Returns
The actor source for the clone.
Member Clutter::Clone::get_source (const Glib::RefPtr< Actor >& source)
Parameters
sourceA Clutter::Actor, or 0.
Member Clutter::Clone::set_source (const Glib::RefPtr< Actor >& source)
Parameters
sourceA Clutter::Actor, or 0.
Member Clutter::InputDevice::get_device_id () const
Returns
The identifier of the device.
Member Clutter::InputDevice::get_device_type () const
Returns
The type of the device.
Member Clutter::Interval::clone () const
Returns
The newly created Clutter::Interval.
Member Clutter::Interval::compute_value (double factor, Glib::ValueBase& value) const
Parameters
factorThe progress factor, between 0 and 1.
valueReturn location for an initialized Value.
Returns
true if the operation was successful.
Member Clutter::Interval::get_final_glib_value (Glib::ValueBase& value) const
Parameters
valueA Value.
Member Clutter::Interval::get_initial_glib_value (Glib::ValueBase& value) const
Parameters
valueA Value.
Member Clutter::Interval::get_value_type () const
Returns
The type of the value, or G_TYPE_INVALID.
Member Clutter::Interval::peek_final_value ()
Returns
The final value of the interval. The value is owned by the Clutter::Interval and it should not be modified or freed.
Member Clutter::Interval::peek_initial_value ()
Returns
The initial value of the interval. The value is owned by the Clutter::Interval and it should not be modified or freed.
Member Clutter::Interval::set_final_glib_value (const Glib::ValueBase& value)
Parameters
valueA Value.
Member Clutter::Interval::set_initial_glib_value (const Glib::ValueBase& value)
Parameters
valueA Value.
Member Clutter::Interval::validate (GParamSpec* pspec) const
Parameters
pspecA ParamSpec.
Returns
true if the Clutter::Interval is valid, false otherwise.
Member Clutter::LayoutManager::get_child_meta (const Glib::RefPtr< Container >& container, const Glib::RefPtr< Actor >& actor)
Parameters
containerA Clutter::Container using manager.
actorA Clutter::Actor child of container.
Returns
A Clutter::LayoutMeta, or 0 if the Clutter::LayoutManager does not have layout properties. The returned layout meta instance is owned by the Clutter::LayoutManager and it should not be unreferenced.
Member Clutter::LayoutManager::get_child_meta (const Glib::RefPtr< Container >& container, const Glib::RefPtr< Actor >& actor) const
Parameters
containerA Clutter::Container using manager.
actorA Clutter::Actor child of container.
Returns
A Clutter::LayoutMeta, or 0 if the Clutter::LayoutManager does not have layout properties. The returned layout meta instance is owned by the Clutter::LayoutManager and it should not be unreferenced.
Member Clutter::Media::get_audio_volume () const
Member Clutter::Media::get_buffer_percent () const
Member Clutter::Media::get_progress () const
Member Clutter::Media::set_audio_volume (double volume)
Member Clutter::Media::set_progress (double progress)
Member Clutter::Path::add_cairo_path (const ::Cairo::RefPtr< Cairo::Path >& path)
Parameters
cpathA Cairo path.
Member Clutter::Path::add_close ()
Member Clutter::Path::add_curve_to (int x1, int y1, int x2, int y2, int x3, int y3)
Parameters
x_1The x coordinate of the first control point.
y_1The y coordinate of the first control point.
x_2The x coordinate of the second control point.
y_2The y coordinate of the second control point.
x_3The x coordinate of the third control point.
y_3The y coordinate of the third control point.
Member Clutter::Path::add_line_to (int x, int y)
Parameters
xThe x coordinate.
yThe y coordinate.
Member Clutter::Path::add_move_to (int x, int y)
Parameters
xThe x coordinate.
yThe y coordinate.
Member Clutter::Path::add_rel_curve_to (int x1, int y1, int x2, int y2, int x3, int y3)
Parameters
x_1The x coordinate of the first control point.
y_1The y coordinate of the first control point.
x_2The x coordinate of the second control point.
y_2The y coordinate of the second control point.
x_3The x coordinate of the third control point.
y_3The y coordinate of the third control point.
Member Clutter::Path::add_rel_line_to (int x, int y)
Parameters
xThe x coordinate.
yThe y coordinate.
Member Clutter::Path::add_rel_move_to (int x, int y)
Parameters
xThe x coordinate.
yThe y coordinate.
Member Clutter::Path::add_string (const Glib::ustring& str)
Parameters
strA string describing the new nodes.
Returns
true is the path description was valid or false otherwise.
Member Clutter::Path::clear ()
Member Clutter::Path::get_description () const
Returns
A string description of the path. Free with Glib::free().
Member Clutter::Path::get_length () const
Returns
The length of the path.
Member Clutter::Path::get_position (double progress, Knot& position)
Parameters
progressA position along the path as a fraction of its length.
positionLocation to store the position.
Returns
Index of the node used to calculate the position.
Member Clutter::Path::set_description (const Glib::ustring& str)
Parameters
strA string describing the path.
Returns
true is the path was valid, false otherwise.
Member Clutter::Path::to_cairo_path (::Cairo::RefPtr< Cairo::Context >& context) const
Parameters
crA Cairo context.
Member Clutter::Shader::get_cogl_fragment_shader () const
Member Clutter::Shader::get_cogl_program () const
Member Clutter::Shader::get_cogl_vertex_shader () const
Member Clutter::Shader::set_uniform (const Glib::ustring& name, const Glib::ValueBase& value)
Member Clutter::Stage::ensure_redraw ()
Member Clutter::Stage::ensure_viewport ()
Member Clutter::Stage::get_fullscreen () const
Returns
true if the stage is full screen.
Member Clutter::Stage::get_throttle_motion_events () const
Returns
true if the motion events are being throttled, and false otherwise.
Member Clutter::Stage::set_fullscreen (bool fullscreen=true)
Parameters
fullscreentrue to to set the stage fullscreen.
Member Clutter::Stage::set_throttle_motion_events (bool throttle=true)
Parameters
throttletrue to throttle motion events.
Member Clutter::Text::activate ()
Returns
true if the signal_activate() signal has been emitted, and false otherwise.
Member Clutter::Text::delete_chars (guint len)
Parameters
n_charsThe number of characters to delete.
Member Clutter::Text::delete_selection ()
Returns
true if text was deleted or if the text actor is empty, and false otherwise.
Member Clutter::Text::delete_text (gssize start_pos, gssize end_pos)
Parameters
start_posStarting position.
end_posEnding position.
Member Clutter::Text::get_activatable () const
Returns
true if the actor is activatable.
Member Clutter::Text::get_attributes () const
Returns
The attribute list, or 0 if none was set. The returned value is owned by the Clutter::Text and should not be unreferenced.
Member Clutter::Text::get_chars (gssize start_pos, gssize end_pos) const
Parameters
start_posStart of text, in characters.
end_posEnd of text, in characters.
Returns
A newly allocated string with the contents of the text actor between the specified positions. Use Glib::free() to free the resources when done.
Member Clutter::Text::get_color () const
Parameters
colorReturn location for a Clutter::Color.
Member Clutter::Text::get_cursor_position () const
Returns
The cursor position, in characters.
Member Clutter::Text::get_cursor_size () const
Returns
The size of the cursor, in pixels.
Member Clutter::Text::get_cursor_visible () const
Returns
true if the cursor is visible.
Member Clutter::Text::get_editable () const
Returns
true if the actor is editable.
Member Clutter::Text::get_ellipsize () const
Returns
Pango::EllipsizeMode.
Member Clutter::Text::get_font_name () const
Returns
A string containing the font name. The returned string is owned by the Clutter::Text actor and should not be modified or freed.
Member Clutter::Text::get_layout () const
Returns
A Pango::Layout. The returned object is owned by the Clutter::Text actor and should not be modified or freed.
Member Clutter::Text::get_layout ()
Returns
A Pango::Layout. The returned object is owned by the Clutter::Text actor and should not be modified or freed.
Member Clutter::Text::get_line_alignment () const
Returns
A Pango::Alignment.
Member Clutter::Text::get_line_wrap () const
Returns
true if the Clutter::Text actor should wrap its contents.
Member Clutter::Text::get_line_wrap_mode () const
Returns
The wrap mode used by the Clutter::Text.
Member Clutter::Text::get_max_length () const
Returns
The maximum number of characters.
Member Clutter::Text::get_password_char () const
Returns
A Unicode character or 0 if the password character is not set.
Member Clutter::Text::get_selectable () const
Returns
true if the actor is selectable.
Member Clutter::Text::get_selection () const
Returns
A newly allocated string containing the currently selected text, or 0. Use Glib::free() to free the returned string.
Member Clutter::Text::get_selection_bound () const
Returns
The position of the other end of the selection.
Member Clutter::Text::get_selection_color () const
Parameters
colorReturn location for a Clutter::Color.
Member Clutter::Text::get_single_line_mode () const
Returns
true if the Clutter::Text actor is in single line mode.
Member Clutter::Text::get_text () const
Returns
The contents of the actor. The returned string is owned by the Clutter::Text actor and should never be modified or freed.
Member Clutter::Text::get_use_markup () const
Returns
true if the contents will be parsed for markup.
Member Clutter::Text::insert (const Glib::ustring& text, gssize position)
Parameters
textThe text to be inserted.
positionThe position of the insertion, or -1.
Member Clutter::Text::insert (gunichar wc)
Parameters
wcA Unicode character.
Member Clutter::Text::position_to_coords (int position, float& x, float& y, float& line_height)
Parameters
positionPosition in characters.
xReturn location for the X coordinate, or 0.
yReturn location for the Y coordinate, or 0.
line_heightReturn location for the line height, or 0.
Returns
true if the conversion was successful.
Member Clutter::Text::set_activatable (bool activatable=true)
Parameters
activatableWhether the Clutter::Text actor should be activatable.
Member Clutter::Text::set_attributes (Pango::AttrList& attrs)
Parameters
attrsA Pango::AttrList or 0 to unset the attributes.
Member Clutter::Text::set_color (const Color& color)
Parameters
colorA Clutter::Color.
Member Clutter::Text::set_cursor_color (const Color& color)
Parameters
colorThe color of the cursor, or 0 to unset it.
Member Clutter::Text::set_cursor_position (int position)
Parameters
positionThe new cursor position, in characters.
Member Clutter::Text::set_cursor_size (int size)
Parameters
sizeThe size of the cursor, in pixels, or -1 to use the default value.
Member Clutter::Text::set_cursor_visible (bool visible)
Parameters
cursor_visibleWhether the cursor should be visible.
Member Clutter::Text::set_editable (bool editable=true)
Parameters
editableWhether the Clutter::Text should be editable.
Member Clutter::Text::set_ellipsize (Pango::EllipsizeMode mode)
Parameters
modeA Pango::EllipsizeMode.
Member Clutter::Text::set_font_name (const Glib::ustring& font_name)
Parameters
font_nameA font name, or 0 to set the default font name.
Member Clutter::Text::set_justify (bool justify=true)
Parameters
justifyWhether the text should be justified.
Member Clutter::Text::set_line_alignment (Pango::Alignment alignment)
Parameters
alignmentA Pango::Alignment.
Member Clutter::Text::set_line_wrap (bool line_wrap=true)
Parameters
line_wrapWhether the contents should wrap.
Member Clutter::Text::set_line_wrap_mode (Pango::WrapMode wrap_mode)
Parameters
wrap_modeThe line wrapping mode.
Member Clutter::Text::set_markup (const Glib::ustring& markup)
Parameters
markupA string containing Pango markup. Passing 0 is the same as passing "" (the empty string).
Member Clutter::Text::set_max_length (int max_length)
Parameters
maxThe maximum number of characters allowed in the text actor; 0 to disable or -1 to set the length of the current string.
Member Clutter::Text::set_password_char (gunichar wc)
Parameters
wcA Unicode character, or 0 to unset the password character.
Member Clutter::Text::set_selectable (bool selectable=true)
Parameters
selectableWhether the Clutter::Text actor should be selectable.
Member Clutter::Text::set_selection (gssize start_pos, gssize end_pos)
Parameters
start_posStart of the selection, in characters.
end_posEnd of the selection, in characters.
Member Clutter::Text::set_selection_bound (int selection_bound)
Parameters
selection_boundThe position of the end of the selection, in characters.
Member Clutter::Text::set_selection_color (const Color& color)
Parameters
colorThe color of the selection, or 0 to unset it.
Member Clutter::Text::set_single_line_mode (bool single_line=true)
Parameters
single_lineWhether to enable single line mode.
Member Clutter::Text::set_text (const Glib::ustring& text)
Parameters
textThe text to set. Passing 0 is the same as passing "" (the empty string).
Member Clutter::Text::set_use_markup (bool setting=true)
Parameters
settingtrue if the text should be parsed for markup.
Member Clutter::Text::signal_activate ()
Member Clutter::Text::signal_text_changed ()
Member Clutter::Texture::get_cogl_material () const
Member Clutter::Texture::get_keep_aspect_ratio () const
Member Clutter::Texture::get_load_async () const
Member Clutter::Texture::get_load_data_async () const
Member Clutter::Texture::get_pixel_format () const
Member Clutter::Texture::get_repeat (bool& repeat_x, bool& repeat_y) const
Member Clutter::Texture::get_sync_size () const
Member Clutter::Texture::set_keep_aspect_ratio (bool keep_aspect=true)
Member Clutter::Texture::set_load_async (bool load_async=true)
Member Clutter::Texture::set_load_data_async (bool load_async=true)
Member Clutter::Texture::set_repeat (bool repeat_x=true, bool repeat_y=true)
Member Clutter::Texture::set_sync_size (bool sync_size=true)