On 7 February 2011 11:23, Georg Mitterböck <[email protected]> wrote:
> I'm just trying to tell GtkViewport not draw the default background
> with gtk_widget_set_app_paintable() function, and setting background
> pixmap gdk_window_set_back_pixmap (vp->window, NULL, FALSE);
>
> it still draws the gray background.
> does anybody have a clue on how to do it?

I have this working in my app. I believe you also need to disable
gtk's double-buffering with something like:

        gtk_widget_set_double_buffered( widget, FALSE );

Otherwise gtk will initialize the temporary back buffer to the
background colour.

John
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to