Re: gtktextview with gdkpixbuf saving into file

2008-11-19 Thread Johnson Wong
Thanks, thats a much better way of doing it ^_^ Johnson On Tue, 2008-11-18 at 08:05 +, Pavel A. da Mek wrote: anyone know a way to save a gtktextview/gtktextbuffer with embedded gdkpixbuf into a file. I am calling gtk_text_buffer_get_slice then g_file_set_contents. Idealy it will be

GtkTooltip destroys the custom widget when finalized

2008-11-19 Thread Nicolas Soubeiran
Hi all, I was trying to do a tooltip with a custom widget that display a GtkProgessBar showing the state of a computation in gtk 2.12.10. My program often terminates with a memory fault : it lost the reference to the GtkProgessBar even if I ref it (with g_object_ref). I investigated and found

Re: GdkOffscreenHooks

2008-11-19 Thread Alexander Larsson
On Tue, 2008-11-18 at 17:03 -0500, Owen Taylor wrote: It seems to me that it might be better to say that input redirection is restricted to the case where you have a toplevel offscreen window that is basically completely outside the normal widget tree. Then you'd have functions like:

Re: Rumination on offscreen-ng

2008-11-19 Thread Alexander Larsson
On Tue, 2008-11-18 at 16:28 -0500, Owen Taylor wrote: Some consequences: - Invalid and damage regions are kept per native-target not per window. What about paint regions (and their pixmaps)? Should we try to combine these to the native target too? My instinct is that this would work out

Re: Rumination on offscreen-ng

2008-11-19 Thread Alexander Larsson
On Tue, 2008-11-18 at 16:28 -0500, Owen Taylor wrote: Some consequences: - Invalid and damage regions are kept per native-target not per window. What exactly do you mean by this btw? Do you mean moving the current GdkWindowObject-update_area somewhere so it affects the native window? We

Re: Rumination on offscreen-ng

2008-11-19 Thread Owen Taylor
On Wed, 2008-11-19 at 10:18 +0100, Alexander Larsson wrote: On Tue, 2008-11-18 at 16:28 -0500, Owen Taylor wrote: Some consequences: - Invalid and damage regions are kept per native-target not per window. What exactly do you mean by this btw? Do you mean moving the current

Re: Rumination on offscreen-ng

2008-11-19 Thread Owen Taylor
On Wed, 2008-11-19 at 09:42 +0100, Alexander Larsson wrote: On Tue, 2008-11-18 at 16:28 -0500, Owen Taylor wrote: Some consequences: - Invalid and damage regions are kept per native-target not per window. What about paint regions (and their pixmaps)? Should we try to combine these to

Anybody Interested on implementing a DOM in Vala?

2008-11-19 Thread Yu Feng
Hi, all. I am working on a DOM[1] implementation(with the aid of libgee) in vala. If others are also interested in using/writing it, we can start a new project by spawning the DOM code from my project and make it complete. It might be a redundancy, since there are already implementations