From 5ebd89984ac63c30a68a325a430038979badc3a0 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 15 Jul 2014 20:48:16 -0400 Subject: Added parenting/unparenting of controls to the GTK+ backend and the test program. --- redo/controls.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'redo/controls.go') 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) -- cgit v1.2.3