From 50074e543b93fda1a5e1fac7fb37859c18499ac3 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 21 Jan 2024 02:11:50 -0600 Subject: Title? what with the Ttile? Signed-off-by: Jeff Carr --- basicWindow.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.3