GUI question

From: Rudi Lutter (Rudi.Lutter@Physik.uni-muenchen.de)
Date: Tue Nov 24 1998 - 10:12:39 MET


Hi ROOTers,

I have a question concerning key handling in the GUI:
   How can I bind an action to a key?
   For example I'ld like to exit from my application on a ^Q
   or to step thru text entries on a tab key.
In TK or Tix it would be easy to accomplish this by using the "bind" command.
But the BindKey method in TGFrame doesn't seem to me to do the same thing.
Any solutions?

Cheers,

Rudi
-- 
         __     __  __            / Rudi Lutter                                /
  ____  / /_ __/ /_/ /____ ____  /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
 / __/ / / // / __/ __/ -_) __/ / Email: Rudi.Lutter@Physik.Uni-Muenchen.DE  /
/_/   /_/\_,_/\__/\__/\__/_/   / WWW: www.bl.physik.tu-muenchen.de/~rudi    /
                              /                                            /
-----------------------------/ Tel:   (+49) 89 289 1 4287                 /
                            / Fax:   (+49) 89 289 1 4280                 /
                           /--------------------------------------------/
                          / Beschleunigerlabor der LMU und TU Muenchen /
                         / Hochschulgelaende, D-85748 GARCHING, Germany
                        *--------------------------------------------*



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET