Window controller base class. More...
Public Member Functions
|virtual quit_response_t||WindowCloseRequested (Window_t *window, bool app_quit_requested)=0|
|void||DeferredCloseDenied (Window_t *window_which_was_not_closed)|
Non-core library: UTgui
Window controller base class. This can be the controller for more than one window. Any number of message receivers can be added by an application-defined subclass. The only mandatory role for this class is to handle window close requests.
|virtual quit_response_t WindowController_t::WindowCloseRequested||(||Window_t *||window,|
Handles a request to close the window. If this function returns eQUIT_allowed, the window must already have been closed. If this function returns eQUIT_deferred, it must later call either DeferredCloseDenied or delete the window.
|void WindowController_t::DeferredCloseDenied||(||Window_t *||window_which_was_not_closed||)|
Indicates that a deferred close request has been resolved, and the window will not be closed. If a close all windows operation is in progress but stalled due to the deferral, it will be cancelled. This includes application quit requests.