ClutterDragAction: allow constraining the movement of the dragged actor

Allow setting a ClutterRect on the drag action and force the
dragged actor's position to be always within that rectangle (relative
to the actor's parent).

https://bugzilla.gnome.org/show_bug.cgi?id=681168
This commit is contained in:
Giovanni Campagna
2012-08-04 00:13:04 +02:00
parent b62797d23a
commit f99d48a0c6
4 changed files with 130 additions and 1 deletions

View File

@ -2570,6 +2570,8 @@ clutter_drag_action_get_drag_handle
ClutterDragAxis
clutter_drag_action_set_drag_axis
clutter_drag_action_get_drag_axis
clutter_drag_action_set_drag_area
clutter_drag_action_get_drag_area
<SUBSECTION>
clutter_drag_action_get_press_coords