Skip to main content

CONTEXT_FOCUSED_PANEL_KIND

Constant CONTEXT_FOCUSED_PANEL_KIND 

Source
pub const CONTEXT_FOCUSED_PANEL_KIND: &str = "focusedPanelKind";
Expand description

The context key holding the kind of the focused panel (PanelId::kind): the panel’s own id, or app.gallery while its instance app.gallery#2 has the focus, so one clause reaches every instance: when: "focusedPanelKind == 'app.gallery'".

Need (action): keys that work in every instance of a panel.