# Window (computing)

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Window_(computing)
> Markdown URL: https://mediated.wiki/source/Window_(computing).md
> Source: https://en.wikipedia.org/wiki/Window_(computing)
> Source revision: 1308937818
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

Visual area containing some kind of user interface

This article is about the interface element. For the operating system, see [Microsoft Windows](/source/Microsoft_Windows). For other uses, see [Window (disambiguation)](/source/Window_(disambiguation)).

In computing, a **window** is a [graphical control element](/source/Graphical_widget). It consists of a visual area containing some of the [graphical user interface](/source/Graphical_user_interface) of the program it belongs to and is framed by a [window decoration](#Window_decoration). It usually has a rectangular shape[1] that can overlap with the area of other windows. It displays the *output* of and may allow *input* to one or more [processes](/source/Process_(computing)).

Windows are primarily associated with graphical displays, where they can be manipulated with a [pointer](/source/Pointer_(graphical_user_interfaces)) by employing some kind of [pointing device](/source/Pointing_device). Text-only displays can also support windowing, as a way to maintain multiple independent display areas, such as multiple buffers in [Emacs](/source/Emacs). Text windows are usually controlled by keyboard, though some also respond to the mouse.

A graphical user interface (GUI) using windows as one of its main "[metaphors](/source/Interface_metaphor)" is called a [windowing system](/source/Windowing_system), whose main components are the [display server](/source/Display_server) and the [window manager](/source/Window_manager).

## History

Example of windows on a text-only display. Each grey-bordered area is a separate window showing a different file.

The idea was developed at the [Stanford Research Institute](/source/Stanford_Research_Institute) (led by [Douglas Engelbart](/source/Douglas_Engelbart)).[2] Their earliest systems supported multiple windows, but there was no obvious way to indicate boundaries between them (such as window borders, [title bars](/source/Title_bar), etc.).[3]

Research continued at [Xerox](/source/Xerox) Corporation's [Palo Alto](/source/Palo_Alto%2C_California) Research Center / [PARC](/source/PARC_(company)) (led by [Alan Kay](/source/Alan_Kay)). They used overlapping windows.[4]

During the 1980s the term "[WIMP](/source/WIMP_(computing))", which stands for window, icon, menu, pointer, was coined at PARC.[*[citation needed](https://en.wikipedia.org/wiki/Wikipedia:Citation_needed)*]

[Apple](/source/Apple_Inc.) had worked with PARC briefly at that time. Apple developed an interface based on PARC's interface. It was first used on [Apple's Lisa](/source/Apple_Lisa) and later [Macintosh](/source/Mac_(computer)) computers.[5] [Microsoft](/source/Microsoft) was developing Office applications for the Mac at that time. Some speculate that this gave them access to Apple's OS before it was released and thus influenced the design of the windowing system in what would eventually be called [Microsoft Windows](/source/Microsoft_Windows).[6]

## Properties

Windows are two dimensional objects arranged on a plane called the [desktop metaphor](/source/Desktop_metaphor). In a modern full-featured windowing system they can be resized, moved, hidden, restored or closed.

Windows usually include other graphical objects, possibly including a menu-bar, toolbars, controls, icons and often a working area. In the working area, the document, image, folder contents or other main object is displayed. Around the working area, within the bounding window, there may be other smaller window areas, sometimes called panes or panels, showing relevant information or options. The working area of a [single document interface](/source/Single_document_interface) holds only one main object. "Child windows" in [multiple document interfaces](/source/Multiple_document_interface), and [tabs](/source/Tab_(interface)) for example in many web browsers, can make several similar documents or main objects available within a single main application window. Some windows in [macOS](/source/MacOS) have a feature called a drawer, which is a pane that slides out the side of the window and to show extra options.

Applications that can run either under a [graphical user interface](/source/Graphical_user_interface) or in a [text user interface](/source/Text_user_interface) may use different terminology. [GNU Emacs](/source/GNU_Emacs) uses the term "window" to refer to an area within its display while a traditional window, such as controlled by an [X11](/source/X11) window manager, is called a "frame".

Any window can be split into the window decoration and the window's content, although some systems purposely eschew window decoration as a form of [minimalism](/source/Minimalism_(computing)).

## Window decoration

"Window decoration" redirects here. For drapery, shades, shutters, etc., see [Window covering](/source/Window_covering). For cover or modification of a window, see [Window treatment](/source/Window_treatment).

Typical elements of a window. The window decoration is drawn by an OS-level process such as a window manager. The drawing of the content is the task of [application software](/source/Application_software).

The **window decoration** is a part of a window in most [windowing systems](/source/Windowing_system).

Window decoration typically consists of a **title bar**, usually along the top of each window and a minimal border around the other three sides.[7] On Microsoft Windows this is called "non-client area".[8]

In the predominant layout for modern window decorations, the top bar contains the title of that window and buttons which perform windowing-related actions such as:

- Close

- Maximize

- Minimize

- Resize

- Roll-up

The border exists primarily to allow the user to resize the window, but also to create a visual separation between the window's contents and the rest of the [desktop environment](/source/Desktop_environment).

Window decorations are considered important for the design of the [look and feel](/source/Look_and_feel) of an [operating system](/source/Operating_system) and some systems allow for customization of the colors, styles and animation effects used.

### Window border

[Stacking window managers](/source/Stacking_window_manager) draw borders around the windows, while [compositing window managers](/source/Compositing_window_manager) draw [drop shadows](/source/Drop_shadow) around the windows

**Window border** is a window decoration component provided by some window managers, that appears around the [active window](/source/Active_window). Some window managers may also display a border around [background windows](https://en.wikipedia.org/w/index.php?title=Background_window&action=edit&redlink=1). Typically window borders enable the window to be resized or moved by dragging the border. Some window managers provide useless borders which are purely for decorative purposes and offer no window motion facility. These window managers do not allow windows to be resized by using a drag action on the border.

### Title bar

A title bar of [GNOME Calculator](/source/GNOME_Calculator)

The **title bar** is a [graphical control element](/source/Graphical_control_element) and part of the window decoration provided by some window managers. As a convention, it is located at the top of the window as a horizontal bar. The title bar is typically used to display the name of the application or the name of the open document, and may provide title bar buttons for minimizing, maximizing, closing or rolling up of application windows. These functions are typically placed in the top-right of the screen to allow fast and inaccurate inputs through [barrier pointing](/source/Barrier_pointing). Typically title bars can be used to provide window motion enabling the window to be moved around the screen by [grabbing](/source/Point-and-click) the title bar and [dragging](/source/Pointing_device_gesture) it. Some window managers[*[which?](https://en.wikipedia.org/wiki/Wikipedia:Avoid_weasel_words)*] provide title bars which are purely for decorative purposes and offer no window motion facility. These window managers do not allow windows to be moved around the screen by using a drag action on the title bar.

Default title-bar text often incorporates the name of the application and/or of its developer. The name of the [host](/source/Hostname) running the application also appears frequently. Various methods ([menu](/source/Menu_(computing))-selections, [escape sequences](/source/Escape_sequences), setup parameters, [command-line](/source/Command-line_interface) options – depending on the computing environment) may exist to give the [end-user](/source/End-user) some control of title-bar text. Document-oriented applications like a [text editor](/source/Text_editor) may display the [filename](/source/Filename) or [path](/source/Path_(computing)) of the document being edited. Most [web browsers](/source/Web_browser) will [render](/source/Rendering_(computer_graphics)) the contents of the [HTML element](/source/HTML_element) title in their title bar, sometimes pre- or postfixed by the application name. [Google Chrome](/source/Google_Chrome) and some versions of [Mozilla Firefox](/source/Mozilla_Firefox) place their [tabs](/source/Tabbed_browsing) in the title bar. This makes it unnecessary to use the main window for the tabs, but usually results in the title becoming truncated. An asterisk at its beginning may be used to signify unsaved changes.

The title bar often contains [widgets](/source/Graphical_widget) for system commands relating to the window, such as a *maximize*, *minimize*, *rollup* and *close* buttons; and may include other content such as an application icon, a [clock](/source/Clock), etc.

#### Title bar buttons

Some window managers provide title bar buttons which provide the facility to minimize, maximize, roll-up or close application windows. Some window managers may display the title bar buttons in the task bar or task panel, rather than in the title bars.

The following buttons may appear in the title bar:

- Close

- Maximize

- Minimize

- Resize

- Roll-up (or [WindowShade](/source/WindowShade))

Note that a [context menu](/source/Context_menu) may be available from some title bar buttons or by right-clicking.

#### Title bar icon

Some window managers display a small icon in the title bar that may vary according to the application on which it appears. The title bar icon may behave like a menu button, or may provide a context menu facility. macOS applications commonly have a proxy [icon](/source/Icon_(computing)) next to the window title that functions the same as the document's icon in the file manager.

#### Document status icon

Some window managers display an icon or symbol to indicate that the contents of the window have not been saved or confirmed in some way: macOS displays a dot in the center of its close button; [RISC OS](/source/RISC_OS) appends an [asterisk](/source/Asterisk) to the title.

#### Tiling window managers

Some [tiling window managers](/source/Tiling_window_manager) provide title bars which are purely for informative purposes and offer no controls or menus. These window managers do not allow windows to be moved around the screen by using a [drag](/source/Drag-and-drop) action on the title bar and may also serve the purpose of a [status line](/source/Status_line) from stacking window managers.

#### In popular operating systems

OS Icon Send to Back Close Maximize Menu bar Minimize Pin (Keep on top) Resize Roll-up (Window shade) Status Context menu Notes Unix-like with X11 Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Many X window managers for Unix-like systems allow customization of the type and placement of buttons shown in the title bar. macOS Yes Yes Yes Yes Yes Yes Buttons are on the left side of the title bar. Icon is a proxy for the document's filesystem representation. RISC OS Yes Yes Yes Yes Yes Yes Windows Yes Yes Yes Yes Yes Yes Yes Icon is menu of window actions

## See also

- [Client-Side Decoration](/source/Client-Side_Decoration)

- [Display server](/source/Display_server)

- [Graphical user interface](/source/Graphical_user_interface)

- [Human interface guidelines](/source/Human_interface_guidelines)

- [WIMP (computing)](/source/WIMP_(computing))

- [Window manager](/source/Window_manager)

## References

1. **[^](#cite_ref-ArsTechnica3_1-0)** Reimer, Jeremy (2005). ["A History of the GUI (Part 3)"](https://arstechnica.com/old/content/2005/05/gui.ars/3). Ars Technica. [Archived](https://web.archive.org/web/20090908033153/https://arstechnica.com/old/content/2005/05/gui.ars/3) from the original on 2009-09-08. Retrieved 2009-09-14.

1. **[^](#cite_ref-ArsTechnica1_2-0)** Reimer, Jeremy (2005). ["A History of the GUI (Part 1)"](https://arstechnica.com/old/content/2005/05/gui.ars). Ars Technica. [Archived](https://web.archive.org/web/20090918151233/http://arstechnica.com/old/content/2005/05/gui.ars) from the original on 2009-09-18. Retrieved 2009-09-14.

1. **[^](#cite_ref-ArsTechnica2_3-0)** Reimer, Jeremy (2005). ["A History of the GUI (Part 2)"](https://arstechnica.com/old/content/2005/05/gui.ars/2). Ars Technica. [Archived](https://web.archive.org/web/20090908032833/http://arstechnica.com/old/content/2005/05/gui.ars/2) from the original on 2009-09-08. Retrieved 2009-09-14.

1. **[^](#cite_ref-PARC_4-0)** ["PARC History - A Legacy Of Innovation And Inventing The Future"](https://www.parc.com/about-parc/parc-history/). Palo Alto Research Center Incorporated. 19 October 2023. [Archived](https://web.archive.org/web/20231203064105/https://www.parc.com/about-parc/parc-history/) from the original on 3 December 2023. Retrieved 8 December 2023. Xerox PARC debuts the first GUI, which uses icons, pop-up menus, and overlapping windows that can be controlled easily using a point-and-click technique.

1. **[^](#cite_ref-ArsTechnica4_5-0)** Reimer, Jeremy (2005). ["A History of the GUI (Part 4)"](https://arstechnica.com/old/content/2005/05/gui.ars/4). Ars Technica. [Archived](https://web.archive.org/web/20090908032548/http://arstechnica.com/old/content/2005/05/gui.ars/4) from the original on 2009-09-08. Retrieved 2009-09-14.

1. **[^](#cite_ref-ArsTechnica5_6-0)** Reimer, Jeremy (2005). ["A History of the GUI (Part 5)"](https://arstechnica.com/old/content/2005/05/gui.ars/5). Ars Technica. [Archived](https://web.archive.org/web/20090907012115/http://arstechnica.com/old/content/2005/05/gui.ars/5) from the original on 2009-09-07. Retrieved 2009-09-14.

1. **[^](#cite_ref-7)** ["Unknown"](http://markhobley.yi.org/glossary/windowdecorations.html).[*[permanent dead link](https://en.wikipedia.org/wiki/Wikipedia:Link_rot)*]

1. **[^](#cite_ref-8)** ["Nonclient Area - Win32 apps"](https://learn.microsoft.com/en-us/windows/win32/gdi/nonclient-area). [Archived](https://web.archive.org/web/20240603172534/https://learn.microsoft.com/en-us/windows/win32/gdi/nonclient-area) from the original on 2024-06-03. Retrieved 2024-06-03.

v t e Graphical control elements Command input Adjustment handle Button Context menu Drop-down list Hamburger button Menu Pie menu Data input-output Checkbox Color picker Combo box Cycle button Date picker Grid view Toggle switch List box List builder Radio button Scrollbar Search box Slider Spinner Text box Informational Balloon help Head-up display in computing HUD in video games Icon Infobar Label Loading screen Progress indicator Progress bar Splash screen Throbber Sidebar Status bar Toast Tooltip Containers Accordion Tree view Client-side decoration Disclosure widget Frame / Fieldset Menu bar Panel Popover Ribbon Tab Toolbar Window Window decoration Workspace Navigational Address bar Bookmarks bar Breadcrumb navigation Hyperlink Navigation bar Virtual desktop Special windows Alert dialog box Dialog box File dialog Inspector window Modal window Palette window Related concepts File viewer List of graphical user interface elements Layout manager Look and feel Mouseover Scrolling Widget toolkit WIMP Zoomable user interface

Authority control databases International GND National United States Israel Other Yale LUX

---
Adapted from the Wikipedia article [Window (computing)](https://en.wikipedia.org/wiki/Window_(computing)) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Window_(computing)?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
