Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XtGetKeysymTable(3)		  XT FUNCTIONS		     XtGetKeysymTable(3)

NAME
     XtGetKeysymTable, XtKeysymToKeycodeList - query keysyms and keycodes

SYNTAX
     #include <X11/Intrinsic.h>

     KeySym* XtGetKeysymTable(Display* display, KeyCode* min_keycode_return, int
	    *keysyms_per_keycode_return);

     void  XtKeysymToKeycodeList(Display* display, KeySym keysym, KeyCode** key-
	    codes_return, Cardinal* keycount_return);

ARGUMENTS
     display   Specifies the display whose table is required.

     min_keycode_return
	       Returns the minimum KeyCode valid for the display.

     keysyms_per_keycode_return
	    Returns the number of KeySyms stored for each KeyCode.

     keysym    Specifies the KeySym for which to search.

     keycodes_return
	       Returns a list of KeyCodes that have keysym associated with them,
	       or NULL if keycount_return is 0.

     keycount_return
	       Returns the number of KeyCodes in the keycode list.

DESCRIPTION
     XtGetKeysymTable returns a pointer to the Intrinsics' copy of the	server's
     KeyCode-to-KeySym table.  This table must not be modified.

     The  XtKeysymToKeycodeList  procedure  returns  all  the KeyCodes that have
     keysym in their entry for the keyboard mapping table associated  with  dis-
     play.  The caller should free the storage pointed to by keycodes_return us-
     ing XtFree when it is no longer useful.

SEE ALSO
     X Toolkit Intrinsics - C Language Interface
     Xlib - C Language X Interface

X Version 11			   libXt 1.3.1		     XtGetKeysymTable(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XtKeysymToKeycodeList&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help