Re: GtkItemFactoryEntry shortcut keys



On Apr 9, 2005 11:15 AM, David Necas (Yeti) <yeti physics muni cz> wrote:

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


Thanks - xev is perfect.

Daniel



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