OptionalcolorOptionallayoutThe first layout. Default: titlebar.
OptionalonCalled with the layout picked in the layout menu. When it is set, the menu also has classic (no frame), and the
caller changes the layout (TweakpaneEditorPlugin.layout does this). Else the menu has the frame layouts, and a
pick calls EditorFrame.setLayout.
OptionalonCalled with a new name typed in the bars. When it is set, a click on the name edits it: Enter or a click outside
keeps it, Escape goes back. The caller sets EditorFrame.documentName (TweakpaneEditorPlugin does this,
and sends documentNameChange).
OptionalpanelReturns the panel: the mode bar hides and shows it, and the frame opens its root folder when it is folded.
TweakpaneEditorPlugin passes the container of the Tweakpane UI. Without it, the mode bar hides no panel.
OptionalthemeTheme pairs for EditorFrame.toggleTheme (light, dark)
OptionaltitleThe app name in the title bar
OptionalviewerThe viewer: the keys of the frame are registered in its viewer.actions (EditorFrame.actions). Without a
viewer, the frame has its own ViewerActions for them. TweakpaneEditorPlugin passes its viewer.
Reads and sets the Tweakpane color mode, for the light or dark toggle (
TweakpaneUiPlugin.colorMode)