CreateWindow

CreateWindow[]

creates an empty window in the front end.

CreateWindow[expr]

creates a window displaying the notebook expression expr, and opens it in the front end.

CreateWindow[expr,obj]

replaces the notebook represented by the notebook object obj with the one obtained from expr.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Create a blank notebook window:

Create a notebook window with specified contents:

Replace the contents of an existing window:

Scope  (2)

Create a palette window:

Create a dialog window:

Options  (5)

Background  (1)

Set a background color:

CellDingbat  (1)

Set a cell dingbat:

CellGrouping  (1)

Make a notebook with manually grouped cells:

TextAlignment  (1)

Align contents on the right:

Visible  (1)

Create a notebook that is not visible:

Make the notebook appear:

Properties & Relations  (5)

DocumentNotebook creates an in-cell representation of a notebook document:

CreateWindow puts the document into its own window:

PaletteNotebook and DialogNotebook create representations of specialized notebooks:

Use CreateWindow to put a palette or dialog expression into its own notebook window:

CreateDocument is essentially a combination of DocumentNotebook and CreateWindow:

CreatePalette acts like a combination of PaletteNotebook and CreateWindow:

CreateDialog acts like a combination of DialogNotebook and CreateWindow:

Introduced in 2007
 (6.0)