From 6ee8d96a6e8c1e95b8ca2ab19fcc6a3a856d50c8 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 12 Mar 2014 17:31:13 -0400 Subject: Added GTK+ indeterminate ProgressBars. --- progressbar.go | 1 + 1 file changed, 1 insertion(+) (limited to 'progressbar.go') diff --git a/progressbar.go b/progressbar.go index 4d16874..000996c 100644 --- a/progressbar.go +++ b/progressbar.go @@ -27,6 +27,7 @@ func NewProgressBar() *ProgressBar { // If percent is in the range [0,100], the progressBar shows that much percent complete. // If percent is -1, the ProgressBar is made indeterminate. // Otherwise, SetProgress panics. +// TODO what happens if you repeatedly call SetProgress(-1)? func (p *ProgressBar) SetProgress(percent int) { p.lock.Lock() defer p.lock.Unlock() -- cgit v1.2.3