1tixMeter(n) Tix Built-In Commands tixMeter(n)
2
3
4
6 tixMeter - Create and manipulate Tix Meter widgets
7
9 tixMeter pathName ?options?
10
12 None.
13
15 The Meter widget supports all the standard options of a frame widget.
16 See the options(n) manual entry for details on the standard options.
17
19 [-fillcolor fillColor] The color of the progress bar. [-text text] The
20 text string to place inside the progress bar. If not specified, then
21 the text string will be the percentage value specified by the -value
22 option. [-value value] A real value that specifies the progress. Must
23 be between 0.0 to 1.0.
24
26 The tixMeter command creates a new window (given by the pathName argu‐
27 ment) and makes it into a Meter widget. Additional options, described
28 above, may be specified on the command line or in the option database
29 to configure aspects of the Meter widget such as its cursor and relief.
30
31 The Meter widget can be used to show the pregress of a background job
32 which may take a long time to execute.
33
35 The tixMeter command creates a new Tcl command whose name is the same
36 as the path name of the Meter widget's window. This command may be
37 used to invoke various operations on the widget. It has the following
38 general form:
39 pathName option ?arg arg ...?
40 PathName is the name of the command, which is the same as the Meter
41 widget's path name. Option and the args determine the exact behavior of
42 the command. The following commands are possible for Meter widgets:
43
44 pathName cget option
45 Returns the current value of the configuration option given by
46 option. Option may have any of the values accepted by the tixMe‐
47 ter command.
48
49 pathName configure ?option? ?value option value ...?
50 Query or modify the configuration options of the widget. If no
51 option is specified, returns a list describing all of the avail‐
52 able options for pathName (see Tk_ConfigureInfo for information
53 on the format of this list). If option is specified with no
54 value, then the command returns a list describing the one named
55 option (this list will be identical to the corresponding sublist
56 of the value returned if no option is specified). If one or
57 more option-value pairs are specified, then the command modifies
58 the given widget option(s) to have the given value(s); in this
59 case the command returns an empty string. Option may have any
60 of the values accepted by the tixMeter command.
61
63 There is no bindings for the Meter widget.
64
66 Tix(n), Meter Widget
67
68
69
70
71
72
73
74Tix 4.0 tixMeter(n)