Re: Loading messages...



Thanks Yann,

Ok, yes I see...

It could be show_all() instead, also...

Glus

2011/7/3 Yann LEYDIER <yann leydier info>:
> I think it lacks
> loading_window.show();
>
> On 03/07/11 20:49, Glus Xof wrote:
>>
>> 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]