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

That is it...



Well, when I updated the events after each call the progress bars work... I
have three of them, the code that works is:

   gtk_progress_set_percentages(...)
   while( gtk_events_pending() ) gtk_main_interation();
   gtk_progress_set_percentages(...)
   while( gtk_events_pending() ) gtk_main_interation();
   gtk_progress_set_percentages(...)
   while( gtk_events_pending() ) gtk_main_interation();

   If I do:

   gtk_progress_set_percentages(...)
   gtk_progress_set_percentages(...)
   gtk_progress_set_percentages(...)
   while( gtk_events_pending() ) gtk_main_interation();

  Which seems more efficient, it hangs in the while loop.  Anyone know
why this is so?  Should it hang?  Is it a bug?

--
-- Tony Preston, Team *AMIGA*,  Linux developer since 1996
-- Custom Services, P. O. Box 254, Moorestown, NJ 08055
-- The Amiga Zone BBS  (609) 953-8159



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