home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XKeymapEvent.z / XKeymapEvent
Encoding:
Text File  |  1998-10-30  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXKKKKeeeeyyyymmmmaaaappppEEEEvvvveeeennnntttt((((3333XXXX11111111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))  XXXXKKKKeeeeyyyymmmmaaaappppEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XKeymapEvent - KeymapNotify event structure
  10.  
  11.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  12.           The structure for _K_e_y_m_a_p_N_o_t_i_f_y events contains:
  13.  
  14.           /* generated on EnterWindow and FocusIn when KeymapState selected */
  15.           typedef struct {
  16.                int type;                /* KeymapNotify */
  17.                unsigned long serial;    /* # of last request processed by server */
  18.                Bool send_event;         /* true if this came from a SendEvent request */
  19.                Display *display;        /* Display the event was read from */
  20.                Window window;
  21.                char key_vector[32];
  22.           } XKeymapEvent;
  23.  
  24.           When you receive this event, the structure members are set
  25.           as follows.
  26.  
  27.           The type member is set to the event type constant name that
  28.           uniquely identifies it.  For example, when the X server
  29.           reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client application, it
  30.           sends an _X_G_r_a_p_h_i_c_s_E_x_p_o_s_e_E_v_e_n_t structure with the type member
  31.           set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is set to a
  32.           pointer to the display the event was read on.  The
  33.           send_event member is set to _T_r_u_e if the event came from a
  34.           _S_e_n_d_E_v_e_n_t protocol request.  The serial member is set from
  35.           the serial number reported in the protocol but expanded from
  36.           the 16-bit least-significant bits to a full 32-bit value.
  37.           The window member is set to the window that is most useful
  38.           to toolkit dispatchers.
  39.  
  40.           The window member is not used but is present to aid some
  41.           toolkits.  The key_vector member is set to the bit vector of
  42.           the keyboard.  Each bit set to 1 indicates that the
  43.           corresponding key is currently pressed.  The vector is
  44.           represented as 32 bytes.  Byte N (from 0) contains the bits
  45.           for keys 8N to 8N + 7 with the least significant bit in the
  46.           byte representing key 8N.
  47.  
  48.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  49.           XAnyEvent(3X11), XButtonEvent(3X11),
  50.           XCreateWindowEvent(3X11), XCirculateEvent(3X11),
  51.           XCirculateRequestEvent(3X11), XColormapEvent(3X11),
  52.           XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
  53.           XCrossingEvent(3X11), XDestroyWindowEvent(3X11),
  54.           XErrorEvent(3X11), XExposeEvent(3X11),
  55.           XFocusChangeEvent(3X11), XGraphicsExposeEvent(3X11),
  56.           XGravityEvent(3X11), XMapEvent(3X11),
  57.           XMapRequestEvent(3X11), XPropertyEvent(3X11),
  58.           XReparentEvent(3X11), XResizeRequestEvent(3X11),
  59.           XSelectionClearEvent(3X11), XSelectionEvent(3X11),
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXKKKKeeeeyyyymmmmaaaappppEEEEvvvveeeennnntttt((((3333XXXX11111111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))  XXXXKKKKeeeeyyyymmmmaaaappppEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           XSelectionRequestEvent(3X11), XUnmapEvent(3X11),
  75.           XVisibilityEvent(3X11)
  76.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.