Re: avoid background painting GtkWindow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7 February 2011 11:23, Georg Mitterböck <mitterboeck@xxxxxxxxxxxx> 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
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux