We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99246f6 + 5860bff commit d02c68dCopy full SHA for d02c68d
lib/bindings/window/window.go
@@ -200,6 +200,17 @@ func (w *Window) Show() {
200
w.CallWhenReady(&command)
201
}
202
203
+func (w *Window) SetTitle(title string) {
204
+ command := Command{
205
+ Method: "set_title",
206
+ Args: CommandArguments{
207
+ Title: title,
208
+ },
209
+ }
210
+
211
+ w.CallWhenDisplayed(&command)
212
+}
213
214
func (w *Window) Maximize() {
215
command := Command{
216
Method: "maximize",
0 commit comments