*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> XmTranslateKey (3X)              
Title
Content
Arch
Section
 

XmTranslateKey(3X)

Contents


NAME    [Toc]    [Back]

       XmTranslateKey - The default keycode-to-keysym translator

SYNOPSIS    [Toc]    [Back]

       #include <Xm/Xm.h>

       void  XmTranslateKey  (display,  keycode, modifiers, modifiers_return,
 keysym_return)
               Display *display;
               KeyCode keycode;
               Modifiers modifiers;
               Modifiers *modifiers_return;
               KeySym *keysym_return;

DESCRIPTION    [Toc]    [Back]

       XmTranslateKey is the default XtKeyProc translation procedure
 for Motif applications.  The function takes a keycode
       and modifiers and returns the corresponding keysym.

       XmTranslateKey serves two main purposes:  new  translators
       with expanded functionality can call it to get the default
       Motif keycode-to-keysym translation in addition  to  whatever
  they  add, and so that the default translator can be
       reinstalled.  This function enables keysyms defined by the
       Motif  virtual  bindings  to  be  used when an application
       requires its own XtKeyProc to be installed.  Specifies the
       display  that the keycode is from Specifies the keycode to
       translate Specifies the modifier keys to be applied to the
       keycode  Specifies  a  mask  of the modifier keys actually
       used to generate the keysym (an AND of modifiers  and  any
       default  modifiers  applied  by  the  currently registered
       translator) Specifies a pointer to the resulting keysym

SEE ALSO    [Toc]    [Back]

      
      
       VirtualBindings(3X)



                                               XmTranslateKey(3X)
[ Back ]
 Similar pages
Name OS Title
define_key FreeBSD define a keycode
define_key OpenBSD define a keycode
keybound FreeBSD return definition of keycode
keyok FreeBSD enable or disable a keycode
keybound OpenBSD return definition of keycode
keyok OpenBSD enable or disable a keycode
getkeycodes Linux print kernel scancode-to-keycode mapping table
setkeycodes Linux load kernel scancode-to-keycode mapping table entries
pppoe OpenBSD PPP Over Ethernet translator
a2p IRIX Awk to Perl translator
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service