Callbacks for window events. More...
#include <gui_tk.h>
Public Member Functions | |
virtual bool | windowClosing (ToplevelWindow *win)=0 |
The window has been asked to be closed. | |
virtual void | windowClosed (ToplevelWindow *win)=0 |
The window will been closed. |
virtual void GUI::ToplevelWindow_Callback::windowClosed | ( | ToplevelWindow * | win | ) | [pure virtual] |
The window will been closed.
Now it is safe to deallocate all external resources that applications may have associated with this window, like registering this window with external callbacks.
Implemented in GUI::TransientWindow.
Referenced by GUI::ToplevelWindow::~ToplevelWindow().
virtual bool GUI::ToplevelWindow_Callback::windowClosing | ( | ToplevelWindow * | win | ) | [pure virtual] |
The window has been asked to be closed.
Return false
in order to block the requested action. Do not do any deallocation here, as other callbacks may abort the close process.
Implemented in GUI::TransientWindow.
Referenced by GUI::ToplevelWindow::close().