GTK+ applications start slowly due to pango coverage loop?

2008-02-09 Thread Bin Chen
Hi, I am using gtk+ 2.12.5 with pango 1.19.3, when the application starts it elapse about 6 seconds to start(I am running a 400Mhz CPU), when it is busy I take a look by gdb then backtrace shows: #0 0x2b37f298 in pango_coverage_set (coverage=0x49c860, index=8010321, level=PANGO_COVERAGE_EXACT) at

Re: Treeview column width changed signal

2008-02-09 Thread Gorshkov
Jeffrey Barish wrote: > Gorshkov wrote: > >> You don't have to set the widths again every time you show them. When >> the TreeView becomes hidden/not hidden or visible/not visible, it will >> have the same properties and values it had the last time it was visible. >> The ONLY time you have set tho

Re: Treeview column width changed signal

2008-02-09 Thread Jeffrey Barish
Gorshkov wrote: > You don't have to set the widths again every time you show them. When > the TreeView becomes hidden/not hidden or visible/not visible, it will > have the same properties and values it had the last time it was visible. > The ONLY time you have set those values is when you display/

Re: Treeview column width changed signal

2008-02-09 Thread Gorshkov
Jeffrey Barish wrote: > Gorshkov wrote: > >> I do this exact thing in an application I'm developing now. But I only >> do it in one place - a callback routine that is called for both the >> delete and destroy events. > > Thank you for your suggestions. > > I don't get a delete, destroy, or

Re: Treeview column width changed signal

2008-02-09 Thread Jeffrey Barish
Gorshkov wrote: > I do this exact thing in an application I'm developing now. But I only > do it in one place - a callback routine that is called for both the > delete and destroy events. Thank you for your suggestions. I don't get a delete, destroy, or even a hide signal when the treeview disap

Re: The proper way to integrate self-made widgets with themes

2008-02-09 Thread Tristan Van Berkom
remember that to assign styles in rc files you must always define a style and assign the style to a widget (or widget class). read about gtkrc formating in the main "resource files" section of the api docs... installing style properties on your widget class is easy as installing normal properties

Re: Treeview column width changed signal

2008-02-09 Thread Gorshkov
Jeffrey Barish wrote: > Kristian Rietveld wrote: > > The problem with your first suggestion is that I have to hook every > situation in which the tree view can be destroyed. The obvious one is when > I change data sets. Exiting the program is another. There will be others > when I implement more