Re: automation



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;

-- 
Bye,
-Torsten




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