click-action: Add a method to force a release

It can be useful to be able to forcibly break the grab set up by the
ClickAction. The newly added release() method provides a mechanism to
release the grab and unset the :held state of the ClickAction.
This commit is contained in:
Emmanuele Bassi
2010-08-19 12:10:43 +01:00
parent db7d821ef6
commit 459a6bb24c
3 changed files with 33 additions and 1 deletions

View File

@ -93,7 +93,8 @@ struct _ClutterClickActionClass
GType clutter_click_action_get_type (void) G_GNUC_CONST;
ClutterAction *clutter_click_action_new (void);
ClutterAction *clutter_click_action_new (void);
void clutter_click_action_release (ClutterClickAction *action);
G_END_DECLS