click-action: add API to get modifier type

This is to allow implementing modified click such as ctrl+click,
shift+click, and so on.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2520
This commit is contained in:
Lucas Rocha
2011-01-17 00:38:04 +00:00
committed by Emmanuele Bassi
parent 6100aee5bd
commit 6af7b76cb5
2 changed files with 41 additions and 2 deletions

View File

@ -33,6 +33,7 @@
#define __CLUTTER_CLICK_ACTION_H__
#include <clutter/clutter-action.h>
#include <clutter/clutter-event.h>
G_BEGIN_DECLS
@ -95,8 +96,9 @@ GType clutter_click_action_get_type (void) G_GNUC_CONST;
ClutterAction *clutter_click_action_new (void);
guint clutter_click_action_get_button (ClutterClickAction *action);
void clutter_click_action_release (ClutterClickAction *action);
guint clutter_click_action_get_button (ClutterClickAction *action);
ClutterModifierType clutter_click_action_get_state (ClutterClickAction *action);
void clutter_click_action_release (ClutterClickAction *action);
G_END_DECLS