Structure: panel

Object Description:

A panel in a panel window, tab window, table window or menupane.

Creation Command:

paneladd command, or via window creation

Permitted Scope:

local, global, or application

Array Capability:

Yes

Membership Potential:

compound, gstructure, structure, custom

Graphic Primitive Capability:

No

User Function Capability:

Yes

 

Generic Elements

.access

-

string

Access rights

.alength

*

numeric

Array length (1)

.class

*

string

Identifier class (panel)

.desc

-

string

Description

.elements

*

string [46]

Structure element names

.etypes

*

string [46]

Structure element types

.is_class

*

numeric func

Whether identifier is an instance of a particular class

.is_proc

*

numeric

Whether identifier is a procedure/function

.num_elements

*

numeric

Structure element count (46)

.owner

*

string

Owner user-id

.time

-

time

Modification time

.type

*

string

Identifier type (panel)

.variant

*

string

Identifier variant (identifier)

* = Read-only element

 

Structure Elements

.after

-

callback

Procedure to execute when panel lose the focus

.background

-

color

Panel background color

.before

-

callback

Procedure to execute when panel gains the focus

.border

*

numeric

Panel image border thickness

.changed

-

numeric

Whether panel value has changed

.dec_places

*

numeric

Value significance (dial, progress, slider)

.drag

-

callback

Procedure to execute when panel contents are dragged

.exec

-

callback

Procedure to execute when panel is activated

.font

-

font

Panel text font

.foreground

*

color

Panel image foreground color

.framed

*

numeric

Whether the panel is framed

.gap

*

numeric

Inter-option gap size (in pixels)

.ghosted

-

numeric

Panel sensitivity

.heading

*

string

Table row/column title

.height

*

numeric

Panel height (in pixels)

.image

-

string[ ]

Panel image filename(s)

.init_text

-

string

Initial text value

.init_value

-

numeric

Initial numeric value

.label

-

string[ ]

Panel label(s)

.linkage

-

string

Panel resize linkage

.maxchars

*

numeric

Maximum text length (in characters)

.maxrows

*

numeric

Maximum number of text rows

.multiple

*

numeric

Whether the panel mode is multiple

.name

-

string

Panel name

.nvalue

-

numeric[ ]

Current panel text values convert to numeric form

.orientation

*

numeric

Panel orientation (horizontal/vertical)

.position

-

numeric[2]

Panel position

.posjust

-

string

Panel position justification

.protect

*

numeric

User input denied

.pulldown

*

menupane

Menupane associated with panel.exec

.quiet

-

numeric

Quiet mode

.range

*

numeric[2]

Range of values for panel.value

.rect

-

numeric[4]

Panel rectangle geometry

.rows

-

numeric

Panel text row count

.selected

-

numeric[ ]

Panel option selection status (list sub-panels)

.set_color

*

color

Set color for indicator buttons

.style

*

string

Panel type

.text

-

string[ ]

Available panel text value(s)

.text_color

-

color

Color for text in the panel

.tooltip

-

string

Tool tip text

.top_row

-

numeric

Current index of top row

.tvalue

-

string[ ]

 Current panel text value(s)

.value

-

numeric

Current panel numeric value

.visibility

-

numeric

Panel visibility

.width

*

numeric

Panel width (in pixels)

.word_wrap

*

numeric

Text word-wrap at end-of-line

* = Read-only element