[Gtk-sharp-list] Changing image
Boyan Dzambazov
dunamis at puzzleapps.org
Fri Jul 14 16:44:58 EDT 2006
Hi All,
I'm new to GTK# and I have some problems :)
I'm trying to create ScrolledWindow add image to it and later change this
image:
ScrolledWindow ImgWin = new ScrolledWindow();
ImgWin.SetPolicy(PolicyType.Automatic, PolicyType.Automatic);
Gtk.Image img = new Gtk.Image("./images/out.jpg");
ImgWin.AddWithViewport(img);
This is working but I can't find a way to replace this image with the new
one: ./images/out1.jpg
Can anyone help?
10x
Bobby
More information about the Gtk-sharp-list
mailing list