Re: [gtkmm] Update graphical interface in loop;
- From: "B.Hakvoort" <bart hakvoort be>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] Update graphical interface in loop;
- Date: Tue, 12 Oct 2004 17:41:12 +0200
Hey, try using
while (Gtk::Main::events_pending()) Gtk::Main::iteration();
To handle all pending gui events, before proceeding to next loop.
Bart
On Tue, 2004-10-12 at 12:32 -0300, Rogério Samuel de Moura Martins
wrote:
> 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#
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
--
www.titanium-it.nl --- Open Minded Open Source
www.real-life.nl <-----Another Source
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]