Expand description
Commands with special meaning, defined by Druid.
See Command for more info.
Constants§
- CLOSE_
ALL_ WINDOWS - Close all windows.
- CLOSE_
WINDOW - The selector for a command to close a window.
- CONFIGURE_
WINDOW - Apply the configuration payload to an existing window. The target should be a WindowId.
- COPY
- Copy the current selection.
- CUT
- Cut the current selection.
- HIDE_
APPLICATION Deprecated - Hide the application. (mac only)
- HIDE_
OTHERS Deprecated - Hide all other applications. (mac only)
- HIDE_
WINDOW - The selector for a command to hide a specific window
- NEW_
FILE - Show the new file dialog.
- OPEN_
FILE - Open a path, must be handled by the application.
- OPEN_
FILES - Open a set of paths, must be handled by the application.
- OPEN_
PANEL_ CANCELLED - Sent when the user cancels an open file panel.
- PASTE
- Paste.
- Show the print dialog.
- PRINT_
PREVIEW - Show the print preview.
- PRINT_
SETUP - Show the print-setup window.
- QUIT_
APP - Quit the running application. This command is handled by the Druid library.
- REDO
- Redo.
- SAVE_
FILE - Save the current path.
- SAVE_
FILE_ AS - Save to a given location.
- SAVE_
PANEL_ CANCELLED - Sent when the user cancels a save file panel.
- SCROLL_
TO_ VIEW - Informs this widget that a child wants a specific region to be shown. The payload is the requested region in global coordinates.
- SELECT_
ALL - Select all.
- SHOW_
ABOUT - Show the application’s “about” window.
- SHOW_
ALL - Show all applications.
- SHOW_
OPEN_ PANEL - When submitted by the application, a file picker dialog will be shown to the user,
and an
OPEN_FILEcommand will be sent if a path is chosen. - SHOW_
PREFERENCES - Show the application preferences.
- SHOW_
SAVE_ PANEL - 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_FILEcommand with the selected path as the payload. - SHOW_
WINDOW - The selector for a command to bring a window to the front, and give it focus.
- UNDO
- Undo.