diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-02-26 09:05:35 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-02-26 09:05:35 +0000 |
| commit | 01b7bcd408fd9e9dc9088b1df5761fcc0971d7e1 (patch) | |
| tree | 593f2e62b1846058a020ffcecb0ef93eb7ac2153 /samples/dialog.py | |
| parent | 4dccdce4191d6e2bc3ba9f782b0fe1aa46b743e3 (diff) | |
Diffstat (limited to 'samples/dialog.py')
| -rw-r--r-- | samples/dialog.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/dialog.py b/samples/dialog.py index 5286b41f1db2..ef6e8626b3c0 100644 --- a/samples/dialog.py +++ b/samples/dialog.py @@ -1,5 +1,5 @@ #!/usr/bin/python -# $Id: dialog.py,v 1.4 2012/06/29 09:33:18 tom Exp $ +# $Id: dialog.py,v 1.5 2019/12/10 22:52:52 tom Exp $ # Module: dialog.py # Copyright (c) 2000 Robb Shecter <robb@acm.org> # All rights reserved. @@ -252,11 +252,11 @@ class Dialog: def gauge_start(self, perc=0, text='', height=8, width=54, title=''): """ Display gauge output window. - Gauge normal usage (assuming that there is an instace of 'Dialog' + Gauge normal usage (assuming that there is an instance of 'Dialog' class named 'd'): d.gauge_start() # do something - d.gauge_iterate(10) # passed throgh 10% + d.gauge_iterate(10) # passed through 10% # ... d.gauge_iterate(100, 'any text here') # work is done d.stop_gauge() # clean-up actions |
