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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [Meter.n] - Blame information for rev 1782

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 tixMeter tix 4.0
15
.BS
16
'
17
'
18
'----------------------------------------------------------------------
19
.SH NAME
20
tixMeter \- Create and manipulate Tix Meter widgets
21
'
22
'
23
'----------------------------------------------------------------------
24
.SH SYNOPSIS
25
\fBtixMeter\fI \fIpathName ?\fIoptions\fR?
26
'
27
'
28
'----------------------------------------------------------------------
29
.PP
30
.SH SUPER-CLASS
31
None.
32
'
33
'----------------------------------------------------------------------
34
.SH "STANDARD OPTIONS"
35
'
36
The Meter widget supports all the standard options of a frame widget.
37
See the \fBoptions(n)\fR manual entry for details on the standard options.
38
'
39
'----------BEGIN
40
.LP
41
.nf
42
Name:           \fBfillColor\fR
43
Class:          \fBFillColor\fR
44
Switch:         \fB\-fillcolor\fR
45
.fi
46
.IP
47
The color of the progress bar.
48
'----------END
49
'----------BEGIN
50
.LP
51
.nf
52
Name:           \fBtext\fR
53
Class:          \fBText\fR
54
Switch:         \fB\-text\fR
55
.fi
56
.IP
57
The text string to place inside the progress bar. If not specified,
58
then the text string will be the percentage value specified by the
59
\fB\-value\fR option.
60
'----------END
61
'----------BEGIN
62
.LP
63
.nf
64
Name:           \fBvalue\fR
65
Class:          \fBValue\fR
66
Switch:         \fB\-value\fR
67
.fi
68
.IP
69
A real value that specifies the progress. Must be between 0.0 to 1.0.
70
'----------END
71
'
72
'----------------------------------------------------------------------
73
.SH DESCRIPTION
74
'
75
.PP
76
'
77
The \fBtixMeter\fR command creates a new window (given by the
78
\fIpathName\fR argument) and makes it into a Meter widget.
79
Additional options, described above, may be specified on the command
80
line or in the option database to configure aspects of the
81
Meter widget such as its cursor and relief.
82
 
83
The Meter widget can be used to show the pregress of a background job
84
which may take a long time to execute.
85
'----------------------------------------------------------------------
86
.SH WIDGET COMMANDS
87
.PP
88
'
89
The \fBtixMeter\fR command creates a new Tcl command whose name is
90
the same as the path name of the Meter widget's window.  This
91
command may be used to invoke various operations on the widget. It has
92
the following general form:
93
'
94
.DS C
95
'
96
\fIpathName option \fR?\fIarg arg ...\fR?
97
.PP
98
.DE
99
'
100
\fIPathName\fR is the name of the command, which is the same as the
101
Meter widget's path name. \fIOption\fR and the \fIarg\fRs
102
determine the exact behavior of the command. The following commands
103
are possible for Meter widgets:
104
'
105
.TP
106
\fIpathName \fBcget\fR \fIoption\fR
107
'
108
Returns the current value of the configuration option given by
109
\fIoption\fR. \fIOption\fR may have any of the values accepted by the
110
\fBtixMeter\fR command.
111
'
112
.TP
113
'
114
\fIpathName \fBconfigure\fR ?\fIoption\fR? \fI?value option value ...\fR?
115
'
116
Query or modify the configuration options of the widget.  If no
117
\fIoption\fR is specified, returns a list describing all of the
118
available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
119
information on the format of this list).  If \fIoption\fR is specified
120
with no \fIvalue\fR, then the command returns a list describing the
121
one named option (this list will be identical to the corresponding
122
sublist of the value returned if no \fIoption\fR is specified).  If
123
one or more \fIoption\-value\fR pairs are specified, then the command
124
modifies the given widget option(s) to have the given value(s); in
125
this case the command returns an empty string.  \fIOption\fR may have
126
any of the values accepted by the \fBtixMeter\fR command.
127
'
128
'
129
'
130
'
131
'----------------------------------------------------------------------
132
.SH BINDINGS
133
.PP
134
There is no bindings for the Meter widget.
135
'
136
'----------------------------------------------------------------------
137
.SH KEYWORDS
138
Tix(n), Meter Widget
139
 

powered by: WebSVN 2.1.0

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