#include <docviewref.h>


Public Member Functions | |
| a2dViewEvent (wxEventType type, a2dDocumentFlagMask flags, int id) | |
| for event types | |
| a2dViewEvent (wxEventType type, bool value, int id) | |
| for event types | |
| a2dViewEvent (const a2dViewEvent &event) | |
| constructor | |
| void | Veto () |
| veto the operation (usually it's allowed by default) | |
| void | Allow () |
| allow the operation if it was disabled by default | |
| bool | IsAllowed () const |
| for implementation code only, testing result of handler: is the operation allowed? | |
| virtual wxEvent * | Clone () const |
| clone the event | |
| a2dDocumentFlagMask | GetFlags () |
| for following event types, get document flags of the event. | |
| bool | GetActive () |
| when wxEVT_ACTIVATE_VIEW get activation value of the event | |
| bool | GetEnable () |
| when wxEVT_ENABLE_VIEW get enable value of the event | |
The event Object is a a2dView.
The event travels up to the parent window, when it is sent to a wxWindow and not processed or skipped. Therefore if the event is sent to the Display Window (m_display) of a view, the event can eventually arive in a wxFrame class containing the wxWindow.
If a2dView sents this event to the display window, this window might directly sent it back to the a2dView. In case it does, this is not a problem, since the a2dView disables itself while sending those events upwards.
Definition at line 549 of file docviewref.h.
| a2dViewEvent::a2dViewEvent | ( | wxEventType | type, | |
| a2dDocumentFlagMask | flags, | |||
| int | id | |||
| ) | [inline] |
for event types
Definition at line 566 of file docviewref.h.
| a2dViewEvent::a2dViewEvent | ( | wxEventType | type, | |
| bool | value, | |||
| int | id | |||
| ) | [inline] |
for event types
Definition at line 598 of file docviewref.h.
| a2dDocumentFlagMask a2dViewEvent::GetFlags | ( | ) | [inline] |
for following event types, get document flags of the event.
Definition at line 643 of file docviewref.h.