TITLE: set the window title

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2022-10-17 19:57:16 -05:00
parent dbbffdffa3
commit 25a6d6a346
1 changed files with 4 additions and 0 deletions

View File

@ -54,5 +54,9 @@ func (n *Node) SetText(value string) error {
n.uiButton.SetText(value) n.uiButton.SetText(value)
return nil return nil
} }
if (n.uiWindow != nil) {
n.uiWindow.SetTitle(value)
return nil
}
return nil return nil
} }