diff options
Diffstat (limited to 'basicctrls.go')
| -rw-r--r-- | basicctrls.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/basicctrls.go b/basicctrls.go index 82550b6..8c97860 100644 --- a/basicctrls.go +++ b/basicctrls.go @@ -139,3 +139,21 @@ type Textbox interface { func NewTextbox() Textbox { return newTextbox() } + +// Spinbox is a Control that provides a text entry field that accepts integers and up and down buttons to increment and decrement those values. +// This control is in its preliminary state. +// TODO everything: +// - TODO set increment +// - TODO set step +// - TODO set page step? +// - TODO wrapping +// - TODO set/get integer value +// - TODO negative values +type Spinbox interface { + Control +} + +// NewSpinbox creates a new Spinbox. +func NewSpinbox() Spinbox { + return newSpinbox() +} |
