Main Window
The MainWindow class has the following methods:
The menuBar and toolBar items are visible in the application user interface if the menu type is set to Menu bar in the Settings window of the Main Window. The ribbon and fileMenu items are visible in the user interface if the menu type is set to Ribbon. It is possible to access and modify items that are not visible based on the menu type setting, but doing so will not have any visible effect in the user interface.
The MainWindow class has the following properties:
true | false
Example Code
// Do not show the filename in the application user interface window bar.
app.mainWindow().set("showfilename", false);
// Set dark application theme.
app.mainWindow().set("theme", "$dark");
// Set light image export theme.
app.mainWindow().set("imagetheme", "$light");