diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-24 17:24:25 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-24 17:24:25 -0400 |
| commit | 5e9b60a79539a2723e5f3459feba3688ef854047 (patch) | |
| tree | 849c80f410567d6c3aed1ac3a926d4d3f4aea5ff /redo/controls.go | |
| parent | a2eb69cbf6887a3eee85c7d9e10d13672e4cdb76 (diff) | |
Re-added LineEdit interface. Honestly I'm not too thrilled with how the unparent/reparent system is turning out; removing it failed, however...
Diffstat (limited to 'redo/controls.go')
| -rw-r--r-- | redo/controls.go | 14 |
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, ... |
