Sprog::GtkEventLoop.3pm

Langue: en

Version: 2005-05-31 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Sprog::GtkEventLoop - methods used to interface Sprog to the Gtk2 event Loop

SYNOPSIS

   my $event_loop = $factory->load_class('/app/eventloop');
 
   $event_loop->add_idle_handler(sub { $event_loop->quit });
 
   $event_loop->run;
 
 

DESCRIPTION

This class provides the interface methods between Sprog and the Gtk2 event loop.

METHODS

run ( )

Enter the main loop.

quit ( )

Exit the main loop.

INHERITED METHODS

The following methods are inherited from Sprog::GlibEventLoop:
add_timeout ( delay, sub_ref )
add_idle_handler ( sub_ref )
add_io_reader ( fh, sub_ref )
add_io_writer ( fh, sub_ref )
Copyright 2004-2005 Grant McLean <grantm@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.