diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-25 12:45:56 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-25 12:45:56 -0400 |
| commit | d515bd74c68dfef84fface6d61a6ea9264d4e70e (patch) | |
| tree | 8720ebddae600a7b8053abafc3315f258a7bcdcb /redo/controls_windows.go | |
| parent | 5e9b60a79539a2723e5f3459feba3688ef854047 (diff) | |
Added the framework for tabs, added necessary assistant routines for tabs, and implemented those assistant routines on the Windows backend.
Diffstat (limited to 'redo/controls_windows.go')
| -rw-r--r-- | redo/controls_windows.go | 8 |
1 files changed, 8 insertions, 0 deletions
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 { |
