blob: 9040e02d510336cca566e3604ee9b68a89a2a198 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
.bp
.if e .bp \" make sure we break on an odd page.
\&
.sp 1
.ce 3
\s+1\fBChapter 3\fP\s-1
\s+1\fBSimple Widgets\fP\s-1
.IN "simple widgets" ""
.sp 2
.nr H1 3
.nr H2 0
.nr H3 0
.nr H4 0
.nr H5 0
.na
.LP
.XS
Chapter 3 - Simple Widgets
.XE
.LP
Each of these widgets performs a specific user interface function. They
are \fIsimple\fP because they cannot have widget children\(emthey may only
be used as leaves of the widget tree. These widgets display information or
take user input.
.sp
.IP \fBCommand\fP 1i
.IN "Command widget" ""
A push button that, when selected, may cause a specific action
to take place. This widget can display a multi-line string or a bitmap or pixmap image.
.IP \fBGrip\fP 1i
.IN "Grip widget" ""
A rectangle that, when selected, will cause an action to take place.
.IP \fBLabel\fP 1i
.IN "Label widget" ""
A rectangle that can display a multi-line string or a bitmap or pixmap image.
.IP \fBList\fP 1i
.IN "List widget" ""
A list of text strings presented in row column format that may be
individually selected. When an element is selected an action may take
place.
.IP \fBPanner\fP 1i
.IN "Panner widget" ""
A rectangular area containing a \fIslider\fP that may be moved in two
dimensions. Notification of movement may be continuous or discrete.
.IP \fBRepeater\fP 1i
.IN "Repeater widget" ""
A push button that triggers an action at an increasing rate when selected.
This widget can display a multi-line string or a bitmap or pixmap image.
.IP \fBScrollbar\fP
.IN "Scrollbar widget" ""
A rectangular area containing a \fIthumb\fP that when slid along one
dimension may cause a specific action to take place. The Scrollbar may
be oriented horizontally or vertically.
.IP \fBSimple\fP 1i
.IN "Simple widget" ""
The base class for most of the simple widgets. Provides a rectangular
area with a settable mouse cursor and special border.
.IP \fBStripChart\fP 1i
.IN "StripChart widget" ""
A real time data graph that will automatically update and scroll.
.IP \fBToggle\fP 1i
.IN "Toggle widget" ""
A push button that contains state information. Toggles
may also be used as ``radio buttons'' to implement a ``one of many'' or
``zero or one of many'' group
of buttons. This widget can display a multi-line string or a bitmap or pixmap image.
|