summaryrefslogtreecommitdiff
path: root/basicWindow.go
diff options
context:
space:
mode:
Diffstat (limited to 'basicWindow.go')
-rw-r--r--basicWindow.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/basicWindow.go b/basicWindow.go
index b7c63c6..855e7b3 100644
--- a/basicWindow.go
+++ b/basicWindow.go
@@ -74,7 +74,12 @@ func (w *BasicWindow) Toggle() {
return
}
-func (w *BasicWindow) Title(title string) {
+func (w *BasicWindow) SetTitle(title string) {
+ w.SetLabel(title)
+ return
+}
+
+func (w *BasicWindow) SetLabel(title string) {
if !w.Ready() {
return
}