XtGetKeysymTable man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XtGetKeysymTable()					    XtGetKeysymTable()

Name
  XtGetKeysymTable  -  return  a pointer to the keycode-to-keysym mapping
  table of a  display.

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

Inputs
  display   Specifies the display whose table is required.

Outputs
  min_keycode_return
	    Returns the minimum keycode valid for the display.

  keysyms_per_keycode_return
	    Returns the number of keysyms stored for each keycode.

Returns
  The keycode-to-keysym table for display.

Availability
  Release 4 and later.

Description
  XtGetKeysymTable() returns a pointer to the Intrinsics' copy of  the	X
  server's  keycode-to-keysym  table,  which  must not be modified by the
  application.	This table is simply an array of KeySym.  The  number  of
  keysyms  associated  with  each keycode is returned in keysyms_per_key‐
  code_return.	The first keysyms  in  the  table  are	for  the  keycode
  returned  in	min_keycode_return.  The keysyms for a keycode k begin at
  index:

     k - min_keycode_return) * keysyms_per_keycode_return

  Any entries in the table that have no keysyms associated with them con‐
  tain the value NoSymbol.

Usage
  The  Intrinsics maintains a table internally to map keycodes to keysyms
  for each open display.  The Translation Manager uses	this  table,  and
  custom  keycode-to-keysym  translator	 procedures (see XtSetKeyTransla‐
  tor()) and other clients may also need to use	 it.   Most  applications
  and widgets will never need to use this function.

  You	should	 not   cache   this   keysym   table   but   should  call
  XtGetKeysymTable() each time the value is needed, because the table may
  change at any time.

See Also
  XtConvertCase(1), XtKeysymToKeycodeList(1), XtRegisterCaseConverter(1),
  XtSetKeyTranslator(1), XtTranslateKeycode(1).

Xt - Keyboard Handling					    XtGetKeysymTable()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net