[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk
Subject:    Re: OpenGL drawing to widget actually draws in the whole window
From:       Michael Goffioul <michael.goffioul () gmail ! com>
Date:       2010-08-10 15:58:52
Message-ID: AANLkTi=m13M6w+ObNNh4wrspZv_oh6vXUBnsYYBqTh73 () mail ! gmail ! com
[Download RAW message or body]

I reported the exact same problems very recently (less than one month ago).
I'm using Windows and apparently the only OpenGL viable solution at the moment
under Windows is to use gtk+-2.16.

I've tried the GDK_NATIVE_WINDOWS trick, but it leads to various other
problems under Windows (maybe not under other platforms) and is unusable.

Michael.


On Tue, Aug 10, 2010 at 2:30 PM, Tadej Borovšak <tadeboro@gmail.com> wrote:
> Hi.
>
> GTK+-2.18 introduced client-side windows, which means that not all
> GdkWindows are now backed with native window. The only GdkWindow that
> is always backed by native window is applicaition's toplevel window.
>
> This probably explains why your drawing would end-up on the toplevel.
> It is possible to set GDK_NATIVE_WINDOWS env variable, in which case
> all GdkWindows will be native windows like in GTK+>2.18.
>
> Tadej
>
> --
> Tadej Borovšak
> tadeboro.blogspot.com
> tadeboro@gmail.com
> tadej.borovsak@gmail.com
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic