cluttermm  1.17.3
Deprecated List
Member Clutter::Actor::get_actor_by_gid (guint32 id)
The ID is no longer used.
Parameters
idA Clutter::Actor unique id.
Returns
The actor with the passed id or 0. The returned actor does not have its reference count increased.
Member Clutter::Actor::get_allocation_geometry () const
Use get_allocation_box() instead.
Member Clutter::Actor::get_anchor_point (float& anchor_x, float& anchor_y) const
Use “pivot-point” instead.
Parameters
anchor_xReturn location for the X coordinate of the anchor point.
anchor_yReturn location for the Y coordinate of the anchor point.
Member Clutter::Actor::get_anchor_point_gravity ()
Use “pivot-point” instead.
Returns
The Clutter::Gravity used by the anchor point.
Member Clutter::Actor::get_animation ()
Use the implicit transition for animatable properties in ClutterActor instead
Returns
A Clutter::Animation, or 0.
Member Clutter::Actor::get_animation () const
Use the implicit transition for animatable properties in ClutterActor instead
Returns
A Clutter::Animation, or 0.
Member Clutter::Actor::get_depth () const
Use get_z_position() instead.
Returns
The depth of the actor.
Member Clutter::Actor::get_geometry () const
Use get_position() and get_size(), or get_allocation_geometry() instead.
Member Clutter::Actor::get_rotation (RotateAxis axis, float& x, float& y, float& z) const
Use get_rotation_angle() and get_pivot_point() instead.
Parameters
axisThe axis of rotation.
xReturn value for the X coordinate of the center of rotation.
yReturn value for the Y coordinate of the center of rotation.
zReturn value for the Z coordinate of the center of rotation.
Returns
The angle of rotation.
Member Clutter::Actor::get_scale_center (float& center_x, float& center_y) const
Use get_pivot_point() instead.
Parameters
center_xLocation to store the X position of the scale center, or 0.
center_yLocation to store the Y position of the scale center, or 0.
Member Clutter::Actor::get_scale_gravity () const
Use get_pivot_point() instead.
Returns
The scale gravity.
Member Clutter::Actor::get_shader () const
Use get_effect() instead.
Returns
The currently set Clutter::Shader or 0 if no shader is set.
Member Clutter::Actor::get_shader ()
Use get_effect() instead.
Returns
The currently set Clutter::Shader or 0 if no shader is set.
Member Clutter::Actor::get_transformation_matrix (ClutterMatrix* matrix)
Use get_transform() instead
Parameters
matrixThe return location for a Clutter::Matrix.
Member Clutter::Actor::get_z_rotation_gravity () const
Use the “pivot-point” instead of a Gravity.
Returns
The Z rotation center.
Member Clutter::Actor::hide_all ()
Using hide() on the actor will now prevent its children from being painted as well.
Member Clutter::Actor::lower (const Glib::RefPtr< Actor >& above)
Use set_child_below_sibling() instead
Parameters
aboveA Clutter::Actor to lower below.
Member Clutter::Actor::move_anchor_point (float anchor_x, float anchor_y)
Use “pivot-point” instead.
Parameters
anchor_xX coordinate of the anchor point.
anchor_yY coordinate of the anchor point.
Member Clutter::Actor::move_anchor_point_from_gravity (Gravity gravity)
Use “pivot-point” instead.
Parameters
gravityClutter::Gravity.
Member Clutter::Actor::pop_internal ()
All children of an actor are accessible through the ClutterActor API. This function is only useful for legacy containers overriding the default implementation of the ClutterContainer interface.
Member Clutter::Actor::push_internal ()
All children of an actor are accessible through the ClutterActor API
Member Clutter::Actor::raise (const Glib::RefPtr< Actor >& below)
Use set_child_above_sibling() instead.
Parameters
belowA Clutter::Actor to raise above.
Member Clutter::Actor::reparent (const Glib::RefPtr< Actor >& new_parent)
Use remove_child() and add_child() instead.
Parameters
new_parentThe new Clutter::Actor parent.
Member Clutter::Actor::set_anchor_point (float anchor_x, float anchor_y)
Use “pivot-point” instead.
Parameters
anchor_xX coordinate of the anchor point.
anchor_yY coordinate of the anchor point.
Member Clutter::Actor::set_anchor_point_from_gravity (ClutterGravity gravity)
Use “pivot-point” instead.
Parameters
gravityClutter::Gravity.
Member Clutter::Actor::set_depth (float depth)
Use set_z_position() instead.
Parameters
depthZ co-ord.
Member Clutter::Actor::set_geometry (const Geometry& geometry)
Use set_position() and set_size() instead.
Parameters
geometryA Clutter::Geometry.
Member Clutter::Actor::set_parent (const Glib::RefPtr< Actor >& parent)
Use add_child() instead.
Parameters
parentA new Clutter::Actor parent.
Member Clutter::Actor::set_rotation (RotateAxis axis, double angle, float x, float y, float z)
Use set_rotation_angle() and set_pivot_point() instead.
Parameters
axisThe axis of rotation.
angleThe angle of rotation.
xX coordinate of the rotation center.
yY coordinate of the rotation center.
zZ coordinate of the rotation center.
Member Clutter::Actor::set_scale_full (double scale_x, double scale_y, float center_x, float center_y)
Use set_pivot_point() to control the scale center.
Parameters
scale_xDouble factor to scale actor by horizontally.
scale_yDouble factor to scale actor by vertically.
center_xX coordinate of the center of the scaling.
center_yY coordinate of the center of the scaling.
Member Clutter::Actor::set_scale_with_gravity (double scale_x, double scale_y, Gravity gravity)
Use set_pivot_point() to set the scale center using normalized coordinates instead.
Parameters
scale_xDouble factor to scale actor by horizontally.
scale_yDouble factor to scale actor by vertically.
gravityThe location of the scale center expressed as a compass direction.
Member Clutter::Actor::set_shader (const Glib::RefPtr< Shader >& shader)
Use add_effect() instead.
Parameters
shaderA Clutter::Shader or 0 to unset the shader.
Returns
true if the shader was successfully applied or removed.
Member Clutter::Actor::set_shader_param (const Glib::ustring& param, const ParamType& value)
Use ShaderEffect::set_uniform_value() instead."
Member Clutter::Actor::set_shader_param_value (const Glib::ustring& param, const Glib::ValueBase& value)
Use ShaderEffect::set_uniform_value() instead.
Parameters
paramThe name of the parameter.
valueThe value of the parameter.
Member Clutter::Actor::set_z_rotation_from_gravity (double angle, Gravity gravity)
Use set_rotation_angle() and set_pivot_point() instead.
Parameters
angleThe angle of rotation.
gravityThe center point of the rotation.
Member Clutter::Actor::show_all ()
Actors are visible by default.
Member Clutter::Actor::unparent ()
Use remove_child() instead.
Class Clutter::Alpha
Use the "progress-mode" property of Clutter::Timeline, or the Clutter::Timeline::set_progress_func() method instead.
Class Clutter::Animation
Use PropertyTransition instead.
Member Clutter::Animation::bind (const std::string& property_name, const Glib::ValueBase& final)
Use PropertyTransition instead.
Parameters
property_nameThe property to control.
finalThe final value of the property.
Returns
The animation itself.
Member Clutter::Animation::bind_interval (const std::string& property_name, const Glib::RefPtr< Interval >& interval)
Use PropertyTransition instead.
Parameters
property_nameThe property to control.
intervalA Clutter::Interval.
Returns
The animation itself.
Member Clutter::Animation::completed ()
Use PropertyTransition instead.
Member Clutter::Animation::get_alpha () const
Use get_timeline() and set_progress_mode() instead.
Returns
The alpha object used by the animation.
Member Clutter::Animation::get_duration () const
Use PropertyTransition instead.
Returns
The duration of the animation.
Member Clutter::Animation::get_interval (const std::string& property_name) const
Use PropertyTransition instead.
Parameters
property_nameName of the property.
Returns
A Clutter::Interval or 0 if no property with the same name was found. The returned interval is owned by the Clutter::Animation and should not be unreferenced.
Member Clutter::Animation::get_loop () const
Use PropertyTransition instead.
Returns
true if the animation is looping.
Member Clutter::Animation::get_mode () const
Use PropertyTransition instead.
Returns
The mode for the animation.
Member Clutter::Animation::get_object () const
Use PropertyTransition instead.
Returns
A Object.
Member Clutter::Animation::get_timeline () const
Use PropertyTransition instead.
Returns
The timeline used by the animation.
Member Clutter::Animation::has_property (const std::string& property_name) const
Use PropertyTransition instead.
Parameters
property_nameName of the property.
Returns
true if the property is animated by the Clutter::Animation, false otherwise.
Member Clutter::Animation::set_alpha (const Glib::RefPtr< Alpha >& alpha)
Use get_timeline() and set_progress_mode() instead.
Parameters
alphaA Clutter::Alpha, or 0 to unset the current Clutter::Alpha.
Member Clutter::Animation::set_duration (guint msecs)
Use PropertyTransition instead.
Parameters
msecsThe duration in milliseconds.
Member Clutter::Animation::set_loop (bool loop=true)
Use PropertyTransition instead.
Parameters
looptrue if the animation should loop.
Member Clutter::Animation::set_mode (gulong mode)
Use PropertyTransition instead.
Parameters
modeAn animation mode logical id.
Member Clutter::Animation::set_object (const Glib::RefPtr< Glib::Object >& object)
Use PropertyTransition instead.
Parameters
objectA Object.
Member Clutter::Animation::set_timeline (const Glib::RefPtr< Timeline >& timeline)
Use PropertyTransition instead.
Parameters
timelineA Clutter::Timeline, or 0 to unset the current Clutter::Timeline.
Member Clutter::Animation::signal_completed ()
Use PropertyTransition instead.
Member Clutter::Animation::signal_started ()
Use PropertyTransition instead.
Member Clutter::Animation::unbind_property (const std::string& property_name)
Use PropertyTransition instead.
Parameters
property_nameName of the property.
Member Clutter::Animation::update (const std::string& property_name, const Glib::ValueBase& final)
Use PropertyTransition instead.
Parameters
property_nameName of the property.
finalThe final value of the property.
Returns
The animation itself.
Member Clutter::Animation::update_interval (const std::string& property_name, const Glib::RefPtr< Interval >& interval)
Use PropertyTransition instead.
Parameters
property_nameName of the property.
intervalA Clutter::Interval.
Class Clutter::Animator
Use KeyframeTransition instead.
Member Clutter::Backend::get_double_click_distance () const
Use Settings's double-click-distance property instead.
Returns
A distance, in pixels.
Member Clutter::Backend::get_double_click_time () const
Use Settings's double-click-time property instead.
Returns
A time in milliseconds.
Member Clutter::Backend::get_font_name () const
Use Settings's font-name property instead.
Returns
The font name for the backend. The returned string is owned by the Clutter::Backend and should never be modified or freed.
Member Clutter::Backend::get_resolution () const
Use Settings's front-dpi property instead.
Returns
The current resolution, or -1 if no resolution has been set.
Member Clutter::Backend::set_double_click_distance (guint distance)
Use Settings's double-click-distance property instead.
Parameters
distanceA distance, in pixels.
Member Clutter::Backend::set_double_click_time (guint msec)
Use Settings's double-click-time property instead.
Parameters
msecMilliseconds between two button press events.
Member Clutter::Backend::set_font_name (const Glib::ustring& font_name)
Use Settings's font-name property instead.
Parameters
font_nameThe name of the font.
Member Clutter::Backend::set_resolution (double dpi)
Use Settings's front-dpi property instead.
Parameters
dpiThe resolution in "dots per inch" (Physical inches aren't actually involved; the terminology is conventional).
Class Clutter::Behaviour
Behaviour and its sub-classes have been deprecated since Clutter 1.6, in favour of the animation framework API.
Class Clutter::BehaviourDepth
Use Actor::animate() with the Actor's depth property instead.
Class Clutter::BehaviourEllipse
Behaviour and its sub-classes have been deprecated since Clutter 1.6, in favour of the animation framework API.
Class Clutter::BehaviourOpacity
Use Actor::animate() with the Actor's opacity property, or Animator, or State instead.
Class Clutter::BehaviourPath
Use Path and PathConstraint with Actor::animate() instead.
Class Clutter::BehaviourRotate
Use the Actor rotation properties and Actor::animate(), or Animator, or State instead.
Class Clutter::BehaviourScale
Use the Actor's scale-x and scale-y properties, with Actor::animate(), or Animator or State instead.
Member Clutter::BIN_ALIGNMENT_FIXED

Use ActorAlign and the Actor API instead.

Fixed position alignment; the Clutter::BinLayout will honour the fixed position provided by the actors themselves when allocating them.

Member Clutter::BinLayout::add (const Glib::RefPtr< Actor >& child, BinAlignment x_align, BinAlignment y_align)
Use Actor::add_child() instead.
Parameters
childA Clutter::Actor.
x_alignHorizontal alignment policy for child.
y_alignVertical alignment policy for child.
Member Clutter::BinLayout::get_alignment (const Glib::RefPtr< Actor >& child, BinAlignment& x_align, BinAlignment& y_align) const
Use the x-align and y-align properties of Actor instead.
Parameters
childA child of container.
x_alignReturn location for the horizontal alignment policy.
y_alignReturn location for the vertical alignment policy.
Member Clutter::BinLayout::property_x_align () const
Use the x-align and y-align properties of Actor instead.
Member Clutter::BinLayout::property_x_align ()
Use the x-align and y-align properties of Actor instead.
Member Clutter::BinLayout::property_y_align ()
Use the x-align and y-align properties of Actor instead.
Member Clutter::BinLayout::property_y_align () const
Use the x-align and y-align properties of Actor instead.
Member Clutter::BinLayout::set_alignment (const Glib::RefPtr< Actor >& child, BinAlignment x_align, BinAlignment y_align)
Use the x-align and y-align properties of Actor instead.
Parameters
childA child of container.
x_alignThe horizontal alignment policy to be used for the child inside container.
y_alignThe vertical aligment policy to be used on the child inside container.
Class Clutter::Box
Use Actor instead.
Member Clutter::BoxLayout::get_alignment (const Glib::RefPtr< Actor >& child, BoxAlignment& x_align, BoxAlignment& y_align) const
Use Actor's x-align and y-align properties instead.
Parameters
actorA Clutter::Actor child of layout.
x_alignReturn location for the horizontal alignment policy.
y_alignReturn location for the vertical alignment policy.
Member Clutter::BoxLayout::get_easing_duration () const
The layout manager will honour the easing state of the children when allocating them.
Returns
The duration of the animations, in milliseconds.
Member Clutter::BoxLayout::get_easing_mode () const
The layout manager will honour the easing state of the children when allocating them.
Returns
An easing mode.
Member Clutter::BoxLayout::get_expand (const Glib::RefPtr< Actor >& child) const
Use Actor's x-expand and y-expand properties instead.
Parameters
actorA Clutter::Actor child of layout.
Returns
true if the Clutter::Actor should expand, false otherwise.
Member Clutter::BoxLayout::get_fill (const Glib::RefPtr< Actor >& child, bool& x_fill, bool& y_fill) const
Use Actor's x-align and y-align properties instead.
Parameters
actorA Clutter::Actor child of layout.
x_fillReturn location for the horizontal fill policy.
y_fillReturn location for the vertical fill policy.
Member Clutter::BoxLayout::get_use_animations () const
The layout manager will honour the easing state of the children when allocating them.
Returns
true if the animations should be used, false otherwise.
Member Clutter::BoxLayout::get_vertical () const
Use get_orientation() instead.
Returns
true if the Clutter::BoxLayout is arranging its children vertically, and false otherwise.
Member Clutter::BoxLayout::pack (const Glib::RefPtr< Actor >& p1, bool expand, bool x_fill, bool y_fill, BoxAlignment x_align, BoxAlignment y_align)
Use Actor methods to set alignment and expand.
Parameters
actorA Clutter::Actor.
expandWhether the actor should expand.
x_fillWhether the actor should fill horizontally.
y_fillWhether the actor should fill vertically.
x_alignThe horizontal alignment policy for actor.
y_alignThe vertical alignment policy for actor.
Member Clutter::BoxLayout::property_easing_duration ()
The layout manager will honour the easing state of the children when allocating them.
Member Clutter::BoxLayout::property_easing_duration () const
The layout manager will honour the easing state of the children when allocating them.
Member Clutter::BoxLayout::property_easing_mode () const
The layout manager will honour the easing state of the children when allocating them.
Member Clutter::BoxLayout::property_easing_mode ()
The layout manager will honour the easing state of the children when allocating them.
Member Clutter::BoxLayout::property_use_animations ()
The layout manager will honour the easing state of the children when allocating them.
Member Clutter::BoxLayout::property_use_animations () const
The layout manager will honour the easing state of the children when allocating them.
Member Clutter::BoxLayout::property_vertical () const
Use orientation instead.
Member Clutter::BoxLayout::property_vertical ()
Use orientation instead.
Member Clutter::BoxLayout::set_alignment (const Glib::RefPtr< Actor >& child, BoxAlignment x_align, BoxAlignment y_align)
Use Actor's x-align and y-align properties instead.
Parameters
actorA Clutter::Actor child of layout.
x_alignHorizontal alignment policy for actor.
y_alignVertical alignment policy for actor.
Member Clutter::BoxLayout::set_easing_duration (guint msecs)
The layout manager will honour the easing state of the children when allocating them.
Parameters
msecsThe duration of the animations, in milliseconds.
Member Clutter::BoxLayout::set_easing_mode (gulong mode)
The layout manager will honour the easing state of the children when allocating them.
Parameters
modeAn easing mode, either from Clutter::AnimationMode or a logical id from Clutter::Alpha::register_func().
Member Clutter::BoxLayout::set_expand (const Glib::RefPtr< Actor >& child, bool expand)
Use Actor's x-expand and y-expand properties instead.
Parameters
actorA Clutter::Actor child of layout.
expandWhether actor should expand.
Member Clutter::BoxLayout::set_fill (const Glib::RefPtr< Actor >& child, bool x_fill, bool y_fill)
Use Actor's x-align and y-align properties instead.
Parameters
actorA Clutter::Actor child of layout.
x_fillWhether actor should fill horizontally the allocated space.
y_fillWhether actor should fill vertically the allocated space.
Member Clutter::BoxLayout::set_use_animations (bool animate)
The layout manager will honour the easing state of the children when allocating them.
Parameters
animatetrue if the layout should use animations.
Member Clutter::BoxLayout::set_vertical (bool vertical)
Use set_orientation() instead.
Parameters
verticaltrue if the layout should be vertical.
Class Clutter::Cairo::Texture
Use Canvas instead.
Member Clutter::clear_glyph_cache ()
Use get_font_map() and cogl_pango_font_map_clear_glyph_cache() instead.
Member Clutter::Container::add_actor (const Glib::RefPtr< Actor >& actor)
Use Actor::add_child() instead.
Parameters
actorThe first Clutter::Actor to add.
Member Clutter::Container::foreach (const SlotForEach& slot)
Use Actor::get_first_child() or Actor::get_last_child() to retrieve the beginning of the list of children, and Actor::get_next_sibling() and Actor::get_previous_sibling() to iterate over it. Alternatively, use the ActorIter API.
Member Clutter::Container::get_children ()
Use Actor::get_children() instead.
Member Clutter::Container::get_children () const
Use Actor::get_children() instead.
Member Clutter::Container::lower_child (const Glib::RefPtr< Actor >& actor)
"Use set_child_below_sibling() instead.
Member Clutter::Container::lower_child (const Glib::RefPtr< Actor >& actor, const Glib::RefPtr< Actor >& sibling)
Use set_child_below_sibling() instead.
Parameters
actorThe actor to raise.
siblingThe sibling to lower to, or 0 to lower to the bottom.
Member Clutter::Container::raise_child (const Glib::RefPtr< Actor >& actor, const Glib::RefPtr< Actor >& sibling)
Use set_child_above_sibling() instead.
Parameters
actorThe actor to raise.
siblingThe sibling to raise to, or 0 to raise to the top.
Member Clutter::Container::raise_child (const Glib::RefPtr< Actor >& actor)
"Use set_child_above_sibling() instead.
Member Clutter::Container::remove_actor (const Glib::RefPtr< Actor >& actor)
Use Actor::remove_child() instead.
Parameters
actorA Clutter::Actor.
Member Clutter::Container::SlotForEach
See foreach().
Member Clutter::Container::sort_depth_order ()
This no longer does anything.
Member Clutter::Fog
Fog settings are ignored.
Member Clutter::frame_source_add (const sigc::slot< bool >& callback, guint interval, int priority=Glib::PRIORITY_DEFAULT)
This method is no longer useful.
Member Clutter::get_actor_by_gid (guint32 id)
The id is not used any longer.
Member Clutter::get_debug_enabled ()
Member Clutter::get_font_flags ()
Use Backend::get_font_options() and the cairo_font_option_t API.
Member Clutter::get_motion_events_enabled ()
Use Stage::get_motion_events_enabled() instead.
Member Clutter::get_show_fps ()
Use the environment variable or the configuration file to determine whether Clutter should print out the FPS counter on the console.
Member Clutter::get_timestamp ()
Use Glib::Timer or g_get_monotonic_time() for a proper timing source.
Member Clutter::grab_pointer_for_device (const Glib::RefPtr< Actor >& actor, int id)
Use InputDevice::grab() instead.
Class Clutter::Group
Use Actor instead.
Member Clutter::Group::get_n_children () const
Use Actor::get_n_children() instead.
Returns
The number of child actors held in the group.
Member Clutter::Group::get_nth_child (int index) const
Use Actor::get_child_at_index() instead.
Parameters
indexThe position of the requested actor.
Returns
A Clutter actor, or 0 if index is invalid.
Member Clutter::Group::get_nth_child (int index)
Use Actor::get_child_at_index() instead.
Parameters
indexThe position of the requested actor.
Returns
A Clutter actor, or 0 if index is invalid.
Member Clutter::Group::remove_all ()
Use Actor::remove_all_children() instead.
Member Clutter::InputDevice::get_device_coords (int& x, int& y) const
Use get_coords() instead.
Parameters
xReturn location for the X coordinate.
yReturn location for the Y coordinate.
Class Clutter::Media
Class Clutter::Rectangle
Use Actor instead.
Class Clutter::Score
Use KeyFrameTransition instead.
Member Clutter::set_default_frame_rate (guint frames_per_sec)
This function does not do anything any more.
Member Clutter::set_font_flags (FontFlags flags)
Use Backend::set_font_options() and the cairo_font_option_t API.
Member Clutter::set_motion_events_enabled (bool enable)
Use Stage::set_motion_events_enabled() instead.
Class Clutter::Shader
Use ShaderEffect instead.
Member Clutter::Stage::get_default ()
Use Stage::create() instead
Returns
The main Clutter::Stage. You should never destroy or unref the returned actor.
Member Clutter::Stage::get_fog (Fog& fog) const
This function will always return default values.
Parameters
fogReturn location for a Clutter::Fog structure.
Member Clutter::Stage::get_use_fog () const
This method will always return false.
Returns
true if the depth cueing effect is enabled.
Member Clutter::Stage::is_default () const
Track the stage pointer inside your application code
Returns
true if the passed stage is the default one.
Member Clutter::Stage::set_color (const Color& color)
Use Actor::set_background_color() instead.
Parameters
colorA Clutter::Color.
Member Clutter::Stage::set_fog (const Fog& fog)
Fog settings are ignored.
Parameters
fogA Clutter::Fog structure.
Member Clutter::Stage::set_use_fog (bool fog=true)
This method has no visible effect.
Parameters
fogtrue for enabling the depth cueing effect.
Class Clutter::Texture
Use Image instead.
Member Clutter::threads_add_frame_source (const sigc::slot< bool >& callback, guint interval, gint priority=Glib::PRIORITY_DEFAULT)
This function is no longer useful.
Member Clutter::threads_enter ()
This function should not be used by application code. Marking critical sections is not portable on various platforms. Instead of acquiring the Clutter lock, schedule UI updates from the main loop using threads_add_idle() or threads_add_timeout().
Member Clutter::threads_init ()
This function does not do anything. Threading support is initialized when Clutter is initialized.
Member Clutter::threads_leave ()
This function should not be used by application code. Marking critical sections is not portable on various platforms. Instead of acquiring the Clutter lock, schedule UI updates from the main loop using threads_add_idle() or threads_add_timeout().
Member Clutter::Timeline::clone () const
Use create() instead.
Returns
A new Clutter::Timeline, cloned from timeline.
Member Clutter::Timeline::get_loop () const
Use get_repeat_count() instead.
Returns
true if the timeline is looping.
Member Clutter::Timeline::property_loop () const
Use the “repeat-count” property instead.
Member Clutter::Timeline::property_loop ()
Use the “repeat-count” property instead.
Member Clutter::Timeline::set_loop (bool loop=true)
Use set_repeat_count() instead.
Parameters
looptrue for enable looping.
Member Clutter::ungrab_pointer_for_device (int id)
Use InputDevice::ungrab() instead.