On 15 January 2015 at 07:21, Prunk Dump <prunkd...@gmail.com> wrote: > On all gtk2::helper examples I've found, the "open" call is made > before Gtk2->main. How can I do if the windows is already displayed > and if I'm inside gtkmain ?
I use Glib::Timeout() to update the progress bar. I start the subprocess with IPC::Open3::open3(), and Glib::IO->add_watch() to monitor the output. You can see the gory details in https://sourceforge.net/p/gscan2pdf/code/ci/master/tree/lib/Gscan2pdf/Frontend/CLI.pm Search for "_watch_cmd" Regards Jeff _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list