Re: gtk_widget_set_double_buffered() is deprecated, so what can replace it?



hi;

On 26 November 2014 at 18:40, Lance Arsenault <lance arsenault gmail com> wrote:
Hello GTK developer,

I've read the latest docs, looked at the latest (git) GTK+3 code, and
searched the archives, and found not direct answer to this question:

1.  Is there a method, that is not deprecated, that can give the effect of
gtk_widget_set_double_buffered() for GTK3?

you can still call that function, but it's really not portable.

There are a lot of apps that must use the underlying/native drawing APIs
like libX11 and OpenGL to draw to a X11 window that is within a GTK+3.0 app.

apps using X11 to draw directly should stop doing that, because this
is not 1997 any more, and we have better drawing API.

as for GL, you're lucky: GTK+ 3.16 will have OpenGL support by
default, out of the box.

ciao,
 Emmanuele.

-- 
http://www.bassi.io
[ ] ebassi [ gmail com]


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