I'm writing a program in C which needs to open several images multiple times. But I need all the images to remain displayed. So I do this:
This is within a for that loops in the number of images I open each time
Quote:
imagen = GTK_IMAGE(gtk_image_new_from_file(MagickGetImageFilename(image_wand)));
gtk_box_pack_end(GTK_BOX(caja_h),GTK_WIDGET(imagen),FALSE,FALSE,1);
gtk_box_pack_end(GTK_BOX(caja_v),caja_h,FALSE,FALSE,1);
caja_h = gtk_hbox_new (TRUE, 0);
The first time I open the images everything works fine but I need to be able to open several groups of images and display them. The second time I open another group of images the first image in the ones already displayed dissapears and only the first one of the second group I opened shows up.
Does someone has any tip on how to do that?