Marc Lehmann > AnyEvent-7.07 > AnyEvent::Impl::FLTK

Download:
AnyEvent-7.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  8
View/Report Bugs
Source  

NAME ^

AnyEvent::Impl::FLTK - AnyEvent adaptor for FLTK (Fast Light Toolkit version two)

SYNOPSIS ^

   use AnyEvent;
   use FLTK;
  
   # this module gets loaded automatically as required

DESCRIPTION ^

This module provides transparent support for AnyEvent. You don't have to do anything to make FLTK work with AnyEvent except by loading FLTK before creating the first AnyEvent watcher.

This implementation is not to be confused with AnyEvent::Impl::FLTK by Sanko Robinson. That implementation is completely broken, and the author is apparently unreachable.

In any case, FLTK suffers from typical GUI-ToolKit diseases, such as O(n) or worse for every operation (adding a timer, destroying a timer etc.), the typical Not-Well-Tested Perl Interface disases such as non-random memory corruption and the typical Event-Loop-as-an-Afterthrough issues, such as multiple watchers on the same fd silently overwriting the others.

It doesn't have native idle, signal or child watchers, so all of these are emulated.

SEE ALSO ^

AnyEvent, FLTK.

AUTHOR ^

 Marc Lehmann <schmorp@schmorp.de>
 http://anyevent.schmorp.de
syntax highlighting: