Re: Blocking GUI



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]