cookbook: Add recipe about handling button events
authorElliot Smith <elliot.smith@intel.com>
Thu, 30 Sep 2010 10:12:14 +0000 (11:12 +0100)
committerElliot Smith <elliot.smith@intel.com>
Thu, 30 Sep 2010 10:12:14 +0000 (11:12 +0100)
commitcb191ff6f18e291810077271f853658c8d679e3d
tree7d1c22192408342c6ea28f046c42a9ca69176f51
parent94439e55265d91e0c5419306115d2af02378e75e
cookbook: Add recipe about handling button events

Recipe covers adding handlers for button-press-event and
button-release-event signals on actors, and how to
examine the content of a ClutterButtonEvent via API functions.

The discussion section explains about click count
(the criteria for how clicks get counted, including
distance and time settings); how button numbers are reported;
and how to use ClutterClickAction as an alternative
for press + release in certain scenarios.
doc/cookbook/events.xml