Structs§
- Window
Command Gating Handle - Handle identifying a pushed, overlay-scoped gating override.
- Window
Command Gating Service - Window
Command Gating Snapshot - This is a consumption-focused seam intended for runner/platform and UI-kit layers: menus, command palette, shortcut help, etc.
Functions§
- best_
effort_ snapshot_ for_ window - Best-effort: returns a
WindowCommandGatingSnapshotfrom a previously published override if present (WindowCommandGatingService), otherwise falls back tosnapshot_for_window. - best_
effort_ snapshot_ for_ window_ with_ input_ ctx_ fallback - Best-effort: returns a
WindowCommandGatingSnapshotfrom a previously published override if present (WindowCommandGatingService), otherwise falls back tosnapshot_for_window_with_input_ctx_fallback. - command_
is_ enabled_ for_ window_ with_ input_ ctx_ fallback - Returns whether
commandis enabled according to the best-effort window gating snapshot. - snapshot_
for_ window - snapshot_
for_ window_ with_ input_ ctx_ fallback