title: Creating and storing images with gtk2?
body: <p>I am having some trouble drawing images with gtk2. I have tried this code:</p>
  
  <pre><code>#include &lt;gtk/gtk.h&gt;
  
  static gboolean button_press_callback (GtkWidget *event_box, GdkEventButton *event, gpointer data)
  {
    g_print ("Event box clicked at coordinates %f,%f\n",
             event-&gt;x, event-&gt;y);
  
    /* Returning TRUE means we handled the event, so the signal
     * emission should be stopped (don't call any further
     * callbacks that may be connected). Return FALSE
     * to continue invoking callbacks.
     */
    return TRUE;
  }
  
  static GtkWidget*
  create_image (void)
  {
    GtkWidget *image;
    GtkWidget *event_box;
  
    image = gtk_image_new_from_file ("image.png");
  }
  
  int main(int argc, char const *argv[])
  {
    create_image();
    return 0;
  }
  </code></pre>
  
  <p>It will not draw any images onscreen, infact I don`t see any window at all. Also, what is the best way to store an image in a variable for future use?</p>