To answer the first question: No it won't work on windows... but... Gtk is currently creating a Gtk.Canvas object for new releases of GTK.
check this mail post out: http://www.mail-archive.com/[email protected]/msg00093.html I don't think it is implimented in gtk-sharp but you may be able to install the development version and then use the InteropServices functions to manage it. Anyone else have more info on this? > Hi fellows! > > As said before, I'm developing a traffic-light management system using > Gnome.Canvas for all graphical operations. I'm having some issues atm! > > 1 - When will Gnome.Canvas work on Windows? > > 2 - Gnome.CanvasWidget seems not to be working! I've done an example > where a Gnome.CanvasWidget is assigned to a Gnome.Canvas instance, such > as: > > <code> > > VBox v = new VBox(); > v.PackStart(new Label("test"), false, false, 0); > v.PackStart(new Gdk.Pixbuf("test_image.png", false, false, 0); > > Gnome.Canvas mycanvas = new Gnome.Canvas(); > Gnome.CanvasGroup canvas_root = mycanvas.Root(); > > Gnome.CanvasWidget wdg = new Gnome.CanvasWidget(canvas_root); > wdg.Widget = v; > > </code> > > This won't add my Widget to my canvas :( > > > 3 - I try to define a background image for my canvas. I ended up putting > a Gnome.CanvasPixbuf into the canvas. Is there other way of doing this? > > <code> > > Gnome.CanvasPixbuf canvas_bg = new Gnome.CanvasPixbuf(canvas_root); > canvas_bg.X=0; > canvas_bg.Y=0; > canvas_bg.Pixbuf = new Gdk.Pixbuf("cruzamento_oia.png"); > > </code> > > This works out. The issue is that it isn't added into Canvas.X=0 and > Canvas.Y=0, even if I defined as so. > > > I've been around Monodoc, and #mono @ irc.gimp.us.org, but completely > unable to find any tip or help. > > > Thanks in advance > Paulo Pires > > _______________________________________________ > Gtk-sharp-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list > _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
