|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Copyable read-only source observing one caption, visible draft or accepted editor model. Construction and copying do not read, subscribe or retain the scene/widget. Operations are UI-affine; an unpublished source returns CLOSED, and removal preserves the original stale node identity. Caption factories can attach a live observation; snapshot() remains independent. No remount retargeting occurs. More...
#include <ui_ref.hpp>
Public Member Functions | |
| std::expected< GraphemeText, ManagedError > | snapshot () const |
Friends | |
| template<class T> | |
| class | Ref |
| class | portals::ManagedScene |
| struct | detail::Access |
| class | TextProperty |
Copyable read-only source observing one caption, visible draft or accepted editor model. Construction and copying do not read, subscribe or retain the scene/widget. Operations are UI-affine; an unpublished source returns CLOSED, and removal preserves the original stale node identity. Caption factories can attach a live observation; snapshot() remains independent. No remount retargeting occurs.
| std::expected< GraphemeText, ManagedError > portals::ui::TextSource::snapshot | ( | ) | const |