diff --git a/button.go b/button.go index f3c5763..f0b9f30 100644 --- a/button.go +++ b/button.go @@ -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{} diff --git a/stack.go b/stack.go index 4bdede6..fc9d600 100644 --- a/stack.go +++ b/stack.go @@ -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() diff --git a/window.go b/window.go index b182f7c..58f0aca 100644 --- a/window.go +++ b/window.go @@ -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{}