From 59870e80f005cbd8f883c24200f81bde2fd63a7e Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 3 Jun 2014 22:54:28 -0400 Subject: 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()). --- button.go | 2 +- stack.go | 2 +- window.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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{} -- cgit v1.2.3