Difference between revisions of "Event"

From GNUstepWiki
Jump to navigation Jump to search
m (a key is hit, not clicked)
(add category)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Events are occurrences that the system recognizes, such as mouse clicks or key hits.
+
Events are occurrences that the system recognizes, such as mouse clicks or keystrokes.
  
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, the event is passed on, up the responder chain. If no responder deals with the event, it is ignored.
 +
 
 +
[[Category:Objective-C]]

Latest revision as of 14:42, 23 October 2006

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

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, the event is passed on, up the responder chain. If no responder deals with the event, it is ignored.