summaryrefslogtreecommitdiff
path: root/redo/controls.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-15 20:48:16 -0400
committerPietro Gagliardi <[email protected]>2014-07-15 20:48:16 -0400
commit5ebd89984ac63c30a68a325a430038979badc3a0 (patch)
tree7493574d046fb9a048edf610e6d60fafae58e8df /redo/controls.go
parent474436e9f6e84f26edd08bfcff16d62a3cd40175 (diff)
Added parenting/unparenting of controls to the GTK+ backend and the test program.
Diffstat (limited to 'redo/controls.go')
-rw-r--r--redo/controls.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/redo/controls.go b/redo/controls.go
index b40256a..0500ac6 100644
--- a/redo/controls.go
+++ b/redo/controls.go
@@ -5,7 +5,8 @@ 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 {
- // TODO reparent (public)
+ unparent()
+ parent(*window)
// TODO enable/disable (public)
// TODO show/hide (public)
// TODO sizing (likely private)