[go: up one dir, main page]

[][src]Module druid::command::sys

Commands with special meaning.

Constants

CLOSE_WINDOW

The selector for a command to close a window. The command's argument should be the id of the window to close.

COPY

Copy the current selection.

CUT

Cut the current selection.

HIDE_APPLICATION

Hide the application. (mac only?)

HIDE_OTHERS

Hide all other applications. (mac only?)

NEW_FILE

Show the new file dialog.

NEW_WINDOW

The selector for a command to create a new window.

OPEN_FILE

System command. A file picker dialog will be shown to the user, and an Open Event will be sent if a file is chosen.

PASTE

Paste.

PRINT

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 file.

SAVE_FILE_AS

Show the 'save as' dialog.

SET_MENU

The selector for a command to set the window's menu. The argument should be a MenuDesc object.

SHOW_ABOUT

Show the application about window.

SHOW_ALL

Show all applications.

SHOW_CONTEXT_MENU

Display a context (right-click) menu. The argument should be a...

SHOW_PREFERENCES

Show the application preferences.

UNDO

Undo.