Panel

Overview

A Panel is similar to a window although it should be viewed as either a utility or tool window. It differs from a regular Window in that: It uses a smaller title bar, and does not have minimize or maximize capabilities. It uses slightly different styles than a normal window. It disappears automatically if the application looses focus and reappears when it regains it. Panels are useful as "Tool" windows. For example, in Photoshop the floating set of buttons to select the current action (select, bucket, fill, etc) would be a panel. Panels inherit all of the capabilities with the exception of window state capabilities (maximize, minimize and fullscreen).

 

Descendants

  1. None
 

See Also

  1. None

Constructors

new Panel
Description

Creates a new panel that is initially hidden.

Definition

new Panel()

Members

floating
Description

Gets or sets if the panel is currently floating or docked.

Definition

boolean panel.floating (default "window")
style
Description

Gets or sets the style of the panel. This can be "window" for an apperance as similar to a normal window as possible, "inspector" for a "Heads Up Display" style window or "utility" for a style that resembles a native utility window (or panel). The default is "window".

Definition

string panel.style (default "window")