Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XChangeSaveSet(3X11)

XReparentWindow(3X11)



XReparentWindow(3X11)                       XReparentWindow(3X11)



NAME
     XReparentWindow - reparent windows

SYNTAX
     XReparentWindow(display, w, parent, x, y)
           Display *display;
           Window w;
           Window parent;
           int x, y;

ARGUMENTS
     display   Specifies the connection to the XWIN server.

     parent    Specifies the parent window.

     w         Specifies the window.

     x
     y         Specify the x and y coordinates of the position in
               the new parent window.

DESCRIPTION
     If the specified window is mapped, XReparentWindow automati-
     cally performs an UnmapWindow request on it, removes it from
     its current position in the hierarchy, and inserts it as the
     child of the specified parent.  The window is placed in the
     stacking order on top with respect to sibling windows.

     After reparenting the specified window, XReparentWindow
     causes the XWIN server to generate a ReparentNotify event.
     The override_redirect member returned in this event is set
     to the window's corresponding attribute.  Window manager
     clients usually should ignore this window if this member is
     set to True.  Finally, if the specified window was origi-
     nally mapped, the XWIN server automatically performs a
     MapWindow request on it.

     The XWIN server performs normal exposure processing on form-
     erly obscured windows.  The XWIN server might not generate
     Expose events for regions from the initial UnmapWindow
     request that are immediately obscured by the final MapWindow
     request.  A BadMatch error results if:

     ⊕    The new parent window is not on the same screen as the
          old parent window.

     ⊕    The new parent window is the specified window or an
          inferior of the specified window.

     ⊕    The specified window has a ParentRelative background,
          and the new parent window is not the same depth as the
          specified window.



XWIN 3.0               Last change: 9/1/88                 .ie t





XReparentWindow(3X11)                       XReparentWindow(3X11)



     XReparentWindow can generate BadMatch and BadWindow errors.

DIAGNOSTICS
     BadWindow A value for a Window argument does not name a
               defined Window.

SEE ALSO
     XChangeSaveSet(3X11)
     Xlib - C Language X Interface














































XWIN 3.0               Last change: 9/1/88                 .ie t





XReparentWindow(3X11)                       XReparentWindow(3X11)























































XWIN 3.0               Last change: 9/1/88                 .ie t






Typewritten Software • bear@typewritten.org • Edmonds, WA 98026