title: Loading Pixbuf to Image Widget in GTK#
body: <p>I'm trying to load an image file from harddisk to the image widget in GTK#.I know that Pixbuf is used to represent the image.In .net i had used <code>Bitmap b=Bitmap.from File ("c:\windows\file.jpg")</code></p>
  
  <p>and assigned <code>PictureBox=b</code>;</p>
  
  <p>How can i do this with <code>Image Widget</code> </p>
  
  <p>Update:</p>
  
  <p>I tried </p>
  
  <pre><code>protected void OnButton2ButtonPressEvent (object o, ButtonPressEventArgs args)
      {
          var buffer = System.IO.File.ReadAllBytes ("i:\\Penguins.jpg");
          var pixbuf = new Gdk.Pixbuf (buffer);
          image103.Pixbuf = pixbuf;
  
     }
  </code></pre>
  
  <p>But it does not work.</p>