cookbook: Add recipe for key event handling
authorElliot Smith <elliot.smith@intel.com>
Tue, 29 Jun 2010 16:27:54 +0000 (17:27 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 29 Jun 2010 16:31:32 +0000 (17:31 +0100)
commit566f75d97f7580495181835ef0545278f34fc000
treeb13c8c84c888f0da13305484acffa1ca318d90b0
parent30ca03de1dfb0d92664c8ffd289004c3dc0676b1
cookbook: Add recipe for key event handling

Attached patch contains a cookbook recipe about key press event
handling.

It covers both a simple approach (connecting a callback to a
key-press-event signal which manually analyses the key and
modifiers), and a more complicated one based on a binding pool.

There's also some discussion of the two approaches.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2162

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
doc/cookbook/clutter-cookbook.xml.in