Hello,everyone

         I have GtkWidget like this:

      GtkWidget *image = gtk_image_new_from_file("~/image.jpg");

     and i show that widget like this:
           GtkWidget *frame = gtk_frame_new(NULL);
          gtk_container_add(GTK_CONTAINER(frame),image);
       gtk_show_widget_all(frame);


        But ,the problem is,I can not see the image in my application

       Why ?
Any  comments would be much appreciated,and thanks in advance !!
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to