[Gtk-sharp-list] Cross platform drawing

aybiss aaron at hardwarehookups.com.au
Fri Mar 9 08:31:46 EST 2007


First up, I'm new to Gtk# and I'ma Windows user. I'm trying to rip out all
Forms code from my OSS app, so it can build under Linux. I'm having a great
deal of success with Gtk# however I've hit a real brick wall with controls
that need to be drawn manually.

I want to be sure that this code will build in MonoDevelop and in Visual
Studio. I went down the DrawingSample (from the Gtk#2.8.3 installer for
Windows) path until I realised I was using Graphics, a Windows.Forms
component. Then I went to look at Cairo, but I can't seem to find the right
reference to add in order to compile.

I'm completely stuck, and I was going so well! I guess the question is does
anyone have an example of working cross-platform drawing routines and/or
know how to get Cairo going under Visual Studio. Any help will be hugely
View this message in context: http://www.nabble.com/Cross-platform-drawing-tf3375680.html#a9394341
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list