#include "gevents.h"

class GWindowEvent

This event subclass represents a window event.
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.

Constructor detail


GWindowEvent();
GWindowEvent(GEvent e);
GWindowEvent(WindowEventType type, GWindow gw);
Creates a GWindowEvent using the specified parameters or those taken from the more general event e.

Usage:

GWindowEvent windowEvent;
GWindowEvent windowEvent(e);
GWindowEvent windowEvent(type, gw);

Method detail


WindowEventType getEventType();
Returns the enumerated type constant corresponding to the specific type of window event.

Usage:

WindowEventType type = e.getEventType();

GWindow getWindow();
Returns the graphics window in which this event occurred.

Usage:

GWindow gw = e.getWindow();

string toString();
Converts the event to a human-readable representation of the event.

Usage:

string str = e.toString();