class GWindowEvent| Constructor | |
| GWindowEvent() GWindowEvent(e) GWindowEvent(type, gw) | Creates a GWindowEvent using the specified parameters or those taken from the more general event e. |
| Methods | |
| getEventType() | Returns the enumerated type constant corresponding to the specific type of window event. |
| getWindow() | Returns the graphics window in which this event occurred. |
| toString() | Converts the event to a human-readable representation of the event. |
GWindowEvent(); GWindowEvent(GEvent e); GWindowEvent(WindowEventType type, GWindow gw);
GWindowEvent using the specified parameters or
those taken from the more general event e.
Usage:
GWindowEvent windowEvent; GWindowEvent windowEvent(e); GWindowEvent windowEvent(type, gw);
WindowEventType getEventType();
Usage:
WindowEventType type = e.getEventType();
GWindow getWindow();
Usage:
GWindow gw = e.getWindow();
string toString();
Usage:
string str = e.toString();