Re: Loading messages...



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]