Static zng::window::cmd::CLOSE_CMD

source ·
pub static CLOSE_CMD: Command
Expand description

Represents the window close action.

§Metadata

This command has the following default metadata:

metadatavalue
name "Close"
info "Close the window"
shortcut [shortcut!(ALT+F4), shortcut!(CTRL+'W')]
icon wgt_fn!(|_| ICONS.get(["window-close", "close"]))

Text metadata is localized.