diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-30 12:36:00 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-30 12:36:00 -0400 |
| commit | a8b7283a875cd6d0de905a5f69d05bd134eb02c9 (patch) | |
| tree | f4782553554c7e33309c30ad0cf863b444d2f3ee /redo/basicctrls.go | |
| parent | c0473db73c11927144f79bb69d01a290753b5de0 (diff) | |
Moved the definition of Control itself to control.go and updated some comments.
Diffstat (limited to 'redo/basicctrls.go')
| -rw-r--r-- | redo/basicctrls.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/redo/basicctrls.go b/redo/basicctrls.go index cda67db..c0cb0d5 100644 --- a/redo/basicctrls.go +++ b/redo/basicctrls.go @@ -2,17 +2,6 @@ package ui -// Control represents a control. -// All Controls have event handlers that take a single argument (the Doer active during the event) and return nothing. -type Control interface { - setParent(p *controlParent) // controlParent defined per-platform - // TODO enable/disable (public) - // TODO show/hide (public) - containerShow() // for Windows, where all controls need ot belong to an overlapped window, not to a container control; these respect programmer settings - containerHide() - controlSizing -} - // Button is a clickable button that performs some task. type Button interface { Control |
