Xepdmgr is the easiest way to get GTK+ based program to run on iLiad.
One little suggestion on your code:
Code:
gtk_widget_set_size_request(GTK_WIDGET(window), 768, 1024);
is not necessary. If you want to hide toolbar and pagebar, use:
Code:
gtk_window_fullscreen(GTK_WINDOW(window));