Laxkit  0.0.7.1
Public Member Functions | Public Attributes | Private Attributes | Friends
Laxkit::EventData Class Reference

Class for sending data messages between windows. More...

Inheritance diagram for Laxkit::EventData:
Inheritance graph
[legend]

List of all members.

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
charsend_message
unsigned long from
unsigned long to
int propagate
clock_t send_time
unsigned long xlib_time
EventDatanext

Private Attributes

int isuserevent

Friends

class anXApp

Detailed Description

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.


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

Mon Feb 17 2014 11:52:59, Laxkit