Class mrptEventWindowClosed
Defined in File CBaseGUIWindow.h
Inheritance Relationships
Base Type
public mrpt::system::mrptEvent
Class Documentation
-
class mrptEventWindowClosed : public mrpt::system::mrptEvent
An event sent by a window upon when it’s about to be closed, either manually by the user or programmatically. The event field member allow_close is default by default, but can be set to false in the event callback to forbid the window to be closed by the user. If the event corresponds to a programmatic close, this field is ignored.
IMPORTANTE NOTICE: Event handlers in your observer class will be invoked from the wxWidgets internal MRPT thread, so all your code in the handler must be thread safe.
See also
Public Functions
-
inline mrptEventWindowClosed(CBaseGUIWindow *obj, bool _allow_close = true)
Protected Functions
-
inline virtual void do_nothing() override
Just to allow this class to be polymorphic
-
inline mrptEventWindowClosed(CBaseGUIWindow *obj, bool _allow_close = true)