- Editor.Window
- Methods
- Editor.Window.open (name, url, options)
- Editor.Window.focus ()
- Editor.Window.load (url, argv)
- Editor.Window.resize (w, h, useContentSize)
- Editor.Window.resizeSync (w, h, useContentSize)
- Editor.Window.center ()
- IPC Messages
- Message: 'editor:window-inspect'
- Message: 'editor:window-inspect'
- Methods
Editor.Window
Methods
Editor.Window.open (name, url, options)
namestringurlstringoptionsobject
Open a newEditor.Windowwithoptionsand loadurl.
Editor.Window.focus ()
Focus on current window.
Editor.Window.load (url, argv)
urlstringargvobject
Loadurlin current window.
Editor.Window.resize (w, h, useContentSize)
wnumberhnumberuseContentSizeboolean
Resize current window.
Editor.Window.resizeSync (w, h, useContentSize)
wnumberhnumberuseContentSizeboolean
Resize current window synchronously.
Editor.Window.center ()
Center the window.
IPC Messages
Message: 'editor:window-inspect'
Turn on the inspect element mode.
