public abstract class Event extends Boxed
C side, GdkEvent is a union of various event structs such
as GdkEventExpose and GdkEventKey. Each struct in
this family starts with the same fields, and these fields are represented
by GdkEventAny. We have exposed those fields here on
Event.
| Modifier and Type | Method and Description |
|---|---|
EventType |
getType()
Get the type of event that occurred.
|
Window |
getWindow()
Get the underlying [GDK] Window which received the event.
|
public EventType getType()
EventType for an example.public Window getWindow()