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

  1.  
  2.  
  3.  
  4. XConfigureEvent(3X11)      XLIB FUNCTIONS    XConfigureEvent(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XConfigureEvent - ConfigureNotify event structure
  9.  
  10. SSTTRRUUCCTTUURREESS
  11.        The structure for _C_o_n_f_i_g_u_r_e_N_o_t_i_f_y events contains:
  12.  
  13.        typedef struct {
  14.         int type;             /* ConfigureNotify */
  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 event;
  19.         Window window;
  20.         int x, y;
  21.         int width, height;
  22.         int border_width;
  23.         Window above;
  24.         Bool override_redirect;
  25.        } XConfigureEvent;
  26.  
  27.        When you receive this event, the structure members are set
  28.        as follows.
  29.  
  30.        The type member is set to the event type constant name
  31.        that uniquely identifies it.  For example, when the X
  32.        server reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client applica-
  33.        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
  34.        type member set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is
  35.        set to a pointer to the display the event was read on.
  36.        The send_event member is set to _T_r_u_e if the event came
  37.        from a _S_e_n_d_E_v_e_n_t protocol request.  The serial member is
  38.        set from the serial number reported in the protocol but
  39.        expanded from the 16-bit least-significant bits to a full
  40.        32-bit value.  The window member is set to the window that
  41.        is most useful to toolkit dispatchers.
  42.  
  43.        The event member is set either to the reconfigured window
  44.        or to its parent, depending on whether _S_t_r_u_c_t_u_r_e_N_o_t_i_f_y or
  45.        _S_u_b_s_t_r_u_c_t_u_r_e_N_o_t_i_f_y was selected.     The window member is set
  46.        to the window whose size, position, border, and/or stack-
  47.        ing order was changed.
  48.  
  49.        The x and y members are set to the coordinates relative to
  50.        the parent window's origin and indicate the position of
  51.        the upper-left outside corner of the window.  The width
  52.        and height members are set to the inside size of the win-
  53.        dow, not including the border.  The border_width member is
  54.        set to the width of the window's border, in pixels.
  55.  
  56.        The above member is set to the sibling window and is used
  57.        for stacking operations.     If the X server sets this member
  58.        to _N_o_n_e, the window whose state was changed is on the bot-
  59.        tom of the stack with respect to sibling windows.  How-
  60.        ever, if this member is set to a sibling window, the
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XConfigureEvent(3X11)      XLIB FUNCTIONS    XConfigureEvent(3X11)
  71.  
  72.  
  73.        window whose state was changed is placed on top of this
  74.        sibling window.
  75.  
  76.        The override_redirect member is set to the override-
  77.        redirect attribute of the window.  Window manager clients
  78.        normally should ignore this window if the over-
  79.        ride_redirect member is _T_r_u_e.
  80.  
  81. SSEEEE AALLSSOO
  82.        XAnyEvent(3X11), XButtonEvent(3X11), XCreateWindow-
  83.        Event(3X11), XCirculateEvent(3X11), XCircu-
  84.        lateRequestEvent(3X11), XColormapEvent(3X11), XConfigur-
  85.        eRequestEvent(3X11), XCrossingEvent(3X11), XDestroyWindow-
  86.        Event(3X11), XErrorEvent(3X11), XExposeEvent(3X11), XFo-
  87.        cusChangeEvent(3X11), XGraphicsExposeEvent(3X11), XGravi-
  88.        tyEvent(3X11), XKeymapEvent(3X11), XMapEvent(3X11),
  89.        XMapRequestEvent(3X11), XPropertyEvent(3X11), XRepar-
  90.        entEvent(3X11), XResizeRequestEvent(3X11), XSelection-
  91.        ClearEvent(3X11), XSelectionEvent(3X11), XSelectionRe-
  92.        questEvent(3X11), XUnmapEvent(3X11), XVisibili-
  93.        tyEvent(3X11)
  94.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  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.