Re: displaying 2 images from combobox




when i use this:

{
  GtkWidget *image = lookup_widget(GTK_WIDGET(combobox),
"img_objectdesign");

   gtk_image_set_from_file (GTK_IMAGE(image), "Pictures/baby.jpg");
}

it works...as you can see image is already declared in the first line. that
is GtkWidget *image=lookup...etc.
if i declare it at top like GtkWidget *image; there is an error saying
redefinition...so this doesnt solve the poblem..plz help

-- 
View this message in context: http://www.nabble.com/displaying-2-images-from-combobox-tf3361889.html#a9353141
Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]