Re: Loading messages...
- From: Glus Xof <gtglus gmail com>
- To: Yann LEYDIER <yann leydier info>
- Cc: gtkmm-list gnome org
- Subject: Re: Loading messages...
- Date: Sun, 3 Jul 2011 20:49:31 +0200
Hi,
> As far as I remember, just put :
> while (Glib::MainContext::get_default()->iteration(false));
> in your code. This refreshes the window(s) if needed and of course updates
> the displayed progress bar(s).
In constructor method, I put,
[...]
Gtk::Window loading_window;
loading_window.set_border_width (10);
Gtk::Label loading_label (_("L O A D I N G ..."));
loading_window.add (loading_label);
loading_window.show_all_children();
while (Glib::MainContext::get_default()->iteration(false));
[... And here, the rest of the code, managing the system call]
But the problem is that I don't see the window object...
Maybe, something more goes in the while loop...
Glus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]