Module cmd

Module cmd 

Source
Expand description

Common commands.

Statics§

CAN_COPY_VAR
Defines if on_copy and on_pre_copy command handlers are enabled in a widget and descendants.
CAN_CUT_VAR
Defines if on_cut and on_pre_cut command handlers are enabled in a widget and descendants.
CAN_NEW_VAR
Defines if on_new and on_pre_new command handlers are enabled in a widget and descendants.
CAN_OPEN_VAR
Defines if on_open and on_pre_open command handlers are enabled in a widget and descendants.
CAN_PASTE_VAR
Defines if on_paste and on_pre_paste command handlers are enabled in a widget and descendants.
CAN_SAVE_AS_VAR
Defines if on_save_as and on_pre_save_as command handlers are enabled in a widget and descendants.
CAN_SAVE_VAR
Defines if on_save and on_pre_save command handlers are enabled in a widget and descendants.
CAN_SETTINGS_VAR
Defines if on_settings and on_pre_settings command handlers are enabled in a widget and descendants.
CONTEXT_MENU_CMD
Represents the context menu open action.
NEW_CMD
Represents the new action.
OPEN_CMD
Represents the open action.
SAVE_AS_CMD
Represents the save-as action.
SAVE_CMD
Represents the save action.
SETTINGS_CMD
Represents the open settings action.

Functions§

can_copy
P Defines if on_copy and on_pre_copy command handlers are enabled in the widget and descendants.
can_cut
P Defines if on_cut and on_pre_cut command handlers are enabled in the widget and descendants.
can_new
P Defines if on_new and on_pre_new command handlers are enabled in the widget and descendants.
can_open
P Defines if on_open and on_pre_open command handlers are enabled in the widget and descendants.
can_paste
P Defines if on_paste and on_pre_paste command handlers are enabled in the widget and descendants.
can_save
P Defines if on_save and on_pre_save command handlers are enabled in the widget and descendants.
can_save_as
P Defines if on_save_as and on_pre_save_as command handlers are enabled in the widget and descendants.
can_settings
P Defines if on_settings and on_pre_settings command handlers are enabled in the widget and descendants.
on_copy
P On copy command.
on_cut
P On cut command.
on_new
P On new command.
on_open
P On open command.
on_paste
P On paste command.
on_pre_copy
P On copy command.
on_pre_cut
P On cut command.
on_pre_new
P On new command.
on_pre_open
P On open command.
on_pre_paste
P On paste command.
on_pre_save
P On save command.
on_pre_save_as
P On save-as command.
on_pre_settings
P On settings command.
on_save
P On save command.
on_save_as
P On save-as command.
on_settings
P On settings command.