Re: decrease widget show time

2011-03-20 Thread Markku Vire
Hi, 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_widge

Re: libegg: Removing old directories

2011-03-20 Thread Matthias Clasen
On Fri, Mar 18, 2011 at 6:42 PM, Murray Cumming wrote: > libegg has lots of directories that have just a README saying how the > code has successfully moved into GTK+. But that's mostly old news now. > If there's no objection then I'll remove the directories so it's easier > to see at a glance wha

Re: decrease widget show time

2011-03-20 Thread czk
Following is my test program and test result: #include static const char *text[] = { "hello, world", "nihao entry", "Slide and release", "the power switch to wake", "become impassioned or", "excited: the young man" }; sta

Re: decrease widget show time

2011-03-20 Thread jcupitt
Hi, 2011/3/21 czk : > Following is my test program and test result: > Obviously, most time spend on the last gtk_widget_show. You could try adding a call to realize, just before show(): gtk_widget_realize (window); This will do most of the initialisation, but not actually show the window. You