in reply to How to spawn a process in background within Perl+GUI script
An elegant way of handling this is POE. It lets you hook into various GUI event loops (Gtk, perl/Tk, etc.). Check out this article on using POE with Gtk.
Another way of communicating between the GUI and the spawned process are watchers in the GUI, here's an article which uses an XML-defined GUI and Glib's add_watch method.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to spawn a process in background within Perl+GUI script
by Scott7477 (Chaplain) on Apr 13, 2006 at 17:48 UTC | |
|
Re^2: How to spawn a process in background within Perl+GUI script
by vkon (Curate) on Apr 13, 2006 at 21:56 UTC |