Expand description
The system-gesture / interactive-dismiss / status-bar shield (docs/cover.md): the registries
behind the defers_system_gestures, interactive_dismiss_disabled and status_bar_hidden
modifiers. Each mounted modifier pushes an entry while its subtree is alive; the union of
entries is the app’s current request.
Gesture deferral and the status bar flow straight to the backend
(Toolkit::defer_system_gestures, Toolkit::set_status_bar_hidden) on every change. Dismiss-disabled is a query: the cover piece reads it (reactively, via the
change day_reactive::Trigger) when deciding whether a native back may close it and when patching the
presented surface’s isModalInPresentation-style flag.
Functions§
- deferred_
edges - The union of every live deferral request (
Edges::NONEwhen there are none). Untracked. - dismiss_
disabled - Whether any live subtree asked to disable interactive dismissal. Reads track the change counter, so a binding re-runs as modifiers mount and unmount.
- pop_
dismiss_ disabled - pop_
gesture_ deferral - pop_
status_ bar_ request - push_
dismiss_ disabled - Register an interactive-dismiss-disabled request (an
interactive_dismiss_disabledsubtree mounted). Pair withpop_dismiss_disabledon unmount. - push_
gesture_ deferral - Register an edge-deferral request (a
defers_system_gesturessubtree mounted). The backend receives the new union immediately. Pair withpop_gesture_deferralon unmount. - push_
status_ bar_ request - Register a status-bar request (a
status_bar_hiddensubtree mounted) with its current answer. The backend receives the new union immediately. Update it withset_status_bar_requestand pair it withpop_status_bar_requeston unmount. - set_
status_ bar_ request - Change a live status-bar request’s answer (its reactive source changed).
- status_
bar_ hidden - Whether any live subtree asks for the status bar hidden. Untracked.