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

  1.  
  2.  
  3.  
  4. XClientMessageEvent(3X11) XLIB FUNCTIONSXClientMessageEvent(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XClientMessageEvent - ClientMessage event structure
  9.  
  10. SSTTRRUUCCTTUURREESS
  11.        The structure for _C_l_i_e_n_t_M_e_s_s_a_g_e events contains:
  12.  
  13.        typedef struct {
  14.         int type;             /* ClientMessage */
  15.         unsigned long serial;    /* # of last request processed by server */
  16.         Bool send_event;         /* true if this came from a SendEvent request */
  17.         Display *display;         /* Display the event was read from */
  18.         Window window;
  19.         Atom message_type;
  20.         int format;
  21.         union {
  22.          char b[20];
  23.          short s[10];
  24.          long l[5];
  25.             } data;
  26.        } XClientMessageEvent;
  27.  
  28.        When you receive this event, the structure members are set
  29.        as follows.
  30.  
  31.        The type member is set to the event type constant name
  32.        that uniquely identifies it.  For example, when the X
  33.        server reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client applica-
  34.        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
  35.        type member set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is
  36.        set to a pointer to the display the event was read on.
  37.        The send_event member is set to _T_r_u_e if the event came
  38.        from a _S_e_n_d_E_v_e_n_t protocol request.  The serial member is
  39.        set from the serial number reported in the protocol but
  40.        expanded from the 16-bit least-significant bits to a full
  41.        32-bit value.  The window member is set to the window that
  42.        is most useful to toolkit dispatchers.
  43.  
  44.        The message_type member is set to an atom that indicates
  45.        how the data should be interpreted by the receiving
  46.        client.    The format member is set to 8, 16, or 32 and
  47.        specifies whether the data should be viewed as a list of
  48.        bytes, shorts, or longs.     The data member is a union that
  49.        contains the members b, s, and l.  The b, s, and l members
  50.        represent data of twenty 8-bit values, ten 16-bit values,
  51.        and five 32-bit values.    Particular message types might
  52.        not make use of all these values.  The X server places no
  53.        interpretation on the values in the window, message_type,
  54.        or data members.
  55.  
  56. SSEEEE AALLSSOO
  57.        XAnyEvent(3X11), XButtonEvent(3X11), XCreateWindow-
  58.        Event(3X11), XCirculateEvent(3X11), XCircu-
  59.        lateRequestEvent(3X11), XColormapEvent(3X11), XConfig-
  60.        ureEvent(3X11), XConfigureRequestEvent(3X11),
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XClientMessageEvent(3X11) XLIB FUNCTIONSXClientMessageEvent(3X11)
  71.  
  72.  
  73.        XCrossingEvent(3X11), XDestroyWindowEvent(3X11), XEr-
  74.        rorEvent(3X11), XExposeEvent(3X11), XFo-
  75.        cusChangeEvent(3X11), XGraphicsExposeEvent(3X11), XGravi-
  76.        tyEvent(3X11), XKeymapEvent(3X11), XMapEvent(3X11),
  77.        XMapRequestEvent(3X11), XPropertyEvent(3X11), XRepar-
  78.        entEvent(3X11), XResizeRequestEvent(3X11), XSelection-
  79.        ClearEvent(3X11), XSelectionEvent(3X11), XSelectionRe-
  80.        questEvent(3X11), XUnmapEvent(3X11), XVisibili-
  81.        tyEvent(3X11)
  82.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  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.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.