From d515bd74c68dfef84fface6d61a6ea9264d4e70e Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 25 Jul 2014 12:45:56 -0400 Subject: Added the framework for tabs, added necessary assistant routines for tabs, and implemented those assistant routines on the Windows backend. --- redo/controls_windows.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'redo/controls_windows.go') diff --git a/redo/controls_windows.go b/redo/controls_windows.go index 8c77140..c517074 100644 --- a/redo/controls_windows.go +++ b/redo/controls_windows.go @@ -30,6 +30,14 @@ func (w *widgetbase) parent(win *window) { // TODO new control does not show up until window is resized } +func (w *widgetbase) containerShow() { + C.ShowWindow(w.hwnd, C.SW_SHOW) +} + +func (w *widgetbase) containerHide() { + C.ShowWindow(w.hwnd, C.SW_HIDE) +} + // don't embed these as exported; let each Control decide if it should func (w *widgetbase) text() string { -- cgit v1.2.3