#include <gtk/gtk.h>

int main(int argc, char **argv)
{
	GtkWidget *window;
	GtkWidget *image;
	GtkWidget *hbox;
	GtkWidget *vbox;
	int i, j;

	gtk_init(&argc, &argv);

	window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
	gtk_window_set_default_size(GTK_WINDOW(window), 250, 250);

	hbox = gtk_hbox_new(FALSE, 0);
	gtk_container_add(GTK_CONTAINER(window), hbox);

	for (i = 0; i < 10; i++) {
		vbox = gtk_vbox_new(FALSE, 0);
		gtk_box_pack_start(GTK_BOX(hbox), vbox, TRUE, TRUE, 0);
		for (j = 0; j < 10; j++) {
			image = gtk_image_new_from_file("loading.gif");
			gtk_box_pack_start(GTK_BOX(vbox), image, TRUE, TRUE, 0);
		}
	}

	gtk_widget_show_all(window);

	gtk_main();
}

