XMapRaised(3)


NAME

   XMapWindow, XMapRaised, XMapSubwindows - map windows

SYNTAX

   int XMapWindow(Display *display, Window w);

   int XMapRaised(Display *display, Window w);

   int XMapSubwindows(Display *display, Window w);

ARGUMENTS

   display   Specifies the connection to the X server.

   w         Specifies the window.

DESCRIPTION

   The XMapWindow function maps the window and all of its subwindows that
   have had map requests.  Mapping a window that has an unmapped ancestor
   does not display the window but marks it as eligible for display when
   the ancestor becomes mapped.  Such a window is called unviewable.  When
   all its ancestors are mapped, the window becomes viewable and will be
   visible on the screen if it is not obscured by another window.  This
   function has no effect if the window is already mapped.

   If the override-redirect of the window is False and if some other
   client has selected SubstructureRedirectMask on the parent window, then
   the X server generates a MapRequest event, and the XMapWindow function
   does not map the window.  Otherwise, the window is mapped, and the X
   server generates a MapNotify event.

   If the window becomes viewable and no earlier contents for it are
   remembered, the X server tiles the window with its background.  If the
   window's background is undefined, the existing screen contents are not
   altered, and the X server generates zero or more Expose events.  If
   backing-store was maintained while the window was unmapped, no Expose
   events are generated.  If backing-store will now be maintained, a full-
   window exposure is always generated.  Otherwise, only visible regions
   may be reported.  Similar tiling and exposure take place for any newly
   viewable inferiors.

   If the window is an InputOutput window, XMapWindow generates Expose
   events on each InputOutput window that it causes to be displayed.  If
   the client maps and paints the window and if the client begins
   processing events, the window is painted twice.  To avoid this, first
   ask for Expose events and then map the window, so the client processes
   input events as usual.  The event list will include Expose for each
   window that has appeared on the screen.  The client's normal response
   to an Expose event should be to repaint the window.  This method
   usually leads to simpler programs and to proper interaction with window
   managers.

   XMapWindow can generate a BadWindow error.

   The XMapRaised function essentially is similar to XMapWindow in that it
   maps the window and all of its subwindows that have had map requests.
   However, it also raises the specified window to the top of the stack.

   XMapRaised can generate a BadWindow error.

   The XMapSubwindows function maps all subwindows for a specified window
   in top-to-bottom stacking order.  The X server generates Expose events
   on each newly displayed window.  This may be much more efficient than
   mapping many windows one at a time because the server needs to perform
   much of the work only once, for all of the windows, rather than for
   each window.

   XMapSubwindows can generate a BadWindow error.

DIAGNOSTICS

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

SEE ALSO

   XChangeWindowAttributes(3), XConfigureWindow(3), XCreateWindow(3),
   XDestroyWindow(3), XRaiseWindow(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.