GCE interview question

How do you deal with "event" in GUI designing?