[gtkmm] Update graphical interface in loop;




I create a loop:

   for(int i = 0; i < 100; ++i) {
      m_Label.setLabel((string)i);
   }

but the interface not update in looping.
what commnad insert to udpdate inteface?

   for(int i = 0; i < 100; ++i) {
      m_Label.setLabel((string)i);
      //>>> command for update interface;
   }

thanks#




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