Editor.Window
Methods
Editor.Window.open (name, url, options)
name
stringurl
stringoptions
object
Open a newEditor.Window
withoptions
and loadurl
.
Editor.Window.focus ()
Focus on current window.
Editor.Window.load (url, argv)
url
stringargv
object
Loadurl
in current window.
Editor.Window.resize (w, h, useContentSize)
w
numberh
numberuseContentSize
boolean
Resize current window.
Editor.Window.resizeSync (w, h, useContentSize)
w
numberh
numberuseContentSize
boolean
Resize current window synchronously.
Editor.Window.center ()
Center the window.
IPC Messages
Message: 'editor:window-inspect'
Turn on the inspect element mode.