summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redo/controls.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/redo/controls.go b/redo/controls.go
index 9752924..cc87486 100644
--- a/redo/controls.go
+++ b/redo/controls.go
@@ -51,3 +51,17 @@ type Checkbox interface {
func NewCheckbox(text string) Checkbox {
return newCheckbox(text)
}
+
+// LineEdit blah blah blah TODO write this
+// TODO change name
+type LineEdit interface {
+ Control
+
+ // TODO figure out what events are appropriate
+
+ // Text and SetText are Requests that get and set the Checkbox's label text.
+ Text() string
+ SetText(text string)
+}
+
+// TODO NewLineEdit, NewPasswordEdit, ...