Re: GtkWidget visibility-notify-event and visibility.

2009-03-25 Thread Alexander
On Wednesday 25 March 2009, Chris Vine wrote: On Tue, 24 Mar 2009 23:49:13 +0300 Alexander b3n...@yandex.ru wrote: [snip] Thanks, GTK_WIDGET_VISIBLE() may help me. Is there any way to catch event when widget is actualy hiding? You could use the hide signal that GtkWidget objects emit.

Re: GtkWidget visibility-notify-event and visibility.

2009-03-25 Thread Chris Vine
On Wed, 25 Mar 2009 16:24:57 +0300 Alexander b3n...@yandex.ru wrote: On Wednesday 25 March 2009, Chris Vine wrote: On Tue, 24 Mar 2009 23:49:13 +0300 Alexander b3n...@yandex.ru wrote: [snip] Thanks, GTK_WIDGET_VISIBLE() may help me. Is there any way to catch event when widget is

RE: Custom container with multiple GdkWindows. Adding widgets don't show.

2009-03-25 Thread sledge hammer
Thanks. Your first solution helped a bit. But I finally understood how totem does it. It is an entirely different approach and maybe easier. Totem uses, for the video part, a custom widget named Bacon. When in fullscreen mode Bacon covers the whole screen. The controls that pop-up when the

Re: fsync in glib/gio

2009-03-25 Thread Freddie Unpenstein
fsync() performance will always be crappy on notebooks. If disk is spun down, fsync() will take 5 seconds or more... This is why it needs to be opt-in. An environment variable for those concerned, to enable fsync(). That also helps answer the question of how much, or how little. Let the

GTK+ web site

2009-03-25 Thread Eugenia Loli-Queru
Hi, I checked the http://www.gtk.org site tonight, and I saw that you now link to the gtk-apps.org website for third party applications instead of www.gtkfiles.org Why is that? In the past you would use GTKFiles/Gnomefiles! More over, gtk-apps seems to have a maximum of 1-3 apps updated daily

Feedback needed for GSoc Proposal

2009-03-25 Thread Anirudh
Hi, I've had an idea in mind, which I think might be useful for gtk+ developers. I have a pretty detailed outline in my proposal, and I would really appreciate any feedback or advice regarding the same. A copy of my proposal can be retrieved from: http://anirudhsanjeev.org/static/gsoc_gtk.html

GTK 2.90 branch schedule

2009-03-25 Thread Cody Russell
On Tue, 2009-03-24 at 01:43 -0400, Matthias Clasen wrote: Our plans from last year were aiming for a parallel 2.90 release at the same time. Since I haven't heard an update from the 3.0 drivers, I can't say if that is still realistic at this point. I'll try to ping people from Lanedo and see

No GTK+ Hackfest this year

2009-03-25 Thread Behdad Esfahbod
Hi, Some may have heard that I've been planning the Bolzano GTK+ Hackfest. Well, given the economy, we are canceling that plan for now. We are still looking into organizing smaller, focused, hackfests around GUADEC and Boston Summit, like the introspection hackfest last year. If you have

GIRepository questions

2009-03-25 Thread nf2
Hi, Inspired by Richard Dales blog about Creating QMetaObjects from GObject Introspection data i started working on a code-generator which automatically generates Qt/C++ bindings using GIRepository. The basic idea is that bindings are generated on demand and compiled together with the code

Re: No GTK+ Hackfest this year

2009-03-25 Thread Andreas Nilsson
Behdad Esfahbod wrote: Hi, Some may have heard that I've been planning the Bolzano GTK+ Hackfest. Well, given the economy, we are canceling that plan for now. The global economy or the GNOME Foundations economy? - Andreas ___ gtk-devel-list mailing

Re: No GTK+ Hackfest this year

2009-03-25 Thread Behdad Esfahbod
On 03/25/2009 06:56 PM, Andreas Nilsson wrote: Behdad Esfahbod wrote: Hi, Some may have heard that I've been planning the Bolzano GTK+ Hackfest. Well, given the economy, we are canceling that plan for now. The global economy or the GNOME Foundations economy? Well, the two are not really

Re: No GTK+ Hackfest this year

2009-03-25 Thread Alberto Ruiz
2009/3/25 Behdad Esfahbod beh...@behdad.org: On 03/25/2009 06:56 PM, Andreas Nilsson wrote: Behdad Esfahbod wrote: Hi, Some may have heard that I've been planning the Bolzano GTK+ Hackfest. Well, given the economy, we are canceling that plan for now. The global economy or the GNOME

Re: GIRepository questions

2009-03-25 Thread Johan Dahlin
Hey, On Wed, Mar 25, 2009 at 7:34 PM, nf2 n...@scheinwelt.at wrote: Hi, Inspired by Richard Dales blog about Creating QMetaObjects from GObject Introspection data i started working on a code-generator which automatically generates Qt/C++ bindings using GIRepository. The basic idea is that

Re: No GTK+ Hackfest this year

2009-03-25 Thread Behdad Esfahbod
On 03/25/2009 07:37 PM, Alberto Ruiz wrote: Behdad, do we have an estimate of how much money the former one costed (including accomodation, and travel expenses)? It would be interesting to have that information at hand to figure out how much money should be raised so that the Foundation could

A model/buffer for GtkEntry

2009-03-25 Thread Stef Walter
A while back [1] I tackled the possibility of having GtkEntry store it's text in a application configurable memory buffer. This makes GtkEntry very useful for use with gnome-keyring and seahorse passwords/secrets [2]. I've given it another shot, and come up with what I think is a much better

Re: A model/buffer for GtkEntry

2009-03-25 Thread Tristan Van Berkom
On Thu, Mar 26, 2009 at 12:41 AM, Stef Walter stef-l...@memberwebs.com wrote: A while back [1] I tackled the possibility of having GtkEntry store it's text in a application configurable memory buffer. This makes GtkEntry very useful for use with gnome-keyring and seahorse passwords/secrets [2].

RE: Lost all internal Links in output HTML Files

2009-03-25 Thread Liu, Raymond
I am trying to use GTK-Doc to create API Documents I follow the 1.11's manual to set up my project. And if it's the very first time that I run autogen.sh and then make. Everything is ok, I got the right html output. But then , if I do make clean and then make again without touch

Re: Font style in widget-size_request

2009-03-25 Thread Paul Davis
On Tue, Mar 24, 2009 at 2:18 PM, David Brigada bri...@rpi.edu wrote: Hello, I am writing a graph widget for use in GTK+ applications. I'm trying to calculate the minimum size for the widget from the text along the axes of the graph. I use Cairo to draw the text, so I'm using the

Re: Font style in widget-size_request

2009-03-25 Thread Milosz Derezynski
The problem seems to be that you're using Cairo to render the text but use Pango to calculate the text extents. This doesn't make a lot of sense to me. Just use Pango for everything, or just use Cairo for everything (it has functionality to determine extents of text layouts as well), that should

Re: Font style in widget-size_request

2009-03-25 Thread David Brigada
All, I fixed my problem, and it wasn't how I had described it. It turns out that I had not checked what type of units Pango was returning font sizes in, and I had needed to scale by the DPI of the screen. It turns out that the font description *is* available after you call