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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [LabEntry.html] - Blame information for rev 1781

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
 
2
 
3
 
4
<TITLE>tixLabelEntry - Create and manipulate tixLabelEntry widgets</TITLE>
5
<Center><H2>tixLabelEntry - Create and manipulate tixLabelEntry widgets</H2></Center><hr>
6
 
7
</pre><H3>SYNOPSIS</H3>
8
<B>tixLabelEntry<I> <I>pathName ?<I>options</I></B>?
9
<P>
10
</pre><H3>SUPER-CLASS</H3>
11
The <B>TixLabelEntry</B></I> class is derived from the <B>TixLabelWidget</B></I>
12
class and inherits all the commands, options and subwidgets of its
13
super-class.
14
</pre><H3>STANDARD OPTIONS</H3>
15
The LabelEntry widget supports all the standard options of a frame
16
widget. See the <B>options(n)</B></I> manual entry for details on the
17
standard options.
18
</pre><H3>WIDGET-SPECIFIC OPTIONS</H3>
19
<P>
20
<pre><code><code><code>
21
Name:           <B>disableForeground</B></I>
22
Class:          <B>DisableForeground</B></I>
23
Switch:         <B>-disableforeground</B></I>
24
</code></code></code></pre>
25
<UL>
26
The foreground color to use for of the entry subwidget when the
27
LabelEntry widget is disabled.
28
</UL>
29
<P>
30
<pre><code><code><code>
31
Name:           <B>label</B></I>
32
Class:          <B>Label</B></I>
33
Switch:         <B>-label</B></I>
34
</code></code></code></pre>
35
<UL>
36
Specifies the string to display as the label of this LabelEntry widget.
37
</UL>
38
<P>
39
<pre><code><code><code>
40
Name:           <B>labelSide</B></I>
41
Class:          <B>LabelSide</B></I>
42
Switch:         <B>-labelside</B></I>
43
</code></code></code></pre>
44
<UL>
45
Specifies where the label should be displayed relative to the entry
46
subwidget. Valid options are: <B>top</B></I>, <B>left</B></I>, <B>right</B></I>,
47
<B>bottom</B></I>, <B>none</B></I> or <B>acrosstop</B></I>.
48
</UL>
49
<P>
50
<pre><code><code><code>
51
Name:           <B>state</B></I>
52
Class:          <B>State</B></I>
53
Switch:         <B>-state</B></I>
54
</code></code></code></pre>
55
<UL>
56
Specifies the whether the LabelEntry widget is normal or disabled. Only
57
the values "normal" and "disabled" are recognized.
58
</UL>
59
</pre><H3>SUBWIDGETS</H3>
60
<P>
61
<pre><code><code><code>
62
Name:           <B>label</B></I>
63
Class:          <B>Label</B></I>
64
</code></code></code></pre>
65
<UL>
66
The label subwidget.
67
</UL>
68
<P>
69
<pre><code><code><code>
70
Name:           <B>entry</B></I>
71
Class:          <B>Entry</B></I>
72
</code></code></code></pre>
73
<UL>
74
The entry subwidget.
75
</UL>
76
</pre><HR>
77
</pre><H3>DESCRIPTION</H3>
78
<P>
79
The <B>tixLabelEntry</B></I> command creates a new window (given by
80
the <I>pathName</I></B> argument) and makes it into a LabelEntry
81
widget. Additional options, described above, may be specified on the
82
command line or in the option database to configure aspects of the
83
LabelEntry such as its cursor and relief.
84
<P>
85
The LabelEntry widget packages an entry widget and a label into one
86
mega widget. It can be used be used to simplify the creation of
87
"entry-form" type of interface. In this kind of interface, one must
88
create many entry widgets with label widgets next to them and describe
89
the use of each of the entry widgets.
90
</pre><H3>WIDGET COMMANDS</H3>
91
<P>
92
The <B>tixLabelEntry</B></I> command creates a new Tcl command whose
93
window. This command may be used to invoke various operations on the
94
widget. It has the following general form:
95
<pre>
96
<I>pathName option </I></B>?<I>arg arg ...</I></B>?
97
<P>
98
</pre>
99
<I>PathName</I></B> is the name of the command, which is the same as the
100
<I>arg</I></B>s determine the exact behavior of the command. The following
101
commands are possible for LabelEntry widgets:
102
<DL>
103
<DT> <I>pathName <B>cget</B></I> <I>option</I></B>
104
</I></B>
105
<DD> Returns the current value of the configuration option given by
106
<I>option</I></B>. <I>Option</I></B> may have any of the values accepted by the
107
<B>tixLabelEntry</B></I> command.
108
</DL>
109
<DL>
110
<DT> <I>pathName <B>configure</B></I> ?<I>option</I></B>? <I>?value option value ...</I></B>?
111
</I></B>
112
<DD> Query or modify the configuration options of the widget.  If no
113
<I>option</I></B> is specified, returns a list describing all of the
114
available options for <I>pathName</I></B> (see <B>Tk_ConfigureInfo</B></I> for
115
information on the format of this list).  If <I>option</I></B> is specified
116
with no <I>value</I></B>, then the command returns a list describing the
117
one named option (this list will be identical to the corresponding
118
sublist of the value returned if no <I>option</I></B> is specified).  If
119
one or more <I>option-value</I></B> pairs are specified, then the command
120
modifies the given widget option(s) to have the given value(s); in
121
this case the command returns an empty string.  <I>Option</I></B> may have
122
any of the values accepted by the <B>tixLabelEntry</B></I> command.
123
</DL>
124
<DL>
125
<DT> <I>pathName <B>subwidget <I>name ?args?</I></B>
126
</I></B>
127
<DD> When no options are given, this command returns the pathname of the
128
subwidget of the specified name.
129
 
130
When options are given, the widget command of the specified subwidget
131
will be called with these options.
132
</DL>
133
</pre><H3>KEYWORDS</H3>
134
Tix(n)
135
<hr><i>Last modified Sun Jan 19 22:34:31 EST 1997 </i> ---
136
<i>Serial 853731301</i>

powered by: WebSVN 2.1.0

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