Module PyProgress
[hide private]
[frames] | no frames]

Module PyProgress

source code


Description
===========

PyProgress is similar to wx.ProgressDialog in indeterminated mode, but with a
different gauge appearance and a different spinning behavior. The moving gauge
can be drawn with a single solid colour or with a shading gradient foreground.
The gauge background colour is user customizable.
The bar does not move always from the beginning to the end as in wx.ProgressDialog
in indeterminated mode, but spins cyclically forward and backward.
Other options include:

  - Possibility to change the proportion between the spinning bar and the
    entire gauge, so that the bar can be longer or shorter (the default is 20%);
  - Modifying the number of steps the spinning bar performs before a forward
    (or backward) loop reverses.
    
PyProgress can optionally display a Cancel button, and a wx.StaticText which
outputs the elapsed time from the starting of the process.


Supported Platforms
===================

PyProgress has been tested on the following platforms:
  * Windows (Windows XP);
  * Linux Ubuntu (Dapper 6.06)


License And Version:
===================

PyProgress is freeware and distributed under the wxPython license. 


Latest Revision: Andrea Gavana @ 03 Nov 2006, 22.30 CET
Version 0.1



Classes [hide private]
  ProgressGauge
This class provides a visual alternative for wx.Gauge.
  PyProgress
PyProgress is similar to wx.ProgressDialog in indeterminated mode, but with a different gauge appearance and a different spinning behavior.

Variables [hide private]
  Uncancelable = -1
  Canceled = 0
  Continue = 1
  Finished = 2
  LAYOUT_MARGIN = 8

Variables Details [hide private]

Uncancelable

None
Value:
-1                                                                    
      

Canceled

None
Value:
0                                                                     
      

Continue

None
Value:
1                                                                     
      

Finished

None
Value:
2                                                                     
      

LAYOUT_MARGIN

None
Value:
8