tbx
0.7.6
|
Show the File information dialog box and automatically fill it in from the document in it's ancestor window. More...
#include <docfileinfo.h>
Public Member Functions | |
DocFileInfo () | |
Constructor registers this to detect when resource "FileInfo" is created. | |
virtual void | auto_created (std::string template_name, tbx::Object object) |
FileInfo has been created so attach listeners for showing information on the current document. More... | |
virtual void | about_to_be_shown (tbx::AboutToBeShownEvent &event) |
Interrogate document for parameters for file info dialogue. | |
![]() | |
virtual | ~Listener () |
Destroy the listener object. | |
Additional Inherited Members | |
![]() | |
Listener () | |
Construct the Listener object. | |
Show the File information dialog box and automatically fill it in from the document in it's ancestor window.
Requires a resource called "FileInfo" which is shared and has generate event before showing set.
|
virtual |
FileInfo has been created so attach listeners for showing information on the current document.
As the file info object is shared, this routine can be called multiple times. However the old object would have been deleted before this happens which automatically removes the old listeners.
Implements tbx::AutoCreateListener.