summaryrefslogtreecommitdiff
path: root/grid.go
diff options
context:
space:
mode:
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()