Expand description
Commands with special meaning, defined by Druid.
See Command
for more info.
Constants
- Close all windows.
- The selector for a command to close a window.
- Apply the configuration payload to an existing window. The target should be a WindowId.
- Copy the current selection.
- Cut the current selection.
- HIDE_APPLICATIONDeprecatedHide the application. (mac only)
- HIDE_OTHERSDeprecatedHide all other applications. (mac only)
- The selector for a command to hide a specific window
- Show the new file dialog.
- Open a path, must be handled by the application.
- Open a set of paths, must be handled by the application.
- Sent when the user cancels an open file panel.
- Paste.
- Show the print dialog.
- Show the print preview.
- Show the print-setup window.
- Quit the running application. This command is handled by the Druid library.
- Redo.
- Save the current path.
- Save to a given location.
- Sent when the user cancels a save file panel.
- Informs this widget that a child wants a specific region to be shown. The payload is the requested region in global coordinates.
- Select all.
- Show the application’s “about” window.
- Show all applications.
- When submitted by the application, a file picker dialog will be shown to the user, and an
OPEN_FILE
command will be sent if a path is chosen. - Show the application preferences.
- When submitted by the application, the system will show the ‘save as’ panel, and if a path is selected the system will issue a
SAVE_FILE
command with the selected path as the payload. - The selector for a command to bring a window to the front, and give it focus.
- Undo.