XRaiseWindow(3)


NAME

   XRaiseWindow, XLowerWindow, XCirculateSubwindows,
   XCirculateSubwindowsUp, XCirculateSubwindowsDown, XRestackWindows -
   change window stacking order

SYNTAX

   int XRaiseWindow(Display *display, Window w);

   int XLowerWindow(Display *display, Window w);

   int XCirculateSubwindows(Display *display, Window w, int direction);

   int XCirculateSubwindowsUp(Display *display, Window w);

   int XCirculateSubwindowsDown(Display *display, Window w);

   int XRestackWindows(Display *display, Window windows[], int nwindows);

ARGUMENTS

   direction Specifies the direction (up or down) that you want to
             circulate the window.  You can pass RaiseLowest or
             LowerHighest.

   display   Specifies the connection to the X server.

   nwindows  Specifies the number of windows to be restacked.

   w         Specifies the window.

   windows   Specifies an array containing the windows to be restacked.

DESCRIPTION

   The XRaiseWindow function raises the specified window to the top of the
   stack so that no sibling window obscures it.  If the windows are
   regarded as overlapping sheets of paper stacked on a desk, then raising
   a window is analogous to moving the sheet to the top of the stack but
   leaving its x and y location on the desk constant.  Raising a mapped
   window may generate Expose events for the window and any mapped
   subwindows that were formerly obscured.

   If the override-redirect attribute of the window is False and some
   other client has selected SubstructureRedirectMask on the parent, the X
   server generates a ConfigureRequest event, and no processing is
   performed.  Otherwise, the window is raised.

   XRaiseWindow can generate a BadWindow error.

   The XLowerWindow function lowers the specified window to the bottom of
   the stack so that it does not obscure any sibling windows.  If the
   windows are regarded as overlapping sheets of paper stacked on a desk,
   then lowering a window is analogous to moving the sheet to the bottom
   of the stack but leaving its x and y location on the desk constant.
   Lowering a mapped window will generate Expose events on any windows it
   formerly obscured.

   If the override-redirect attribute of the window is False and some
   other client has selected SubstructureRedirectMask on the parent, the X
   server generates a ConfigureRequest event, and no processing is
   performed.  Otherwise, the window is lowered to the bottom of the
   stack.

   XLowerWindow can generate a BadWindow error.

   The XCirculateSubwindows function circulates children of the specified
   window in the specified direction.  If you specify RaiseLowest,
   XCirculateSubwindows raises the lowest mapped child (if any) that is
   occluded by another child to the top of the stack.  If you specify
   LowerHighest, XCirculateSubwindows lowers the highest mapped child (if
   any) that occludes another child to the bottom of the stack.  Exposure
   processing is then performed on formerly obscured windows.  If some
   other client has selected SubstructureRedirectMask on the window, the X
   server generates a CirculateRequest event, and no further processing is
   performed.  If a child is actually restacked, the X server generates a
   CirculateNotify event.

   XCirculateSubwindows can generate BadValue and BadWindow errors.

   The XCirculateSubwindowsUp function raises the lowest mapped child of
   the specified window that is partially or completely occluded by
   another child.  Completely unobscured children are not affected.  This
   is a convenience function equivalent to XCirculateSubwindows with
   RaiseLowest specified.

   XCirculateSubwindowsUp can generate a BadWindow error.

   The XCirculateSubwindowsDown function lowers the highest mapped child
   of the specified window that partially or completely occludes another
   child.  Completely unobscured children are not affected.  This is a
   convenience function equivalent to XCirculateSubwindows with
   LowerHighest specified.

   XCirculateSubwindowsDown can generate a BadWindow error.

   The XRestackWindows function restacks the windows in the order
   specified, from top to bottom.  The stacking order of the first window
   in the windows array is unaffected, but the other windows in the array
   are stacked underneath the first window, in the order of the array.
   The stacking order of the other windows is not affected.  For each
   window in the window array that is not a sibling of the first window, a
   BadMatch error results.

   If the override-redirect attribute of a window is False and some other
   client has selected SubstructureRedirectMask on the parent, the X
   server generates ConfigureRequest events for each window whose
   override-redirect flag is not set, and no further processing is
   performed.  Otherwise, the windows will be restacked in top-to-bottom
   order.

   XRestackWindows can generate BadWindow error.

DIAGNOSTICS

   BadValue  Some numeric value falls outside the range of values accepted
             by the request.  Unless a specific range is specified for an
             argument, the full range defined by the argument's type is
             accepted.  Any argument defined as a set of alternatives can
             generate this error.

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

SEE ALSO

   XChangeWindowAttributes(3), XConfigureWindow(3), XCreateWindow(3),
   XDestroyWindow(3), XMapWindow(3), XUnmapWindow(3)
   Xlib - C Language X Interface





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.