Blocking GUI



Hi,
I'm testing something with Perl and GTK+ and I'd like an advice about how
to achieve this kind of task:

Let's take this code as example:

$button->set_image($waiting);
sleep 10;
$button->set_image(undef);

This way the button is stuck till the sleep function is completed.

regards,
Sal



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]