saintmike has asked for the wisdom of the Perl Monks concerning the following question:
does anybody know if the Gtk2 module supports file handle event triggering in a similar way as the PerlTk module does with its fileevent() method?
It seems like gtk_input_add would be the right candidate to register a callback on input/output activity on a filehandle, but the documentation lists it under "Missing methods".
Especially, Gtk2::api says
but Glib::IOChannel doesn't seem to exist.gtk_input_add => Glib::IOChannel->add_watch
Who knows more or has code samples?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Gtk2 file handle event triggering
by Aristotle (Chancellor) on Sep 07, 2004 at 18:25 UTC | |
by saintmike (Vicar) on Sep 07, 2004 at 18:32 UTC |