mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 09:25:38 +00:00
app: update NewWindow docs to reflect multi-window support
Fixes gio#19 Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+2
-1
@@ -78,7 +78,8 @@ var ackEvent event.Event
|
|||||||
// NewWindow returns the window previously created by the
|
// NewWindow returns the window previously created by the
|
||||||
// platform.
|
// platform.
|
||||||
//
|
//
|
||||||
// BUG: Calling NewWindow more than once is not yet supported.
|
// Calling NewWindow more than once is not supported on
|
||||||
|
// iOS, Android, WebAssembly.
|
||||||
func NewWindow(options ...Option) *Window {
|
func NewWindow(options ...Option) *Window {
|
||||||
opts := &window.Options{
|
opts := &window.Options{
|
||||||
Width: unit.Dp(800),
|
Width: unit.Dp(800),
|
||||||
|
|||||||
Reference in New Issue
Block a user