Gives you a chance to modify the window as it is constructed. Intended
to let you add custom menu options.
importarsd.terminal;
integratedTerminalEmulatorConfiguration.menuExtensionsConstructor = (TerminalEmulatorWindowwindow) {
importarsd.minigui; // for the menu related UDAsclassCommands {
@menu("Help") {
voidTopics() {
autowindow = newWindow(); // make a help window of some sortwindow.show();
}
@separatorvoidAbout() {
messageBox("My Application v 1.0");
}
}
}
window.setMenuAndToolbarFromAnnotatedCode(newCommands());
};
Gives you a chance to modify the window as it is constructed. Intended to let you add custom menu options.