help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Cairo and Gtk


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Cairo and Gtk
Date: Tue, 02 Jun 2009 12:57:00 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Gwenael Casaccio wrote:
Hi,

It is now possible to draw cairo widget with Gtk. Look at this :http://smalltalk.gnu.org/blog/mrgwen/playing-gtk-and-cairo . I've made few extensions for GTK and Cairo may be we can integrate these extensions with GST ;)

Yes, we can.

Only, the callout to gdk_cairo_create should probably be in GdkDrawable on the instance side. And, can you try making GdkDrawable a subclass of Cairo.CairoContextProvider, so that you can just do "aGtkWidget getWindow withContextDo: [ ... ]"?

With these changes, I will integrate it.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]