Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ui::detail::ChangeAccess Struct Reference

Checked registration bridge to the checkbox's sole managed binding. More...

#include <ui_event_access.hpp>

Static Public Member Functions

template<class T, class Callback>
static std::expected< void, ManagedError > attach (ManagedScene &scene, const Ref< T > &reference, Callback callback, std::source_location origin)

Detailed Description

Checked registration bridge to the checkbox's sole managed binding.

Member Function Documentation

◆ attach()

template<class T, class Callback>
std::expected< void, ManagedError > portals::ui::detail::ChangeAccess::attach ( ManagedScene & scene,
const Ref< T > & reference,
Callback callback,
std::source_location origin )
inlinestatic
Template Parameters
TCheckbox view type.
CallbackOwning value or receipt action.
Parameters
sceneExisting receiving owner.
referenceObserving checkbox identity.
callbackAction transferred after affinity admission.
originOriginal registration site.
Returns
Exact checked liveness, affinity, backing-model or registration failure.

The documentation for this struct was generated from the following file: