Re: GtkItemFactoryEntry shortcut keys



On Sat, Apr 09, 2005 at 11:05:54AM +0200, Daniel Pekelharing wrote:

Any idea where I could get a list of all key symbol names?
I could take guesses, I guess, but I'd prefer a list.

E.g. in

/usr/include/gtk-2.0/gdk/gdkkeysyms.h

(w/o the GDK_ prefix).  They match X11 key names

/usr/X11R6/include/X11/keysymdef.h

(w/o the XK_ prefix).  There may be some more user-friendly
form of the list somewhere, but I've never needed it.

You can also run xev, press the key, and look at

KeyPress event, serial 32, synthetic NO, window 0x2c00001,
    root 0x76, subw 0x0, time 1334013077, (351,360), root:(924,382),
    state 0x0, keycode 21 (keysym 0x3d, equal), same_screen YES,
                                        ^^^^^ here

    XLookupString gives 1 bytes: (3d) "="
    XmbLookupString gives 1 bytes: (3d) "="
    XFilterEvent returns: False

Yeti


--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?



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