How to know what bindings does one class have?

2007-10-29 Thread Magicloud Magiclouds
Dear all, We can add bindings to a class by configure file and programming. So, as a class user, how could I know the bindings that could apply to one certain class? Thanks. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

window resize and hpanned separator position control

2007-10-29 Thread Alex Nekorkin
Hello All, Could anyone tell me, how to make hpanned separator to be positioned in a special way depending on the new window size? The thing I need is child1 size to be initially equal to [(newwinheight-85)*4/3, newwinheight-17], when window is just resized.

Re: window resize and hpanned separator position control

2007-10-29 Thread jcupitt
On 10/29/07, Alex Nekorkin [EMAIL PROTECTED] wrote: Could anyone tell me, how to make hpanned separator to be positioned in a special way depending on the new window size? I've not tried, but I imagine you just need to add a configure_event handler to see the new window width and height, and

Re: window resize and hpanned separator position control

2007-10-29 Thread Alex Nekorkin
Thanks a lot! Could anyone tell me, how to make hpanned separator to be positioned in a special way depending on the new window size? I've not tried, but I imagine you just need to add a configure_event handler to see the new window width and height, and set the pane position in that.

Re: Profiling GTK within an application

2007-10-29 Thread Chris Rorvick
Stefan Kost wrote: This is most likely caused by cairo. You should also see a bit less CPU usage in 2.12 compared to 2.10 (or more precise newer cairo should perform a bit better). For some reason, this happens to be one of two libraries that I'm statically linking in. I wasn't seeing a

Re: Profiling GTK within an application

2007-10-29 Thread Murray Cumming
On Mon, 2007-10-29 at 12:47 -0500, Chris Rorvick wrote: Stefan Kost wrote: This is most likely caused by cairo. You should also see a bit less CPU usage in 2.12 compared to 2.10 (or more precise newer cairo should perform a bit better). For some reason, this happens to be one of two

Re: Profiling GTK within an application

2007-10-29 Thread Brian J. Tarricone
Chris Rorvick wrote: My program is spending more than 50% of its userland time executing code in glib, and a vast majority of that is split evenly between two functions: g_slist_find() and g_slist_remove_all(). You should probably be using a different data structure. A linked list is not a

Re: Profiling GTK within an application

2007-10-29 Thread Stefan Kost
hi, Chris Rorvick schrieb: Stefan Kost wrote: This is most likely caused by cairo. You should also see a bit less CPU usage in 2.12 compared to 2.10 (or more precise newer cairo should perform a bit better). For some reason, this happens to be one of two libraries that I'm

Re: Profiling GTK within an application

2007-10-29 Thread Chris Rorvick
Stefan Kost wrote: I figured out that Sun's dtrace tool allows me to basically script a sampling profiler just as you describe. Very cool program. My program is spending more than 50% of its userland time executing code in glib, and a vast majority of that is split evenly between two

Re: label text in Hindi

2007-10-29 Thread Jens Sauer
Hey, GNU gettext can help you with this. project page: http://www.gnu.org/software/gettext/ short intro: http://en.wikipedia.org/wiki/Gettext But gettext did not translate the strings automatically. Naveen Kumar schrieb: Hi all, I need to display the labels in hindi, I tried export

Re: Profiling GTK within an application

2007-10-29 Thread Binary Chen
On Sat, 2007-10-27 at 11:06 +0300, Stefan Kost wrote: Chris Rorvick schrieb: I'm attempting to profile GTK in an application and I'm wondering what methodology others use to accomplish this. Is there any documentation that addresses this topic that I should refer to? Any caveats worth

Pango-1.19.0 released [unstable]

2007-10-29 Thread Behdad Esfahbod
Pango-1.19.0 is now available for download at: http://download.gnome.org/sources/pango/1.19/ or ftp://ftp.gtk.org/pub/pango/1.19 9db02e1e27dd0d8c9f9944c3b4578b60 pango-1.19.0.tar.bz2 32cc0b7cabce4f7e47817155fa96e519 pango-1.19.0.tar.gz This is the first development release in yet another