From 335480db7cd6ed97778ef8fef0710e4d68606457 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 26 Oct 2014 15:15:13 -0400 Subject: Reimplemented Control.containerShow()/Control.containerHide(). Will be needed to fully move Tab on Windows away from container. --- grid.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'grid.go') diff --git a/grid.go b/grid.go index 9e68e66..06951a8 100644 --- a/grid.go +++ b/grid.go @@ -178,6 +178,18 @@ func (g *grid) setParent(p *controlParent) { g.container.setParent(p) } +func (g *grid) containerShow() { + for _, c := range g.controls { + c.control.containerShow() + } +} + +func (g *grid) containerHide() { + for _, c := range g.controls { + c.control.containerHide() + } +} + // builds the topological cell grid; also makes colwidths and rowheights func (g *grid) mkgrid() (gg [][]int, colwidths []int, rowheights []int) { gg = make([][]int, g.ymax) -- cgit v1.2.3