Skip to main content

in_overlay

Function in_overlay 

Source
pub fn in_overlay(id: CommandId) -> bool
Expand description

Whether the selection overlay draws a control for id.

Membership is the registry’s, not a drawing’s: a shell that has no artwork for a verb still has to know the verb belongs on the bar, or two front ends would offer two different bars over one selection. The selection’s export offers its leading format only — the rest are reached through that control’s own menu.