Weak UI-affine command observation; destruction never unregisters the command.
More...
#include <key_binding.hpp>
|
|
class | ManagedScene |
|
class | ui::KeyBindingRef |
Weak UI-affine command observation; destruction never unregisters the command.
◆ id()
- Returns
- Immutable identity without reading the scene.
◆ rebind()
- Parameters
-
| selection | Owning checked alternatives/phases. |
- Returns
- Atomic rebind or exact typed failure.
◆ remove()
| std::expected< void, ManagedError > portals::KeyBinding::remove |
( |
| ) |
const |
- Returns
- Success once; subsequent mutations return STALE_NODE.
◆ setEnabled()
| std::expected< void, ManagedError > portals::KeyBinding::setEnabled |
( |
bool | value | ) |
const |
- Parameters
-
| value | New admission state. |
- Returns
- Pure checked result; equal state is a no-op.
◆ setText()
- Parameters
-
| label | Required label. |
| description | Optional explanation. |
| resolver | Local resource resolver. |
- Returns
- Atomic normalized text publication; active prefix is preserved.
◆ setVisible()
| std::expected< void, ManagedError > portals::KeyBinding::setVisible |
( |
bool | value | ) |
const |
- Parameters
-
| value | Visibility and admission state. |
- Returns
- Pure checked result.
◆ unbind()
| std::expected< void, ManagedError > portals::KeyBinding::unbind |
( |
| ) |
const |
- Returns
- Success after clearing alternatives, keeping identity and explanation.
The documentation for this class was generated from the following file: