tbx  0.7.6
Public Member Functions | List of all members
tbx::CloseWindowListener Class Referenceabstract

Listener for the close window request message. More...

#include <closewindowlistener.h>

Inheritance diagram for tbx::CloseWindowListener:
tbx::Listener tbx::doc::DocWindow

Public Member Functions

virtual void close_window (const EventInfo &ev)=0
 Called when the close window request event is received by the window. More...
 
- Public Member Functions inherited from tbx::Listener
virtual ~Listener ()
 Destroy the listener object.
 

Additional Inherited Members

- Protected Member Functions inherited from tbx::Listener
 Listener ()
 Construct the Listener object.
 

Detailed Description

Listener for the close window request message.

This message is received if the auto close option is not set in a window.

If it is OK to close the handle then window.hide() should be called to actually close it.

Member Function Documentation

◆ close_window()

virtual void tbx::CloseWindowListener::close_window ( const EventInfo ev)
pure virtual

Called when the close window request event is received by the window.

Call window.hide() to actually close the window if that is required.

Implemented in tbx::doc::DocWindow.


The documentation for this class was generated from the following file: