Re: decrease widget show time

On Fri, 2011-03-18 at 14:13 +0800, czk wrote:
> hello everyone,
> I use gtk+-3.0 in a embedded device. If I create a window put 4
> buttons , 4 entrys  3 labels in it, from gtk_window_new to the window
> was showed spend 4 seconds totally. It a long time for me. Most time
> spend in gtk_widget_show_all.

Maybe other things are happening. You can generally make the final show
faster by not using gtk_widget_show_all(). I believe you should manually
show() or show_all() the child widgets, and then just do one show() of
the window itself at the end.

murrayc murrayc com

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