wxArt2D
Macros | Typedefs | Variables
handlers for event types in static event tables
Collaboration diagram for handlers for event types in static event tables:

Macros

#define EVT_PROPOBJECT_EDITPROPERTIES_EVENT(func)   DECLARE_EVENT_TABLE_ENTRY( a2dEVT_PROPOBJECT_EDITPROPERTIES_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dPropertyEditEventFunctionEvt > ( & func ), (wxObject *) NULL ),
 static event table macro for NON a2dCanvasObject when editing properties for wxEvtHandler
 
#define EVT_DO(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_DO, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent from a2DocumentCommandProcessor when a command is initially done
 
#define EVT_UNDO(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_UNDO, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent from a2DocumentCommandProcessor when a command is undone
 
#define EVT_REDO(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_REDO, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent from a2DocumentCommandProcessor when a command is redone
 
#define EVT_MENUSTRINGS(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_MENUSTRINGS, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent to a2dCommandProcessorEvents to adjust menu strings (e.g. for current undo/redo command)
 
#define EVT_MODIFIES(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_MODIFIES, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent to a2dCommandProcessorEvents to set modified flag of a document or drawing flag.
 
#define EVT_BEGINBUSY(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_BEGINBUSY, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent from a2DocumentCommandProcessor when a command submit/execute is starting
 
#define EVT_ENDBUSY(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_ENDBUSY, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent from a2DocumentCommandProcessor when a command submit/execute is ending
 
#define EVT_COM_EVENT(func)   wx__DECLARE_EVT0( a2dEVT_COM_EVENT, a2dComEventHandler( func ))
 static wxEvtHandler for communication event
 
#define EVT_COM_EVENT_ID(id, func)   wx__DECLARE_EVT1( a2dEVT_COM_EVENT, id, a2dComEventHandler( func ))
 static wxEvtHandler for communication event with specific id.
 
#define EVT_ADD_DOCUMENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_ADD_DOCUMENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxDocCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent to a2dDocumentCommandProcessor when a document has been added to the a2dDocumentCommandProcessor
 
#define EVT_REMOVE_DOCUMENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_REMOVE_DOCUMENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxDocCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent to a2dDocumentCommandProcessor when a document will be removed from the a2dDocumentCommandProcessor
 
#define EVT_CHANGED_DOCUMENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CHANGED_DOCUMENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxDocCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent to a2dDocumentCommandProcessor when the current document has changed in the a2dDocumentCommandProcessor
 
#define EVT_CANNOT_OPEN_DOCUMENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANNOT_OPEN_DOCUMENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxDocCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent when a file could not be opened in the a2dDocumentCommandProcessor
 
#define EVT_RECORD(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_RECORD, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxDocCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent to a2dDocumentCommandProcessor when a document has been added to the a2dDocumentCommandProcessor
 
#define a2dDocumentCloseEventHandler(func)   (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(a2dDocumentCloseEventFunction, &func)
 
#define a2dDocumentEventHandler(func)   (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(a2dDocumentEventFunction, &func)
 
#define a2dViewCloseEventHandler(func)   (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(a2dViewCloseEventFunction, &func)
 
#define a2dViewEventHandler(func)   (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(a2dViewEventFunction, &func)
 
#define a2dTemplateEventHandler(func)   (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(a2dTemplateEventFunction, &func)
 
#define EVT_DISCONNECT_ALLVIEWS(func)   wx__DECLARE_EVT0( wxEVT_DISCONNECT_ALLVIEWS, a2dDocumentEventHandler( func ))
 event for document before all view are closed.
 
#define EVT_CLOSE_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_CLOSE_DOCUMENT, a2dDocumentCloseEventHandler( func ))
 event for document before a document will be closed ( can veto)
 
#define EVT_OPEN_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_OPEN_DOCUMENT, a2dDocumentEventHandler( func ))
 event for document when a document has been opened
 
#define EVT_NEW_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_NEW_DOCUMENT, a2dDocumentEventHandler( func ))
 event for document when a document new document was created
 
#define EVT_CREATE_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_CREATE_DOCUMENT, a2dDocumentEventHandler( func ))
 event sent to document from template when a document has been created
 
#define EVT_SAVE_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_SAVE_DOCUMENT, a2dDocumentEventHandler( func ))
 event sent to document when a document needs to be saved
 
#define EVT_SAVEAS_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_SAVEAS_DOCUMENT, a2dDocumentEventHandler( func ))
 event sent to document when a document needs to be saved in a different file
 
#define EVT_SAVE_MODIFIED_DIALOG_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_SAVE_MODIFIED_DIALOG_DOCUMENT, a2dDocumentEventHandler( func ))
 event sent to document when a document is modified and the user may save or not
 
#define EVT_EXPORT_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_EXPORT_DOCUMENT, a2dDocumentEventHandler( func ))
 event for document when a document will be exported
 
#define EVT_IMPORT_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_IMPORT_DOCUMENT, a2dDocumentEventHandler( func ))
 event for document when a document will be imported
 
#define EVT_UPDATE_VIEWS(func)   wx__DECLARE_EVT0( wxEVT_UPDATE_VIEWS, a2dDocumentEventHandler( func ))
 event from a document when its views need to be updated
 
#define EVT_ENABLE_VIEWS(func)   wx__DECLARE_EVT0( wxEVT_ENABLE_VIEWS, a2dDocumentEventHandler( func ))
 event from a document when its views need to be enabled or disabled
 
#define EVT_REPORT_VIEWS(func)   wx__DECLARE_EVT0( wxEVT_REPORT_VIEWS, a2dDocumentEventHandler( func ))
 event from a document when its views need to reported
 
#define EVT_CHANGEDFILENAME_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_CHANGEDFILENAME_DOCUMENT, a2dDocumentEventHandler( func ))
 event sent to view when the filename of a document has changed.
 
#define EVT_CHANGEDTITLE_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_CHANGEDTITLE_DOCUMENT, a2dDocumentEventHandler( func ))
 event sent to view when the title of a document has changed.
 
#define EVT_CHANGEDMODIFY_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_CHANGEDMODIFY_DOCUMENT, a2dDocumentEventHandler( func ))
 event send from a document when modified status changed.
 
#define EVT_POST_LOAD_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_POST_LOAD_DOCUMENT, a2dDocumentEventHandler( func ))
 event send from a document just after a document was loaded from a file
 
#define EVT_CLOSE_VIEW(func)   wx__DECLARE_EVT0( wxEVT_CLOSE_VIEW, a2dViewCloseEventHandler( func))
 event sent to document and view when a view needs to be closed ( can veto)
 
#define EVT_CREATE_VIEW(func)   wx__DECLARE_EVT0( wxEVT_CREATE_VIEW, a2dViewEventHandler( func ))
 event sent to view from template when a view has been created
 
#define EVT_SET_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_SET_DOCUMENT, a2dViewEventHandler( func ))
 event sent to view when a new document is ser for it.
 
#define EVT_ACTIVATE_VIEW(func)   wx__DECLARE_EVT0( wxEVT_ACTIVATE_VIEW, a2dViewEventHandler( func ))
 event sent to view and document manager
 
#define EVT_ACTIVATE_VIEW_SENT_FROM_CHILD(func)   wx__DECLARE_EVT0( wxEVT_ACTIVATE_VIEW_SENT_FROM_CHILD, a2dViewEventHandler( func ))
 event sent from view and its display up the parent chain.
 
#define EVT_ENABLE_VIEW(func)   wx__DECLARE_EVT0( wxEVT_ENABLE_VIEW, a2dViewEventHandler( func ))
 event sent to connector to disable or enable for a certain view
 
#define EVT_ADD_VIEW(func)   wx__DECLARE_EVT0( wxEVT_ADD_VIEW, a2dDocumentEventHandler( func ))
 event sent to document when a view has been added to the document
 
#define EVT_REMOVE_VIEW(func)   wx__DECLARE_EVT0( wxEVT_REMOVE_VIEW, a2dDocumentEventHandler( func ))
 event sent to document when a view will be removed from the document
 
#define EVT_PRE_ADD_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_PRE_ADD_DOCUMENT, a2dTemplateEventHandler( func ))
 sent from a doc template after it created a document
 
#define EVT_POST_CREATE_DOCUMENT(func)   wx__DECLARE_EVT0( wxEVT_POST_CREATE_DOCUMENT, a2dTemplateEventHandler( func ))
 sent from a doc template after it created a document
 
#define EVT_POST_CREATE_VIEW(func)   wx__DECLARE_EVT0( wxEVT_POST_CREATE_VIEW, a2dTemplateEventHandler( func ))
 sent from a view template after it created a view
 
#define EVT_DISCONNECT_VIEW(func)   wx__DECLARE_EVT0( wxEVT_DISCONNECT_VIEW, a2dTemplateEventHandler( func ))
 event sent to connector to disconnect a certain view from its document
 
#define EVT_CHANGEDFILENAME_VIEW(func)   wx__DECLARE_EVT0( wxEVT_CHANGEDFILENAME_VIEW, a2dViewEventHandler( func ))
 event sent from view upwards to display, when the filename of a document has changed.
 
#define EVT_CHANGEDTITLE_VIEW(func)   wx__DECLARE_EVT0( wxEVT_CHANGEDTITLE_VIEW, a2dViewEventHandler( func ))
 event sent from view upwards to display, when the title of a document has changed.
 
#define EVT_CANVASOBJECT_MOUSE_EVENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASOBJECT_MOUSE_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasObjectMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dCanvasObject mouse event
 
#define EVT_CANVASOBJECT_ENTER_EVENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASOBJECT_ENTER_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasObjectMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dCanvasObject mouse enter event
 
#define EVT_CANVASOBJECT_LEAVE_EVENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASOBJECT_LEAVE_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasObjectMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dCanvasObject mouse leave event
 
#define EVT_CANVASHANDLE_MOUSE_EVENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASHANDLE_MOUSE_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasHandleMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dHandle mouse event
 
#define EVT_CANVASHANDLE_MOUSE_EVENT_ENTER(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASHANDLE_MOUSE_EVENT_ENTER, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasHandleMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dHandle mouse enter event
 
#define EVT_CANVASHANDLE_MOUSE_EVENT_LEAVE(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASHANDLE_MOUSE_EVENT_LEAVE, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasHandleMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dHandle mouse leave event
 
#define EVT_CANVASOBJECT_POPUPMENU_EVENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASOBJECT_POPUPMENU_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasObjectMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dCanvasObject mouse Right Down event
 
#define EVT_CANVASOBJECT_RESIZE_EVENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASOBJECT_RESIZE_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasObjectEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dCanvasObject resize event
 
#define EVT_CANVASOBJECT_TIMER(timerid, func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_TIMER, timerid, -1, (wxObjectEventFunction) wxStaticCastEvent( wxCanvasObjectTimerEventFunction, & func ), NULL),
 timer event for a2dCanvasObject from a2dTimer
 
#define EVT_THEME_EVENT(func)   wx__DECLARE_EVT0( a2dEVT_THEME_EVENT, a2dEditorFrameEventHandler( func ))
 static wxEvtHandler for theme event, send from a2dEditorFrame
 
#define EVT_INIT_EVENT(func)   wx__DECLARE_EVT0( a2dEVT_INIT_EVENT, a2dEditorFrameEventHandler( func ))
 

Typedefs

typedef void(wxEvtHandler::* wxCommandProcessorEventFunction )(a2dCommandProcessorEvent &)
 
typedef void(wxEvtHandler::* a2dDocumentCloseEventFunction )(a2dCloseDocumentEvent &)
 
typedef void(wxEvtHandler::* a2dDocumentEventFunction )(a2dDocumentEvent &)
 
typedef void(wxEvtHandler::* a2dViewCloseEventFunction )(a2dCloseViewEvent &)
 
typedef void(wxEvtHandler::* a2dViewEventFunction )(a2dViewEvent &)
 
typedef void(wxEvtHandler::* a2dTemplateEventFunction )(a2dTemplateEvent &)
 

Variables

class A2DDOCVIEWDLLEXP a2dFileHistory
 
class A2DDOCVIEWDLLEXP a2dFileHistoryItem
 

Detailed Description

handlers for event types in static event tables -- Sun Oct 12 2014 17:04:27 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation