summaryrefslogtreecommitdiff
path: root/redo/controls_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/controls_windows.go')
-rw-r--r--redo/controls_windows.go8
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 {