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.
public EventType getType()
EventType
for an example.public Window getWindow()