Skip to main content

Module window_command_gating

Module window_command_gating 

Source

Structs§

WindowCommandGatingHandle
Handle identifying a pushed, overlay-scoped gating override.
WindowCommandGatingService
WindowCommandGatingSnapshot
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 WindowCommandGatingSnapshot from a previously published override if present (WindowCommandGatingService), otherwise falls back to snapshot_for_window.
best_effort_snapshot_for_window_with_input_ctx_fallback
Best-effort: returns a WindowCommandGatingSnapshot from a previously published override if present (WindowCommandGatingService), otherwise falls back to snapshot_for_window_with_input_ctx_fallback.
command_is_enabled_for_window_with_input_ctx_fallback
Returns whether command is enabled according to the best-effort window gating snapshot.
snapshot_for_window
snapshot_for_window_with_input_ctx_fallback