[Gtk-sharp-list] Gnome.Canvas issues

Josť Alexandre Antunes Faria spigaz@gmail.com
Wed, 02 Mar 2005 19:58:59 +0000


Hi there crazy surfer,

As you know paco is working on it, there is working version of
gnome.canvas working on windows, the project gaphor uses it:
http://gaphor.sourceforge.net/. 

I don't know what is the status or if paco faced strong problems with
it. I tryed to talk to him, but aparently he went to the airport now...

Regarding the bugs you found, file them in the bugzilla, if you want I
can help you with that. But you have to do that, they use the sample
testcase to reproduce it and to make sure it doesn't show up again
(whenever possible).

Cheers, and safe surging,

SpigaZ out...


On Wed, 2005-03-02 at 17:53 +0000, Paulo Pires wrote:
> 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  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list