GUI White Papers

Mastering Perl/Tk: Graphical User Interfaces in Perl - Anatomy of the MainLoop

Overview As programmers, one knows what a "Main loop" is. It's the heart of the programs, the repeating chunk of code that carries out the task at hand. But Perl/Tk programs are event driven, so even if one writes what one believes is the program's main loop, it must coexist with a higher order main loop that's a fundamental part of Tk. The Tk main loop is typically referred to as the event loop, and its job is to invoke callbacks in response to events such as button presses or timer expirations. Callbacks are Perl subroutines associated with Tk events. In Perl/Tk, one can define callbacks that, from the point of view, are automatically invoked when the appropriate event occurs.

Further White Paper Details
PublisherO'Reilly Media File FormatHTML
Date PublishedJanuary 2002 Downloads2
FormatBook chapters   
Topics
E4 embraces web 2.0 audience

E4 embraces web 2.0 audience

Case study: How the Channel 4's teen channel put its mind to building a community website... more

Cheat Sheet: Cloud computing

Cheat Sheet: Cloud computing

A tech storm is brewing...  more


Quick Sitemap Links: