Re: Progress bar help



Hi Daniel,

* Daniel Davidson <danield igb uiuc edu> [2006-01-20 17:10]:
However when I go and try to have the function automatically
increment itself every second toward 100%, the bar does nothing
until the function completes and it immediate jumps to 100%.

try clearing pending events every time you send a pulse.

    Gtk2->main_iteration while Gtk2->events_pending;

Regards,
-- 
#Aristotle
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;



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