Public Attributes
GUI::EventArgs Class Reference

Base class used as the argument to all subscribers Event object. More...

Inherited by GUI::MouseCursorEventArgs, and GUI::WindowEventArgs.

List of all members.

Public Attributes

bool handled
 handlers should set this to true if they handled the event, or false otherwise.
bool hasWindow
 Indicates if this event set has a parent window.

Detailed Description

Base class used as the argument to all subscribers Event object.

The base EventArgs class does not contain any useful information, it is intended to be specialised for each type of event that can be generated by objects within the system. The use of this base class allows all event subscribers to have the same function signature.

The handled field is used to signal whether an event was actually handled or not. While the event system does not look at this value, code at a higher level can use it to determine how far to propagate an event.