diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-03 22:54:28 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-03 22:54:28 -0400 |
| commit | 59870e80f005cbd8f883c24200f81bde2fd63a7e (patch) | |
| tree | adefc2241f15aed9ad9ff5fc3678857973dc53a7 | |
| parent | d69c90401fc3cf15d2d0e0f177be0bdd2299daf8 (diff) | |
Quick changes: turned "Window has been opened" to "Window has been created" since I'm going to separate creating and opening (Open() will call Create()).
| -rw-r--r-- | button.go | 2 | ||||
| -rw-r--r-- | stack.go | 2 | ||||
| -rw-r--r-- | window.go | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -9,7 +9,7 @@ import ( // A Button represents a clickable button with some text. type Button struct { // Clicked gets a message when the button is clicked. - // You cannot change it once the Window containing the Button has been opened. + // You cannot change it once the Window containing the Button has been created. // If you do not respond to this signal, nothing will happen. Clicked chan struct{} @@ -48,7 +48,7 @@ func NewVerticalStack(controls ...Control) *Stack { return newStack(vertical, controls...) } -// SetStretchy marks a control in a Stack as stretchy. This cannot be called once the Window containing the Stack has been opened. +// SetStretchy marks a control in a Stack as stretchy. This cannot be called once the Window containing the Stack has been created. // It panics if index is out of range. func (s *Stack) SetStretchy(index int) { s.lock.Lock() @@ -10,7 +10,7 @@ import ( // Window represents an on-screen window. type Window struct { // Closing gets a message when the user clicks the window's close button. - // You cannot change it once the Window has been opened. + // You cannot change it once the Window has been created. // If you do not respond to this signal, nothing will happen; regardless of whether you handle the signal or not, the window will not be closed. Closing chan struct{} |
