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

  1.  
  2.  
  3.  
  4. XReparentEvent(3X11)      XLIB FUNCTIONS     XReparentEvent(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XReparentEvent - ReparentNotify event structure
  9.  
  10. SSTTRRUUCCTTUURREESS
  11.        The structure for _R_e_p_a_r_e_n_t_N_o_t_i_f_y events contains:
  12.  
  13.        typedef struct {
  14.         int type;             /* ReparentNotify */
  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.         Window parent;
  21.         int x, y;
  22.         Bool override_redirect;
  23.        } XReparentEvent;
  24.  
  25.        When you receive this event, the structure members are set
  26.        as follows.
  27.  
  28.        The type member is set to the event type constant name
  29.        that uniquely identifies it.  For example, when the X
  30.        server reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client applica-
  31.        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
  32.        type member set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is
  33.        set to a pointer to the display the event was read on.
  34.        The send_event member is set to _T_r_u_e if the event came
  35.        from a _S_e_n_d_E_v_e_n_t protocol request.  The serial member is
  36.        set from the serial number reported in the protocol but
  37.        expanded from the 16-bit least-significant bits to a full
  38.        32-bit value.  The window member is set to the window that
  39.        is most useful to toolkit dispatchers.
  40.  
  41.        The event member is set either to the reparented window or
  42.        to the old or the new parent, depending on whether _S_t_r_u_c_-
  43.        _t_u_r_e_N_o_t_i_f_y or _S_u_b_s_t_r_u_c_t_u_r_e_N_o_t_i_f_y was selected.  The window
  44.        member is set to the window that was reparented.     The par-
  45.        ent member is set to the new parent window.  The x and y
  46.        members are set to the reparented window's coordinates
  47.        relative to the new parent window's origin and define the
  48.        upper-left outer corner of the reparented window.  The
  49.        override_redirect member is set to the override-redirect
  50.        attribute of the window specified by the window member.
  51.        Window manager clients normally should ignore this window
  52.        if the override_redirect member is _T_r_u_e.
  53.  
  54. SSEEEE AALLSSOO
  55.        XAnyEvent(3X11), XButtonEvent(3X11), XCreateWindow-
  56.        Event(3X11), XCirculateEvent(3X11), XCircu-
  57.        lateRequestEvent(3X11), XColormapEvent(3X11), XConfig-
  58.        ureEvent(3X11), XConfigureRequestEvent(3X11),
  59.        XCrossingEvent(3X11), XDestroyWindowEvent(3X11), XEr-
  60.        rorEvent(3X11), XExposeEvent(3X11),
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XReparentEvent(3X11)      XLIB FUNCTIONS     XReparentEvent(3X11)
  71.  
  72.  
  73.        XFocusChangeEvent(3X11), XGraphicsExposeEvent(3X11),
  74.        XGravityEvent(3X11), XKeymapEvent(3X11), XMapEvent(3X11),
  75.        XMapRequestEvent(3X11), XPropertyEvent(3X11), XResiz-
  76.        eRequestEvent(3X11), XSelectionClearEvent(3X11), XSelec-
  77.        tionEvent(3X11), XSelectionRequestEvent(3X11), XUn-
  78.        mapEvent(3X11), XVisibilityEvent(3X11)
  79.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  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.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.