Lines Matching refs:keysym

144     Detail detail;		/* Additional information, such as keysym,
299 char *name; /* Name of keysym. */
300 KeySym value; /* Numeric identifier for keysym. */
308 static Tcl_HashTable keySymTable; /* keyArray hashed by keysym value. */
309 static Tcl_HashTable nameTable; /* keyArray hashed by keysym name. */
1615 * Note: it's important for the keysym check to go before
2844 * When mapping from a keysym to a keycode, need information about
2847 * get back the original keysym.
2892 KeySym keysym;
2997 } else if (strcmp(field, "-keysym") == 0) {
2998 keysym = TkStringToKeysym(value);
2999 if (keysym == NoSymbol) {
3000 Tcl_AppendResult(interp, "unknown keysym \"", value,
3005 * When mapping from a keysym to a keycode, need information about
3008 * get back the original keysym.
3011 number = XKeysymToKeycode(event.E.xany.display, keysym);
3013 Tcl_AppendResult(interp, "no keycode for keysym \"", value,
3019 state) == keysym) {
3552 * 4. an option button or keysym name. Either this or
3637 Tcl_AppendResult(interp, "bad event type or keysym \"",
3645 Tcl_AppendResult(interp, "specified keysym \"", field,
3651 interp->result = "no event type or button # or keysym";
3787 * then keysym or button detail.
3898 * lock is only caps lock, not shift lock, and the shifted keysym
3900 * keysym.
3916 * is no keysym defined, then use the keysym for the unshifted key.
3953 KeySym keysym;
3972 keysym = XKeycodeToKeysym(dispPtr->display, *codePtr, 0);
3973 if (keysym == XK_Shift_Lock) {
3977 if (keysym == XK_Caps_Lock) {
3998 keysym = XKeycodeToKeysym(dispPtr->display, *codePtr, 0);
3999 if (keysym == XK_Mode_switch) {
4002 if ((keysym == XK_Meta_L) || (keysym == XK_Meta_R)) {
4005 if ((keysym == XK_Alt_L) || (keysym == XK_Alt_R)) {
4064 * This procedure finds the keysym associated with a given keysym
4068 * The return value is the keysym that corresponds to name, or
4069 * NoSymbol if there is no such keysym.
4079 char *name; /* Name of a keysym. */
4083 KeySym keysym;
4090 keysym = (KeySym) (unsigned char) name[0];
4091 if (TkKeysymToString(keysym) != NULL) {
4092 return keysym;
4105 * This procedure finds the keysym name associated with a given
4106 * keysym.
4110 * the name of the given keysym, or NULL if there is no known name.
4119 TkKeysymToString(keysym)
4120 KeySym keysym;
4125 hPtr = Tcl_FindHashEntry(&nameTable, (char *)keysym);
4130 return XKeysymToString(keysym);