XReparentWindow man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XReparentWindow()					     XReparentWindow()

Name
  XReparentWindow  –  insert a window between another window and its par‐
  ent.

Synopsis
  XReparentWindow(display, win, parent, x, y)
	Display *display;
	Window win;
	Window parent;
	int x, y;

Arguments
  display   Specifies  a  connection  to  an  X	 server;  returned   from
	    XOpenDisplay().

  win	    Specifies the ID of the window to be reparented.

  parent    Specifies the window ID of the new parent window.

  x	    Specify  the  coordinates  of  the window relative to the new
	    parent.

  y

Description
  XReparentWindow() modifies the window hierarchy by placing  window  win
  as a child of window parent.	This function is usually used by a window
  manager to put a decoration window behind each application window.   In
  the  case  of	 the  window manager, the new parent window must first be
  created as a child of the root window.

  If win is mapped, an XUnmapWindow() request is performed on it automat‐
  ically.   win	 is then removed from its current position in the hierar‐
  chy, and is inserted as a child of the specified parent.  win is placed
  on top in the stacking order with respect to siblings.

  A ReparentNotify event is then generated.  The override_redirect member
  of the structure returned by this event is set to either True or False.
  Window manager clients normally should ignore this event if this member
  is set to True.

  Finally, if the window was originally mapped, an  XMapWindow()  request
  is performed automatically.

  Descendants  of  win remain descendants of win; they are not reparented
  to the old parent of win.

  Normal exposure processing on formerly obscured windows  is  performed.
  The server might not generate exposure events for regions from the ini‐
  tial unmap that are immediately obscured by the final map.  The request
  fails if the new parent is not on the same screen as the old parent, or
  if the new parent is the window itself or an inferior of the window.

Errors
  BadMatch  parent not on same screen as old parent of win.
	    win has a ParentRelative background and  parent  is	 not  the
	    same depth as win.
	    parent is win or an inferior of win.

  BadWindow parent is InputOnly and win is not.

See Also
  XCirculateSubwindows(),  XCirculateSubwindowsDown(),	XCirculateSubwin‐
  dowsUp(),  XConfigureWindow(),   XLowerWindow(),   XMoveResizeWindow(),
  XMoveWindow(), XQueryTree(), XRaiseWindow(), XResizeWindow(), XRestack‐
  Windows().

Xlib - Window Manipulation				     XReparentWindow()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net