OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [SText.n] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
'\"
2
'\" Copyright (c) 1996, Expert Interface Technologies
3
'\"
4
'\" See the file "license.terms" for information on usage and redistribution
5
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
6
'\"
7
'\" The file man.macros and some of the macros used by this file are
8
'\" copyrighted: (c) 1990 The Regents of the University of California.
9
'\"              (c) 1994-1995 Sun Microsystems, Inc.
10
'\" The license terms of the Tcl/Tk distrobution are in the file
11
'\" license.tcl.
12
.so man.macros
13
'----------------------------------------------------------------------
14
.HS tixScrolledText tix 4.0
15
.BS
16
'
17
'
18
'----------------------------------------------------------------------
19
.SH NAME
20
tixScrolledText \- Create and manipulate Tix ScrolledText widgets
21
'
22
'
23
'
24
'----------------------------------------------------------------------
25
.SH SYNOPSIS
26
\fBtixScrolledText\fI \fIpathName ?\fIoptions\fR?
27
'
28
'
29
'
30
'----------------------------------------------------------------------
31
.SH "STANDARD OPTIONS"
32
.LP
33
.nf
34
.ta 4c 8c 12c
35
\fB
36
'
37
anchor  background      cursor
38
relief  borderWidth
39
'
40
\fR
41
.ta 4c
42
.fi
43
.LP
44
See the \fBoptions(n)\fR manual entry for details on the standard options.
45
'
46
'
47
'----------------------------------------------------------------------
48
.SH "WIDGET-SPECIFIC OPTIONS"
49
'
50
'----------BEGIN
51
.LP
52
.nf
53
Name:           \fBheight\fR
54
Class:          \fBHeight\fR
55
Switch:         \fB-height\fR
56
.fi
57
.IP
58
Specifies the desired height for the window, in pixels.
59
'----------END
60
'
61
'----------BEGIN
62
.LP
63
.nf
64
Name:           \fBscrollbar\fR
65
Class:          \fBScrollbar\fR
66
Switch:         \fB\-scrollbar\fR
67
.fi
68
.IP
69
Specifies the display policy of the scrollbars. The following
70
values are recognized:
71
.RS
72
'
73
.TP
74
\fBauto\fR \fR?\fI\+x\fR? \fR?\fI\-x\fR? \fR?\fI\+y\fR? \fR?\fI\-y\fR?
75
'
76
When \fB\-scrollbar\fR is set to "\fBauto\fR", the scrollbars are
77
shown only when needed. Additional modifiers can be used to force a
78
scrollbar to be shown or hidden. For example, "\fBauto \-y\fR" means
79
the horizontal scrollbar should be shown when needed but the vertical
80
scrollbar should always be hidden; "\fBauto +x\fR" means the vertical
81
scrollbar should be shown when needed but the horizontal scrollbar
82
should always be shown, and so on.
83
'
84
.TP
85
\fBboth\fR
86
Both scrollbars are shown
87
'
88
.TP
89
\fBnone\fR
90
The scrollbars are never shown.
91
'
92
.TP
93
\fBx\fR
94
Only the horizontal scrollbar is shown;
95
'
96
.TP
97
\fBy\fR
98
Only the vertical scrollbar is shown.
99
'
100
.RE
101
'
102
'----------END
103
'
104
'----------BEGIN
105
.LP
106
.nf
107
Name:           \fBwidth\fR
108
Class:          \fBWidth\fR
109
Switch:         \fB-width\fR
110
.fi
111
.IP
112
Specifies the desired width for the window, in pixels.
113
'----------END
114
'
115
'----------------------------------------------------------------------
116
.SH SUBWIDGETS
117
'
118
'----------BEGIN
119
.LP
120
.nf
121
Name:           \fBhsb\fR
122
Class:          \fBScrollbar\fR
123
.fi
124
.IP
125
The horizontal scrollbar subwidget.
126
'----------END
127
'
128
'
129
'----------BEGIN
130
.LP
131
.nf
132
Name:           \fBtext\fR
133
Class:          \fBText\fR
134
.fi
135
.IP
136
The Text subwidget inside the ScrolledText widget.
137
'----------END
138
'
139
'----------BEGIN
140
.LP
141
.nf
142
Name:           \fBvsb\fR
143
Class:          \fBScrollbar\fR
144
.fi
145
.IP
146
The vertical scrollbar subwidget.
147
'----------END
148
'
149
.BE
150
'
151
'
152
'----------------------------------------------------------------------
153
.SH DESCRIPTION
154
'
155
.PP
156
'
157
The \fBtixScrolledText\fR command creates a new window (given by the
158
\fIpathName\fR argument) and makes it into a ScrolledText widget.
159
Additional options, described above, may be specified on the command
160
line or in the option database to configure aspects of the
161
ScrolledText widget such as its cursor and relief.
162
'
163
'----------------------------------------------------------------------
164
.SH WIDGET COMMANDS
165
.PP
166
'
167
The \fBtixScrolledText\fR command creates a new Tcl command whose
168
name is the same as the path name of the ScrolledText widget's window.  This
169
command may be used to invoke various
170
operations on the widget. It has the following general form:
171
'
172
.DS C
173
'
174
\fIpathName option \fR?\fIarg arg ...\fR?
175
 
176
.DE
177
'
178
\fIPathName\fR is the name of the command, which is the same as
179
the ScrolledText widget's path name.  \fIOption\fR and the \fIarg\fRs
180
determine the exact behavior of the command.  The following
181
commands are possible for ScrolledText widgets:
182
'
183
.TP
184
'
185
\fIpathName \fBcget\fR \fIoption\fR
186
'
187
Returns the current value of the configuration option given by
188
\fIoption\fR. \fIOption\fR may have any of the values accepted by the
189
\fBtixScrolledText\fR command.
190
'
191
.TP
192
'
193
\fIpathName \fBconfigure\fR ?\fIoption\fR? \fI?value option value ...\fR?
194
'
195
Query or modify the configuration options of the widget.  If
196
no \fIoption\fR is specified, returns a list describing all of the
197
available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
198
information on the format of this list).  If \fIoption\fR is specified
199
with no \fIvalue\fR, then the command returns a list describing the
200
one named option (this list will be identical to the corresponding
201
sublist of the value returned if no \fIoption\fR is specified).  If
202
one or more \fIoption\-value\fR pairs are specified, then the command
203
modifies the given widget option(s) to have the given value(s); in
204
this case the command returns an empty string.  \fIOption\fR may have
205
any of the values accepted by the \fBtixScrolledText\fR command.
206
'
207
.TP
208
'
209
\fIpathName \fBsubwidget \fI name ?args?\fR
210
'
211
When no additional arguments are given, returns the pathname of the
212
subwidget of the specified name.
213
 
214
When no additional arguments are given, the widget command of the
215
specified subwidget will be called with these parameters.
216
'
217
'
218
'----------------------------------------------------------------------
219
.SH KEYWORDS
220
Tix(n)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.