Re: GdkDrawable from GtkDrawingArea and it's cairo surface

2011-07-25 Thread Carlos López Camey
thank you all, I now like this mailing list officially. I had it working before with Marteen's help but now it seems like I got an idea for some extra features :) 2011/7/25 richard boaz : > hi, > i do this same sort of thing in my stuff, but written before cairo was.  i > plan on converting all

Re: GdkDrawable from GtkDrawingArea and it's cairo surface

2011-07-25 Thread richard boaz
ah! i knew it. thanks paul, richard On Mon, Jul 25, 2011 at 2:41 PM, Paul Davis wrote: > 2011/7/25 richard boaz : > > > but i deliver this with a huge caveat: i do not like the solution, > something > > about the design is wrong (i can "feel" it). so, this reference is > intended > > for demo

Re: GdkDrawable from GtkDrawingArea and it's cairo surface

2011-07-25 Thread Paul Davis
2011/7/25 richard boaz : > but i deliver this with a huge caveat: i do not like the solution, something > about the design is wrong (i can "feel" it).  so, this reference is intended > for demonstration purposes only!  i will eventually come back to this and > find the proper architecture, but don

Re: GdkDrawable from GtkDrawingArea and it's cairo surface

2011-07-25 Thread richard boaz
hi, i do this same sort of thing in my stuff, but written before cairo was. i plan on converting all my drawing to cairo one day, thus must eventually solve this problem myself. so i took your original sample/example and expanded on it to demonstrate pixmap backing stores and how to use/referenc

Re: Some questions about g_object_new, gtk_type_window and so on

2011-07-25 Thread David Nečas
On Mon, Jul 25, 2011 at 08:51:18AM +0200, Jean Brefort wrote: > Each type has an associated GType value which can be retrieved using the > appropriate *_get_type() function. For a GtkButton, the function is: > GType gtk_button_get_type(void); > > and GTK_TYPE_BUTTON is an equivalent macro: > #defi