Re: Blocking GUI
- From: "Salvatore De Paolis" <iwkse-ml gmx com>
- To: gtk-perl-list gnome org
- Subject: Re: Blocking GUI
- Date: Mon, 27 Jun 2011 00:09:30 +0000
I don't really understand your goal but you could do it this way:
$button->set_image($waiting);
Glib::Timeout->add (10000, sub{
ÂÂÂ $button->set_image(undef);
ÂÂÂ return FALSE;ÂÂÂ
});
I do have:
$button->set_image($waiting);
get_stuff_with_mechanize_and_fill_a_liststore();
$button->set_image(undef);
I guess I can't use Timeout->add in this specific case
regards,
Sal
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]