Re: [Vala] How to know if a key is being pressedf

2011-12-13 Thread Dr. Michael Lauer
> Is there a way of knowing if a key is being pressed without a whole > "override" function (event) for it? This depends on the UI toolkit you are using. In the case of e.g. Gtk, better ask this on a gtk mailing list. Cheers, :M: ___ vala-list mailing

[Vala] How to know if a key is being pressedf

2011-11-12 Thread David Gomes
Is there a way of knowing if a key is being pressed without a whole "override" function (event) for it? Currently, I need to know if any of the Control Keys ("CONTROL_R", or "CONTROL_L") and would like to do it in another function. Is there a way I can do it? Thanks -- David Gomes _