From AlphaWiki

Interface: Progress indicators in AlphaX

Introduction

Starting with version 8.1a4, AlphaX offers two ways of displaying a progress indicator when a lengthy operation is being processed:

Displaying the per-window indicator

The rotating indicator is controlled by the new busy property defined with the [setWinInfo] and [getWinInfo] commands. Here are the basic instructions to show or hide this indicator respectively:

 
     setWinInfo -w $w busy 1
     setWinInfo -w $w busy 0

where $w is the name of the current window.

To query the state of the indicator (visible or not) use [getWinInfo]

 
     getWinInfo -w $w arr

where $w is the name of the current window and arr is the name of an array. The state is stored in $arr(busy).

Displaying the main progress bar

The progress bar is controlled by the [progressBar] command which is explained in ProgressBarCommand

Retrieved from http://alphatcl.sourceforge.net/wiki/pmwiki.php/Interface/ProgressIndicators
Page last modified on May 17, 2006, at 07:10 AM