MCPcopy Create free account
hub / github.com/cogentcore/core / NewWindow

Method NewWindow

system/app.go:104–104  ·  view source on GitHub ↗

NewWindow returns a new Window for this screen. A nil opts is valid and means to use the default option values.

(opts *NewWindowOptions)

Source from the content-addressed store, hash-verified

102 // NewWindow returns a new Window for this screen. A nil opts is valid and
103 // means to use the default option values.
104 NewWindow(opts *NewWindowOptions) (Window, error)
105
106 // RemoveWindow removes the given Window from the app's list of windows.
107 // It does not actually close it; see [Window.Close] for that.

Callers 6

SettingsWindowFunction · 0.65
newRenderWindowFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65
dialogsFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected