summaryrefslogtreecommitdiff
path: root/basicctrls.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-11-04 11:42:28 -0500
committerPietro Gagliardi <[email protected]>2014-11-04 11:42:28 -0500
commitb791a066c7e57ee3d2621a6b9184fd6ec1491e8f (patch)
tree47007a061cb209fc266968aee60b7c269b2c3579 /basicctrls.go
parentf35892e8929e5e9217745746f8e271e1466c37c1 (diff)
More TODOs.
Diffstat (limited to 'basicctrls.go')
-rw-r--r--basicctrls.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/basicctrls.go b/basicctrls.go
index dbe9190..b80a25a 100644
--- a/basicctrls.go
+++ b/basicctrls.go
@@ -171,11 +171,13 @@ func NewSpinbox(min int, max int) Spinbox {
}
// ProgressBar is a Control that displays a horizontal bar which shows the level of completion of an operation.
+// TODO indetermiante
type ProgressBar interface {
Control
// Percent and SetPrecent get and set the current percentage indicated by the ProgressBar, respectively.
// This value must be between 0 and 100; all other values cause SetPercent to panic.
+ // TODO rename to Progress/SetProgress?
Percent() int
SetPercent(percent int)
}