On Tuesday 02 June 2009 12:57:00 you wrote: > 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
And by the way there is a bug with the GtkAllocation when you want to access to the height, width, .. You try to convert the object to a CShortType but it should be a CIntType. Cheers, Gwenael -- GtkLauncher for GNU Smalltalk : http://gtklauncher.bioskop.fr/ _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
