Difference between revisions of "Event"

From GNUstepWiki
Jump to navigation Jump to search
 
m (a key is hit, not clicked)
Line 1: Line 1:
Events are occurrences that the system recognizes, such as mouse clicks or key clicks.
+
Events are occurrences that the system recognizes, such as mouse clicks or key hits.
  
 
When an event is received by an [[application]], the [[Responder|first responder]] in the [[Responder|responder chain]] is given the chance to deal with it. If the first responder doesn't know what to do with it, it passes it on up the responder chain. If no responder deals with it, the event is ignored.
 
When an event is received by an [[application]], the [[Responder|first responder]] in the [[Responder|responder chain]] is given the chance to deal with it. If the first responder doesn't know what to do with it, it passes it on up the responder chain. If no responder deals with it, the event is ignored.

Revision as of 10:33, 8 November 2005

Events are occurrences that the system recognizes, such as mouse clicks or key hits.

When an event is received by an application, the first responder in the responder chain is given the chance to deal with it. If the first responder doesn't know what to do with it, it passes it on up the responder chain. If no responder deals with it, the event is ignored.