|
WikiDoc |
The [progressBar] commandCommands.ProgressBarCommand HistoryHide minor edits - Show changes to markup January 11, 2007, at 08:04 PM
by - Title prettified
Added lines 1-2:
(:title The [progressBar] command:) May 18, 2006, at 08:13 AM
by - No breakline in list item. Modified image.
Changed lines 20-21 from:
You could use a determinate progress indicator to show the progress of a file conversion, for example. to:
Changed lines 23-25 from:
to let the user know that the application is attempting a dial-up communication connection, for example, when there’s no way to accurately determine how long it will take to complete. to:
May 17, 2006, at 07:14 AM
by - Centering the snapshots
Changed lines 22-23 from:
http://alphatcl.sourceforge.net/wiki/pub/images/progBarDet.png to:
http://alphatcl.sourceforge.net/wiki/pub/images/progBarDet.png Changed lines 27-33 from:
http://alphatcl.sourceforge.net/wiki/pub/images/progBarIndet.png
such as retrieving messages from a server. http://alphatcl.sourceforge.net/wiki/pub/images/asynchProgIndicator.png to:
http://alphatcl.sourceforge.net/wiki/pub/images/progBarIndet.png
http://alphatcl.sourceforge.net/wiki/pub/images/asynchProgIndicator.png May 17, 2006, at 07:12 AM
by - Screen snapshots
Added lines 22-23:
http://alphatcl.sourceforge.net/wiki/pub/images/progBarDet.png Added lines 27-28:
http://alphatcl.sourceforge.net/wiki/pub/images/progBarIndet.png Changed lines 31-33 from:
to:
http://alphatcl.sourceforge.net/wiki/pub/images/asynchProgIndicator.png May 17, 2006, at 06:32 AM
by - Added link to ProgressIndicators page
Added lines 117-118:
bd In some cases, it may be sufficient to display an asynchronous progress indicator at the document level. The ProgressIndicators page explains how to do that. April 24, 2006, at 08:02 AM
by -
Changed line 63 from:
[= to:
[@
Changed line 66 from:
=] to:
@] Changed line 83 from:
[= to:
[@
Changed lines 101-102 from:
=] to:
@] Changed line 105 from:
[= to:
[@
Changed line 114 from:
=] to:
@] April 24, 2006, at 08:00 AM
by -
Deleted line 0:
Changed line 45 from:
[= to:
[@
Changed lines 47-49 from:
progressBar configur option value ?option value...? =] to:
progressBar configure option value ?option value...? @] April 23, 2006, at 08:43 AM
by -
Added line 18:
Changed lines 46-50 from:
progressBar configure option progressBar configure option value ?option value...? to:
progressBar configure option progressBar configur option value ?option value...? Deleted lines 117-119:
Last updated 2006-04-23 10:40:11 April 23, 2006, at 08:40 AM
by -
Added line 3:
Changed lines 19-20 from:
to:
Changed line 22 from:
to:
Changed line 25 from:
to:
Added line 40:
Added line 49:
Added line 52:
Changed lines 64-65 from:
progressBar configure -determinate 1 -label 1
progressBar configure -label 1 -determinate 1
to:
progressBar configure -determinate 1 -label 1 progressBar configure -label 1 -determinate 1 Changed lines 71-72 from:
progressBar hide to:
progressBar hide
Deleted lines 76-80:
progressBar show ExamplesHere are a few basic examples which can be executed from the Tcl shell in AlphaX: Deleted lines 78-93:
progressBar hide
progressBar configure -determinate
progressBar configure -determinate 0
progressBar configure -determinate 1
progressBar configure -label
progressBar configure -label 0
progressBar configure -label 1
progressBar configure -value
progressBar configure -value 25
Changed lines 80-82 from:
Here is a small code snippet demonstrating how to use the progress bar during a lengthy operation; to:
ExamplesHere are a few basic examples which can be executed from the Tcl shell in AlphaX: Changed lines 84-91 from:
progressBar configure -determinate 1 -label 1
progressBar show
for {set i 0} {$i <= 100} {incr i} {
progressBar configure -value $i
# do some action here
}
progressBar hide
to:
progressBar show progressBar hide progressBar configure -determinate progressBar configure -determinate 0 progressBar configure -determinate 1 progressBar configure -label progressBar configure -label 0 progressBar configure -label 1 progressBar configure -value progressBar configure -value 25 Added lines 102-114:
Here is a small code snippet demonstrating how to use the progress bar during a lengthy operation;
progressBar configure -determinate 1 -label 1
progressBar show
for {set i 0} {$i <= 100} {incr i} {
progressBar configure -value $i
# do some action here
}
progressBar hide
Changed line 119 from:
Last updated 2006-04-23 10:34:20 to:
Last updated 2006-04-23 10:40:11 April 23, 2006, at 08:34 AM
by -
Added lines 1-112:
IntroductionThe [progressBar] command lets you interact with the progress bar located at the right of the global status bar. It is possible to show or hide this progress bar, and modify some of its attributes. By default, the progress bar is invisible. Progress indicators inform users about the status of lengthy operations. There are three types of progress indicators:
You could use a determinate progress indicator to show the progress of a file conversion, for example.
to let the user know that the application is attempting a dial-up communication connection, for example, when there’s no way to accurately determine how long it will take to complete.
such as retrieving messages from a server. The [progressBar] command implements the first two types of indicators by displaying a progress bar in the global status bar. Version 8.1 of AlphaX also introduces a per-window small asynchronous progress indicator located in the bottom right corner of the message bar (see the [setWinInfo] command with the "busy" property). Note that if an indeterminate process reaches a point where its duration can be determined, one can easily switch to a determinate progress indicator. SynopsisThe formal syntax of the [progressBar] command is: progressBar subcommand ?options? The possible subcommands are described below. Depending on the subcommand, various options can be additionnally specified. The [configure] subcommandThere are two forms for the syntax of this subcommand: progressBar configure option progressBar configure option value ?option value...? The first form returns the value of the option specified as the third argument. The second form lets you set the value of different options. Here is the description of the currently available options:
Caution: swtiching to indeterminate automatically resets the value of the -label option to 0. So, the following two instructions are not equivalent:
progressBar configure -determinate 1 -label 1
progressBar configure -label 1 -determinate 1
Actually, the second one will result in the -label option to have value 0 since the arguments are parsed from left to right. The [hide] subcommandThis command lets you hide the progress bar. The syntax is simply: progressBar hide The [show] subcommandThis subcommand is the opposite of the [hide] subcommand. It lets you display the progress bar if it is hidden. progressBar show ExamplesHere are a few basic examples which can be executed from the Tcl shell in AlphaX:
progressBar show
progressBar hide
progressBar configure -determinate
progressBar configure -determinate 0
progressBar configure -determinate 1
progressBar configure -label
progressBar configure -label 0
progressBar configure -label 1
progressBar configure -value
progressBar configure -value 25
Here is a small code snippet demonstrating how to use the progress bar during a lengthy operation;
progressBar configure -determinate 1 -label 1
progressBar show
for {set i 0} {$i <= 100} {incr i} {
progressBar configure -value $i
# do some action here
}
progressBar hide
(add your comments here...) Last updated 2006-04-23 10:34:20 |
|
Edit -
History -
Print -
Recent Changes -
Search
Page last modified on January 11, 2007, at 08:04 PM
|
Hosted on
|