diff options
| author | Jeff Carr <[email protected]> | 2024-01-21 02:11:50 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-21 02:11:50 -0600 |
| commit | 50074e543b93fda1a5e1fac7fb37859c18499ac3 (patch) | |
| tree | f4c4fdd309ea06cd2e20ad3b80e8f72a8052e818 /basicWindow.go | |
| parent | 57843518b20cbf544a96b885b619e83529602597 (diff) | |
Title? what with the Ttile?v0.12.15
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'basicWindow.go')
| -rw-r--r-- | basicWindow.go | 7 |
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 } |
