[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Howto update $statusbar from fork() proces
- From: "luc Arits" <lucA mail dma be>
- To: <gtk-app-devel-list redhat com>
- Subject: Howto update $statusbar from fork() proces
- Date: Mon, 23 Aug 1999 22:43:44 +0200
I'm writing a program in Perl/gtk and an wondering how to update a,statusbar
integrated in the Gui while downloading multiple files from the net in a
forked proces.
I want to see what pages I'm downloading.
Something like (just example code);
use LWP::Simple;
my $pid
if ($pid=fork())
{
foreach $url (@urls)
{
$page=get ($url);
$statusbar->push(1, "downloading $url");
}
exit(1);
}
Some construction does'nt seem to work.
Newbie at work
lucA@mail.dma.be
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]