Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
Freenet DSL
Who's Online
11 user(s) are online (11 user(s) are browsing encyclopedia)

Members: 0
Guests: 11

more...
browser tip
recommendation!
Sponsored
partner

Event handler

An event handler is a part of a computer program created to tell the program how to act in response to a specific event (e.g. the clicking of a computer mouse or the dragging of a scrollbar or pressing a button). The programmer s custom event handling Function_(programming) will be executed by the event dispatcher. The event dispatcher is part of the operating system that detects graphical user interface (GUI) events, and calls functions in the executing program to handle those events.

Without event handlers nothing would happen when you interacted with an event driven program, as most GUI programs are.

How event handlers function is highly dependent on the operating system, programming language, and GUI framework used. A programmer will need to consult the documentation provided with the language used to get the exact syntax and usage of event handling. A user only needs to know how their operating system functions. Users do not need to have any knowledge of the underlying event handler code.

=See also=

*Event listener *Observer pattern *Event-driven programming

=External links=

*[http://hikwww2.fzk.de/hik/orga/verdi/rs/Dokumentation/Cpp/Cpp/ioc/tasks/t90us014.htm Write an Event Handler] *[http://atddoc.cern.ch/Atlas/Notes/061/Note061-1.html A High Level Design of the Sub-Farm Event Handler] *[http://www.w3.org/TR/xml-events/Overview.html#section-eventhandlers An Events Syntax for XML] *[http://java.sun.com/j2se/1.5.0/docs/guide/plugin/dom/org/w3c/dom/events/Event.html Interface Event] *[http://www.jini.org/nonav/standards/davis/doc/specs/html/event-spec.html Distributed Events and Notifications] *[http://www.quirksmode.org/js/events_order.html Event order] *[http://developer.apple.com/internet/webcontent/eventmodels.html Supporting Three Event Models at Once] *[http://citeseer.ist.psu.edu/cisq=event+handler Citations from CiteSeer] *Article [http://doc.trolltech.com/qq/qq11-events.html Another Look at Events] by Jasmin Blanchette *Article [http://w3future.com/html/stories/callbacks.xml Event Handlers and Callback Functions] by Sjoerd Visscher