SimpleCxxLib packageclass GWindowEvent : public GEventGWindowEvent keeps track of the event type
(WINDOW_CLOSED, WINDOW_RESIZED) along
with the identity of the window.
| Constructor | |
Creates a GWindowEvent using the specified parameters. | |
| Methods | |
| Returns the graphics window in which this event occurred. | |
| Converts the event to a human-readable representation of the event. | |
GWindowEvent(EventType type, const GWindow & gw);
GWindowEvent using the specified parameters.
Usage:
GWindowEvent windowEvent(type, gw);
GWindow getGWindow() const;
Usage:
GWindow gw = e.getGWindow();
string toString() const;
Usage:
string str = e.toString();