On Sat, 2008-11-08 at 21:29 +1000, Saul Lethbridge wrote: > Can somebody give me an example of capturing the following: > > - a left click
use the "button" field of the ClutterButtonEvent structure. button 1 is left, 2 is middle, 3 is right - further buttons will depend on the actual mapping done by the windowing system. > - a left click with the control key held down use the "modifier_state" field of the ClutterButtonEvent structure. it's a bitmask, so you can check for different combinations using a logical OR of the ClutterModifierType flags. > - a left click with the shift key held down ditto as above. ciao, Emmanuele. -- Emmanuele Bassi, Intel Open Source Technology Center -- To unsubscribe send a mail to [EMAIL PROTECTED]
