mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
internal/wm: [wasm] add Title support
Signed-off-by: Inkeliz <inkeliz@inkeliz.com>
This commit is contained in:
@@ -510,6 +510,9 @@ func (w *window) WriteClipboard(s string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (w *window) Option(opts *Options) {
|
func (w *window) Option(opts *Options) {
|
||||||
|
if o := opts.Title; o != nil {
|
||||||
|
w.document.Set("title", *o)
|
||||||
|
}
|
||||||
if o := opts.WindowMode; o != nil {
|
if o := opts.WindowMode; o != nil {
|
||||||
w.windowMode(*o)
|
w.windowMode(*o)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user