From 9dc6e6f7b39e9a3615ce21e2e03f82315038a470 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 7 Mar 2014 19:28:25 -0500 Subject: Pinned (or marked for later pinninig) behavior of various controls; also improved Space()'s documentation. --- grid.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'grid.go') diff --git a/grid.go b/grid.go index b6f7e84..d960e92 100644 --- a/grid.go +++ b/grid.go @@ -68,6 +68,7 @@ func NewGrid(nPerRow int, controls ...Control) *Grid { // SetFilling sets the given Control of the Grid as filling its cell instead of staying at its preferred size. // This function cannot be called after the Window that contains the Grid has been created. +// (TODO action if coorindate invalid) func (g *Grid) SetFilling(row int, column int) { g.lock.Lock() defer g.lock.Unlock() @@ -81,6 +82,7 @@ func (g *Grid) SetFilling(row int, column int) { // SetStretchy sets the given Control of the Grid as stretchy. // Stretchy implies filling. // This function cannot be called after the Window that contains the Grid has been created. +// (TODO action if coorindate invalid) func (g *Grid) SetStretchy(row int, column int) { g.lock.Lock() defer g.lock.Unlock() -- cgit v1.2.3