From 5e9b60a79539a2723e5f3459feba3688ef854047 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 24 Jul 2014 17:24:25 -0400 Subject: [PATCH] Re-added LineEdit interface. Honestly I'm not too thrilled with how the unparent/reparent system is turning out; removing it failed, however... --- redo/controls.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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, ...