Static zng_wgt_input::cmd::OPEN_CMD

source ·
pub static OPEN_CMD: Command
Expand description

Represents the open action.

The command parameter can be an item path to open (like a PathBuf), otherwise the command implementer must identify the item, either by context or by prompting the user.

§Metadata

This command has the following default metadata:

metadatavalue
name "Open…"
shortcut [shortcut!(CTRL+'O'), shortcut!(Open)]
icon wgt_fn!(|_| ICONS.get("file-open"))

Text metadata is localized.