[Gtk-sharp-list] How set the Image displayed by Gtk.Image (using a IO.Stream)

cyanidejunkie dkomen at gmail.com
Sat Feb 7 02:15:32 EST 2009

Hey guys,
I am a long time c# .Net coder but new to  monodevelop and gtk#.

I already have a System.IO.Stream which contains jpg data as streamed from a
uri (http://www............image.jpg).
I have a gtk image (image1) on my stetic form and I want it to show the
image in my sream when I click on some or other button.

I would have though it would be something like the following pseudo code  : 
image1.Image = Gt.Image.LoadFromStream(myStream);

How do I actually set an image's 'image' from a mono stream?

Thanks in advance for any help

View this message in context: http://www.nabble.com/How-set-the-Image-displayed-by-Gtk.Image-%28using-a-IO.Stream%29-tp21885732p21885732.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list