In the previous recipe, we added the possibility of using any and all of the functions provided by Node. In this recipe, let's now focus on making our app more window-like, with icons, menus, and so on. We want the user to really believe that they're using a native app, with all the features that they would be accustomed to. The following list of interesting subjects from https://electronjs.org/docs/api is just a short list of highlights, but there are many more available options:
clipboard | To do copy and paste operations using the system's clipboard |
dialog | To show native system dialogs for messages, alerts, opening and saving files, and so on |
globalShortcut | To detect keyboard shortcuts |
Menu, MenuItem | To create a menu bar with menus and submenus |
Notification | To add desktop notifications |
powerMonitor, powerSaveBlocker... |