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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [LabEntry.n] - Blame information for rev 578

Go to most recent revision | 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 tixLabelEntry tix 4.0
15
.BS
16
'
17
'
18
'----------------------------------------------------------------------
19
.SH NAME
20
tixLabelEntry \- Create and manipulate tixLabelEntry widgets
21
'
22
'
23
'
24
'----------------------------------------------------------------------
25
.SH SYNOPSIS
26
\fBtixLabelEntry\fI \fIpathName ?\fIoptions\fR?
27
'
28
'
29
'----------------------------------------------------------------------
30
.PP
31
.SH SUPER-CLASS
32
The \fBTixLabelEntry\fR class is derived from the \fBTixLabelWidget\fR
33
class and inherits all the commands, options and subwidgets of its
34
super-class.
35
'
36
'----------------------------------------------------------------------
37
.SH "STANDARD OPTIONS"
38
'
39
The LabelEntry widget supports all the standard options of a frame
40
widget. See the \fBoptions(n)\fR manual entry for details on the
41
standard options.
42
'
43
'----------------------------------------------------------------------
44
.SH "WIDGET-SPECIFIC OPTIONS"
45
'
46
'----------BEGIN
47
.LP
48
.nf
49
Name:           \fBdisableForeground\fR
50
Class:          \fBDisableForeground\fR
51
Switch:         \fB\-disableforeground\fR
52
.fi
53
.IP
54
The foreground color to use for of the entry subwidget when the
55
LabelEntry widget is disabled.
56
'----------END
57
'
58
'
59
'----------BEGIN
60
.LP
61
.nf
62
Name:           \fBlabel\fR
63
Class:          \fBLabel\fR
64
Switch:         \fB\-label\fR
65
.fi
66
.IP
67
Specifies the string to display as the label of this LabelEntry widget.
68
'----------END
69
'
70
'----------BEGIN
71
.LP
72
.nf
73
Name:           \fBlabelSide\fR
74
Class:          \fBLabelSide\fR
75
Switch:         \fB\-labelside\fR
76
.fi
77
.IP
78
Specifies where the label should be displayed relative to the entry
79
subwidget. Valid options are: \fBtop\fR, \fBleft\fR, \fBright\fR,
80
\fBbottom\fR, \fBnone\fR or \fBacrosstop\fR.
81
'----------END
82
'
83
'----------BEGIN
84
.LP
85
.nf
86
Name:           \fBstate\fR
87
Class:          \fBState\fR
88
Switch:         \fB\-state\fR
89
.fi
90
.IP
91
Specifies the whether the LabelEntry widget is normal or disabled. Only
92
the values "normal" and "disabled" are recognized.
93
'----------END
94
'
95
'----------------------------------------------------------------------
96
.SH SUBWIDGETS
97
'----------BEGIN
98
.LP
99
.nf
100
Name:           \fBlabel\fR
101
Class:          \fBLabel\fR
102
.fi
103
.IP
104
The label subwidget.
105
'----------END
106
'
107
'----------BEGIN
108
.LP
109
.nf
110
Name:           \fBentry\fR
111
Class:          \fBEntry\fR
112
.fi
113
.IP
114
The entry subwidget.
115
'----------END
116
.BE
117
'
118
'----------------------------------------------------------------------
119
.SH DESCRIPTION
120
'
121
.PP
122
'
123
The \fBtixLabelEntry\fR command creates a new window (given by
124
the \fIpathName\fR argument) and makes it into a LabelEntry
125
widget. Additional options, described above, may be specified on the
126
command line or in the option database to configure aspects of the
127
LabelEntry such as its cursor and relief.
128
.PP
129
The LabelEntry widget packages an entry widget and a label into one
130
mega widget. It can be used be used to simplify the creation of
131
"entry-form" type of interface. In this kind of interface, one must
132
create many entry widgets with label widgets next to them and describe
133
the use of each of the entry widgets.
134
'
135
'
136
'----------------------------------------------------------------------
137
.SH WIDGET COMMANDS
138
.PP
139
'
140
The \fBtixLabelEntry\fR command creates a new Tcl command whose
141
name is the same as the path name of the LabelEntry's
142
window. This command may be used to invoke various operations on the
143
widget. It has the following general form:
144
'
145
.DS C
146
'
147
\fIpathName option \fR?\fIarg arg ...\fR?
148
.PP
149
.DE
150
'
151
\fIPathName\fR is the name of the command, which is the same as the
152
LabelEntry widget's path name. \fIOption\fR and the
153
\fIarg\fRs determine the exact behavior of the command. The following
154
commands are possible for LabelEntry widgets:
155
'
156
.TP
157
\fIpathName \fBcget\fR \fIoption\fR
158
'
159
Returns the current value of the configuration option given by
160
\fIoption\fR. \fIOption\fR may have any of the values accepted by the
161
\fBtixLabelEntry\fR command.
162
'
163
'
164
.TP
165
'
166
\fIpathName \fBconfigure\fR ?\fIoption\fR? \fI?value option value ...\fR?
167
'
168
Query or modify the configuration options of the widget.  If no
169
\fIoption\fR is specified, returns a list describing all of the
170
available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
171
information on the format of this list).  If \fIoption\fR is specified
172
with no \fIvalue\fR, then the command returns a list describing the
173
one named option (this list will be identical to the corresponding
174
sublist of the value returned if no \fIoption\fR is specified).  If
175
one or more \fIoption\-value\fR pairs are specified, then the command
176
modifies the given widget option(s) to have the given value(s); in
177
this case the command returns an empty string.  \fIOption\fR may have
178
any of the values accepted by the \fBtixLabelEntry\fR command.
179
'
180
'
181
'
182
.TP
183
\fIpathName \fBsubwidget \fIname ?args?\fR
184
'
185
When no options are given, this command returns the pathname of the
186
subwidget of the specified name.
187
 
188
When options are given, the widget command of the specified subwidget
189
will be called with these options.
190
'
191
'
192
'
193
'----------------------------------------------------------------------
194
'.SH BINDINGS
195
'.PP
196
'
197
'
198
'
199
'----------------------------------------------------------------------
200
.SH KEYWORDS
201
Tix(n)

powered by: WebSVN 2.1.0

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