Re: XForms: Keysym for capital letter in raw callback [followup]

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 3 Dec 98 14:59:19 PST

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> XLookupString has returned the letter indeed. Now
> I wonder whether "C" is XK_C !

I'm not sure whether I understand this comment. XK_C should, indeed,
map to the character 'C'. XK_C is defined as

#define XK_C 0x043

in keysymdef.h, though I'm not sure you're supposed to depend on that
(my recollection in reading random manuals is that you probably
shouldn't).

The snippet of code I posted using XLookupString() should correctly
hand you any ASCII character as advertised. It works in an
application which is currently in use and continuing development here.

spl

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/