Element: panel_window.design

Type

numeric

Description

Put the window into or out of design mode.

When a panel window is in design mode, it acquires a transparent child window which covers its contents, but not its menu bar if it has one. While in design mode, the sub-panels become insensitive to user interaction, e.g. buttons cannot be pressed, text cannot be typed into text sub-panels.

The child window is essentially a graphic window, although it is known as a design window, and has all the entity-drawing properties of a normal graphic window. Entities are displayed over the top of the window’s sub-panels.

The design window cannot have a background or cloth since the background is essentially a view of the underlying panel window.

Setting the value of the panel_window.design element will flip in and out of design mode, thus desensitizing the panels.

The child window can be referenced by the panel window element panel_window.deswin. Deleting this window, by use of the wdelete command, will automatically set panel_window.design to 0.

This facility is used primarily for "gui-building" applications.

See Also

Commands:

wgraphic

Structures:

window.deswin