Re: How can i look gdk-kesysm codes from python



2007/7/17, Ravi kumar Singh <rks_k16 yahoo co in>:

Hi Ravi,

I am using pygtk and want to use key-press events. i have seen all the keycodes in "gdk/gdkkeysyms.h" but i 
want to use them in python.

[...]

please tell me which is the exact-class which the keycodes are members of...then i would be able to easily 
lookup its members with :

http://svn.gnome.org/viewcvs/pygtk/trunk/gtk/keysyms.py?revision=2434&view=markup

dir(<classname>)

gtk.keysyms

cheers
--
Gian Mario Tagliaretti



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]