Laxkit
0.0.7.1
|
Class for sending data messages between windows. More...
Public Member Functions | |
EventData (const char *message, unsigned long fromwindow=0, unsigned long towindow=0) | |
EventData (int message, unsigned long fromwindow=0, unsigned long towindow=0) |
Public Attributes | |
unsigned long | type |
unsigned long | subtype |
char * | send_message |
unsigned long | from |
unsigned long | to |
int | propagate |
clock_t | send_time |
unsigned long | xlib_time |
EventData * | next |
Private Attributes | |
int | isuserevent |
Friends | |
class | anXApp |
Class for sending data messages between windows.
The default type is LAX_UserEvent.
Arbitrary data can be sent between windows with classes derived from EventData. from within a window: app->SendMessage() <– app fills in time and window.
anXApp calls anXWindow::Event(const EventData *,const char *mes) is called, where mes is the string corresponding to EventData::send_message.