Am trying to set image as a backround for a window. It flashes in the
window and disappears.
Running Fedora9 with latest patches
Cutdown source shows problem:
#include gtk/gtk.h
static GtkWidget *entry;
staticGtkWidget *window,*label,*vbox,*hbox,*button,*seperator;
static GdkPixbuf
Hello.
You need to tell gtk that your window can be painted from within you
application. Just put this line of code:
gtk_widget_set_app_paintable( window, TRUE );
somewhere before gtk_widget_show function call and you should get your
application background painted.
2008/12/9 Bill Czermak [EMAIL