Re: automation

On Sun, 18 Sep 2005, Torsten Schoenfeld wrote:
On Sun, 2005-09-18 at 15:49 +0200, Scott Lanning wrote:

   $n = 1000;  # 500 was insufficient, though
   Gtk2->main_iteration_do(0) while $n-- > 0;

A common construct to achieve this more correctly is this:

 Gtk2->main_iteration while Gtk2->events_pending;

I've tried that too! It pops up a window,
but the widget inside doesn't paint
(so you can see through the window).

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