liveBook · Manning

Window

The browser window object is the global object for a browsing context, exposing its document, JavaScript environment, and associated browser APIs.

How 4 Manning books explain it

Modern Angular

window is the browser global object that represents a document's browsing context and exposes browser-specific APIs.

How it is used
Uses window for browser scrolling and event handling while guarding those operations from SSR execution.
How deep it goes
Explains SSR failure and client-only scheduling, then demonstrates scroll listeners and scrolling, but does not cover broader window APIs.
Examples
Demonstrates a ScrollToTopComponent that observes scrollY and invokes smooth scrolling.
What you can do after
Diagnose SSR failures involving window and defer browser interactions with afterNextRender.

Read how Modern Angular explains window →

Secrets of the JavaScript Ninja, Second Edition

The browser-provided global object representing a browsing context and exposing browser APIs.

How it is used
Provides the browser global through which JavaScript accesses global objects, variables, and browser APIs.
How deep it goes
Defines the global object and connects its `document` property to DOM access, without detailing other browser APIs.
Examples
Uses `document.getElementById("first")` to select a DOM element for modification.
What you can do after
Understand how JavaScript accesses browser APIs and the page DOM through the global object.

Read how Secrets of the JavaScript Ninja, Second Edition explains window →

Get Programming: Learn to code with Python

A window is a bounded region of a graphical interface in which an application displays content and controls.

How it is used
Provides the main workspace for displaying GUI widgets and receiving user interactions.
How deep it goes
Explains creation, sizing, titling, coloring, and widget placement, while deferring detailed widget behavior to event handlers.
Examples
Uses an 800-by-200 gray window and a phonebook interface with text boxes, buttons, and a label.
What you can do after
Build a basic tkinter window and extend it into an interactive application with widgets.

Read how Get Programming: Learn to code with Python explains window →

.NET MAUI in Action

A window is a .NET MAUI top-level display container that hosts a page and can be opened as an application window.

How it is used
Provides desktop applications with an initial display container and a way to open additional page-hosting windows.
How deep it goes
Explains page hosting and demonstrates construction, sizing, titling, and opening, but does not detail window lifecycle management.
Examples
Uses an AboutPage window configured with a title and 300-by-300 dimensions.
What you can do after
Build it from scratch by creating a Window around a page and opening it with Application.Current.OpenWindow.

Read how .NET MAUI in Action explains window →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.