[Gtk-sharp-list] gtk-dotnet on Mac OS X
dpldobrev at yahoo.com
Wed Sep 15 10:58:44 EDT 2010
Mike Kestner-2 wrote:
> I think the short answer is that the method is only currently supported
> with the X11 backend on osx. FromDrawable itself will need to be
> extended to support conversion of whatever resources the quartz backend
> is exposing to a System.Drawable.Graphics class. The code currently
> assumes win32 backend on windows and x11 backend everywhere else.
> The more problematic side is that I've been told the cocoa support in
> System.Drawing is only about 70% cooked, so once you have the Graphics,
> it's touch and go as to whether you can do anything with it.
> So you may be better off with Cairo or Gdk drawing.
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
I already have X11 installed and FromDrawable fails anyway. Maybe there
are some environment avariables to configure?
As far as System.Drawing on OS X is concerned I believe I could get away
with these 70 % percent because our app, Warehouse Open, uses only the most
basic operations: drawing of text and lines. So the most important thing for
me is to somehow get that handle from FromDrawable.
View this message in context: http://mono.1490590.n4.nabble.com/gtk-dotnet-on-Mac-OS-X-tp2538863p2540707.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list