tbx  0.7.6
Public Member Functions | List of all members
tbx::doc::DocIconbar Class Reference

Class to tie clicks and icon bar load events to document creation. More...

#include <dociconbar.h>

Inheritance diagram for tbx::doc::DocIconbar:
tbx::AutoCreateListener

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...
 

Detailed Description

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"

Constructor & Destructor Documentation

◆ DocIconbar()

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.

Member Function Documentation

◆ auto_created()

void tbx::doc::DocIconbar::auto_created ( std::string  template_name,
tbx::Object  object 
)
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.


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