|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| std::function<void()> MayaFlux::Portal::Forma::SurfaceConfig::on_close |
Runs in addition to, never instead of, the built-in close handling.
Setting this forces should_detach_on_close() true regardless of detach_on_close, so supplying a hook can never silently lose the window-release cleanup.
Context::on_close is a single slot per id, and the last write wins, so a bare replacement field here would silently clobber Surface's own close handler on first use. This field exists so that cannot happen.
Definition at line 64 of file Surface.hpp.
Referenced by should_detach_on_close(), and MayaFlux::Portal::Forma::Surface::Surface().