diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-07 19:28:25 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-07 19:28:25 -0500 |
| commit | 9dc6e6f7b39e9a3615ce21e2e03f82315038a470 (patch) | |
| tree | d5d1a8e6ecb94aace8db132c8a9738907f01c06e /grid.go | |
| parent | 48fc6fbeabaa7242c8e69e7e6037faa296a6c44d (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.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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() |
