title: Set/Change the source of image in C# Gtk project, using MonoDevelop
body: <p>I added an image element into my Gtk project.</p>
  
  <blockquote>
    <p><img src="https://i.stack.imgur.com/TMrZ8.png" alt=""></p>
  </blockquote>
  
  <p>How can I set/change the source of this image element?</p>
  
  <p>This is the content of <code>MainWindow.cs</code>:</p>
  
  <pre><code>using System;
  using Gtk;
  
  public partial class MainWindow: Gtk.Window
  {   
      public MainWindow (): base (Gtk.WindowType.Toplevel)
      {
          Build ();
      }
  
      protected void OnDeleteEvent (object sender, DeleteEventArgs a)
      {
          Application.Quit ();
          a.RetVal = true;
      }
  }
  </code></pre>
  
  <p>In <code>MainWindow</code> method, <code>this.image1</code> seems to be the image element that I added. It doesn't contain <code>Source</code> property or any <code>set...</code> method that is related to setting the source.</p>
  
  <p>So, how can I change the source from code behind? Is it possible to pass a <code>Bitmap</code> object directly? </p>
  
  <p>Using MonoDevelop 4.0.12, on Ubuntu 14.10.</p>