tbx
0.7.3
|
Class to tie clicks and icon bar load events to document creation. More...
#include <dociconbar.h>
Public Member Functions | |
DocIconbar () | |
Constructor. More... | |
virtual void | auto_created (std::string template_name, tbx::Object object) |
Iconbar has been created so attach listeners for loading and creating new documents. More... | |
Class to tie clicks and icon bar load events to document creation.
It also catches user event id 0x4FFF to quit the application
It requires an Iconbar resource called "Iconbar"
tbx::doc::DocIconbar::DocIconbar | ( | ) |
Constructor.
Automatically creates a listener to detect when the iconbar resource "Iconbar" is created so it can then attach the listeners it needs.
|
virtual |
Iconbar has been created so attach listeners for loading and creating new documents.
It also removes the auto create listener as it is no longer needed.
Implements tbx::AutoCreateListener.