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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [Meter.html] - 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
 
3
 
4
<TITLE>tixMeter - Create and manipulate Tix Meter widgets</TITLE>
5
<Center><H2>tixMeter - Create and manipulate Tix Meter widgets</H2></Center><hr>
6
 
7
</pre><H3>SYNOPSIS</H3>
8
<B>tixMeter<I> <I>pathName ?<I>options</I></B>?
9
<P>
10
</pre><H3>SUPER-CLASS</H3>
11
None.
12
</pre><H3>STANDARD OPTIONS</H3>
13
The Balloon widget supports all the standard options of a frame widget.
14
See the <B>options(n)</B></I> manual entry for details on the standard options.
15
<P>
16
<pre><code><code><code>
17
Name:           <B>foreground</B></I>
18
Class:          <B>Foreground</B></I>
19
Switch:         <B>-foreground</B></I>
20
</code></code></code></pre>
21
<UL>
22
The color of the progress bar.
23
</UL>
24
<P>
25
<pre><code><code><code>
26
Name:           <B>text</B></I>
27
Class:          <B>Text</B></I>
28
Switch:         <B>-text</B></I>
29
</code></code></code></pre>
30
<UL>
31
The text string to place inside the progress bar. If not specified,
32
then the text string will be the percentage value specified by the
33
<B>-value</B></I> option.
34
</UL>
35
<P>
36
<pre><code><code><code>
37
Name:           <B>value</B></I>
38
Class:          <B>Value</B></I>
39
Switch:         <B>-value</B></I>
40
</code></code></code></pre>
41
<UL>
42
A real value that specifies the progress. Must be between 0.0 to 1.0.
43
</UL>
44
</pre><H3>DESCRIPTION</H3>
45
<P>
46
The <B>tixMeter</B></I> command creates a new window (given by the
47
<I>pathName</I></B> argument) and makes it into a Meter widget.
48
Additional options, described above, may be specified on the command
49
line or in the option database to configure aspects of the
50
Meter widget such as its cursor and relief.
51
 
52
The Meter widget can be used to show the pregress of a background job
53
which may take a long time to execute.
54
</pre><H3>WIDGET COMMANDS</H3>
55
<P>
56
The <B>tixMeter</B></I> command creates a new Tcl command whose name is
57
command may be used to invoke various operations on the widget. It has
58
the following general form:
59
<pre>
60
<I>pathName option </I></B>?<I>arg arg ...</I></B>?
61
<P>
62
</pre>
63
<I>PathName</I></B> is the name of the command, which is the same as the
64
determine the exact behavior of the command. The following commands
65
are possible for Meter widgets:
66
<DL>
67
<DT> <I>pathName <B>cget</B></I> <I>option</I></B>
68
</I></B>
69
<DD> Returns the current value of the configuration option given by
70
<I>option</I></B>. <I>Option</I></B> may have any of the values accepted by the
71
<B>tixMeter</B></I> command.
72
</DL>
73
<DL>
74
<DT> <I>pathName <B>configure</B></I> ?<I>option</I></B>? <I>?value option value ...</I></B>?
75
</I></B>
76
<DD> Query or modify the configuration options of the widget.  If no
77
<I>option</I></B> is specified, returns a list describing all of the
78
available options for <I>pathName</I></B> (see <B>Tk_ConfigureInfo</B></I> for
79
information on the format of this list).  If <I>option</I></B> is specified
80
with no <I>value</I></B>, then the command returns a list describing the
81
one named option (this list will be identical to the corresponding
82
sublist of the value returned if no <I>option</I></B> is specified).  If
83
one or more <I>option-value</I></B> pairs are specified, then the command
84
modifies the given widget option(s) to have the given value(s); in
85
this case the command returns an empty string.  <I>Option</I></B> may have
86
any of the values accepted by the <B>tixMeter</B></I> command.
87
</DL>
88
</pre><H3>BINDINGS</H3>
89
<P>
90
There is no bindings for the Meter widget.
91
</pre><H3>KEYWORDS</H3>
92
Tix(n), Meter Widget
93
 
94
<!Serial 851729147>
95
<hr><i>Last modified Fri Jan 17 23:01:36 EST 1997 </i> ---
96
<i>Serial 853731302</i>

powered by: WebSVN 2.1.0

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