Am Sonntag 18 September 2011, 04:45:01 schrieb mbeattie:
> I was following a tutorial for some HelloWorld thing and was wondering how
> to make it insert an image in place of the text label. So I was trying to
> use Gtk.Image("filename.jpg") which both compiles and runs but displays no
> image. I am using monodevelop... where is it looking for this image? Do I
> need to import it into the "solution" somewhere?
>
Yes, you need to import the image as a resource into your solution. To do
this, open the "Stock icons" node in the solution tree and define a new icon
using your image file.
Kind regards
Jacek
----------------------------------------------------------------
Skoda Octavia z 2009 roku juz za 11 tys. zl
http://linkint.pl/f2a36
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list