zng_ext_window::cmd

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