Static zng_wgt_input::cmd::SAVE_CMD

source ·
pub static SAVE_CMD: Command
Expand description

Represents the save action.

Usually this saves to the already defined item path (open or previous save path), otherwise the user is prompted like SAVE_AS_CMD.

§Metadata

This command has the following default metadata:

metadatavalue
name "Save"
shortcut [shortcut!(CTRL+'S'), shortcut!(Save)]
icon wgt_fn!(|_| ICONS.get("save"))

Text metadata is localized.