home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xkeymapevent.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  2.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. XKeymapEvent(3X11)      XLIB FUNCTIONS       XKeymapEvent(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XKeymapEvent - KeymapNotify event structure
  9.  
  10. SSTTRRUUCCTTUURREESS
  11.        The structure for _K_e_y_m_a_p_N_o_t_i_f_y events contains:
  12.  
  13.        /* generated on EnterWindow and FocusIn when KeymapState selected */
  14.        typedef struct {
  15.         int type;             /* KeymapNotify */
  16.         unsigned long serial;    /* # of last request processed by server */
  17.         Bool send_event;         /* true if this came from a SendEvent request */
  18.         Display *display;         /* Display the event was read from */
  19.         Window window;
  20.         char key_vector[32];
  21.        } XKeymapEvent;
  22.  
  23.        When you receive this event, the structure members are set
  24.        as follows.
  25.  
  26.        The type member is set to the event type constant name
  27.        that uniquely identifies it.  For example, when the X
  28.        server reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client applica-
  29.        tion, it 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
  30.        type member set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is
  31.        set to a pointer to the display the event was read on.
  32.        The send_event member is set to _T_r_u_e if the event came
  33.        from a _S_e_n_d_E_v_e_n_t protocol request.  The serial member is
  34.        set from the serial number reported in the protocol but
  35.        expanded from the 16-bit least-significant bits to a full
  36.        32-bit value.  The window member is set to the window that
  37.        is most useful to toolkit dispatchers.
  38.  
  39.        The window member is not used but is present to aid some
  40.        toolkits.  The key_vector member is set to the bit vector
  41.        of the keyboard.     Each bit set to 1 indicates that the
  42.        corresponding key is currently pressed.    The vector is
  43.        represented as 32 bytes.     Byte N (from 0) contains the
  44.        bits for keys 8N to 8N + 7 with the least significant bit
  45.        in the byte representing key 8N.
  46.  
  47. SSEEEE AALLSSOO
  48.        XAnyEvent(3X11), XButtonEvent(3X11), XCreateWindow-
  49.        Event(3X11), XCirculateEvent(3X11), XCircu-
  50.        lateRequestEvent(3X11), XColormapEvent(3X11), XConfig-
  51.        ureEvent(3X11), XConfigureRequestEvent(3X11),
  52.        XCrossingEvent(3X11), XDestroyWindowEvent(3X11), XEr-
  53.        rorEvent(3X11), XExposeEvent(3X11), XFo-
  54.        cusChangeEvent(3X11), XGraphicsExposeEvent(3X11), XGravi-
  55.        tyEvent(3X11), XMapEvent(3X11), XMapRequestEvent(3X11),
  56.        XPropertyEvent(3X11), XReparentEvent(3X11), XResiz-
  57.        eRequestEvent(3X11), XSelectionClearEvent(3X11), XSelec-
  58.        tionEvent(3X11), XSelectionRequestEvent(3X11), XUn-
  59.        mapEvent(3X11), XVisibilityEvent(3X11)
  60.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.