thanks for the info... am still having a lot of problems...you told me to declare it, so i did.but still i cant. in fact am new to gtk+ and dont know too mucn but i have to manage because i have to submit my project on gtk+..
i tried this too: void on_cbo_itemdesign_changed (GtkComboBox *combobox, gpointer user_data) { GtkWidget *image1; GtkWidget *image; image = lookup_widget(GTK_WIDGET(combobox), "img_objectdesign"); gtk_image_set_from_file (GTK_IMAGE(image), "Pictures/baby.jpg"); image1 = lookup_widget(GTK_WIDGET(combobox), " img_patterndesign"); gtk_image_set_from_file(GTK_IMAGE(image1), "Pictures/myPattern.gif"); } does someone know how to assign an image (e.g xxx.jpg) to a selected item from a combobox? i want to use an item from a combobox and then display its corresponding image: that is if i choose yyyyy from the combobox it should display the corresponding xxx.jpg...plz help me:( -- View this message in context: http://www.nabble.com/displaying-2-images-from-combobox-tf3361889.html#a9360007 Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list