You have to pack the image widget to a box with gtk_box_pack_* or a container with gtk_container_add().
On pet, 2007-02-23 at 09:08 -0800, lucks wrote: > hi...am a student and am building an interface using gtk for my project...but > am having a problem in displaying an image...if someone could help me i > would be much grateful...below is the code which i`ve used. please help > me..thanks > > void > on_bt_test_clicked (GtkButton *button, > gpointer user_data) > { > > GtkWidget *img_objectdesign; > img_objectdesign = gtk_image_new_from_file ("baby.jpg"); > gtk_widget_show (img_objectdesign); > */ > }
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list