++ed by:
ADAMJS SKAUFMAN RORYRJB BINJOY IOANR

27 PAUSE users
26 non-PAUSE users.

Paul Evans
and 1 contributors

NAME

IO::Async::Set::GMainLoop - a class that maintains a set of IO::Async::Notifier objects by using the Glib::MainLoop object.

SYNOPSIS

 use IO::Async::Set::GMainLoop;

 my $set = IO::Async::Set::GMainLoop->new();

 $set->add( ... );

 ...
 # Rest of GLib/Gtk program that uses GLib::MainContext

DESCRIPTION

This subclass of IO::Async::Notifier uses the Glib::MainLoop to perform read-ready and write-ready tests.

The appropriate Glib::IO sources are added or removed from the Glib::MainLoop when notifiers are added or removed from the set, or when they change their want_writeready status. The callbacks are called automatically by Glib itself; no special methods on this set object are required.

CONSTRUCTOR

$set = IO::Async::Set::GMainLoop->new()

This function returns a new instance of a IO::Async::Set::GMainLoop object. It takes no special arguments.

METHODS

There are no special methods in this subclass, other than those provided by the IO::Async::Set base class.

SEE ALSO

  • Glib - Perl wrappers for the GLib utility and Object libraries

  • Gtk2 - Perl interface to the 2.x series of the Gimp Toolkit library

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>