|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API Vruta::Event MayaFlux::Kriya::window_closed | ( | std::shared_ptr< Core::Window > | window, |
| std::function< void()> | callback | ||
| ) |
Creates an Event coroutine that triggers on window close.
| window | Window to listen to. |
| callback | Called when the window is closed. |
Definition at line 267 of file InputEvents.cpp.
References callback, MayaFlux::Vruta::WindowEventFilter::event_type, window, and MayaFlux::Core::WINDOW_CLOSED.
Referenced by MayaFlux::Portal::Forma::Context::register_handlers().
Here is the caller graph for this function: