summaryrefslogtreecommitdiff
path: root/grid.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-07 19:28:25 -0500
committerPietro Gagliardi <[email protected]>2014-03-07 19:28:25 -0500
commit9dc6e6f7b39e9a3615ce21e2e03f82315038a470 (patch)
treed5d1a8e6ecb94aace8db132c8a9738907f01c06e /grid.go
parent48fc6fbeabaa7242c8e69e7e6037faa296a6c44d (diff)
Pinned (or marked for later pinninig) behavior of various controls; also improved Space()'s documentation.
Diffstat (limited to 'grid.go')
-rw-r--r--grid.go2
1 files changed, 2 insertions, 0 deletions
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()