Global settings – Comtrol eCos User Manual

Page 763

Advertising
background image

The I/O Auxiliary’s User Interface

Subwindows are generally packed in one of eight frames surrounding the central text window:

.main.nw

,

.main.n

,

.main.ne

,

.main.w

,

.main.e

,

.main.sw

,

.main.s

, and

.main.se

. To position a row of LED’s above the text

window and towards the left, a target definition file could contain an entry such as:

synth_device led {

pack -in .main.n -side left

...

}

Similarly, to put a traffic monitor window on the right of the text window would involve something like:

...

monitor_pack -in .main.e -side bottom

...

Often it will be sufficient to specify a container frame and one of

left

,

right

,

top

or

bottom

. Full control over

the positioning requires an understanding of Tcl/Tk and in particular the packing algorithm, and an appropriate
reference work should be consulted.

Global Settings

Note: This section still to be written - it should document the interaction between X resources and ecosynth,
and how users can control settings such as the main foreground and background colours.

659

Advertising