Re: Drawing Area issues ( continued, with example )



"Eric Cashon via gtk-perl-list" <gtk-perl-list gnome org>:
A GtkDrawingArea has it's own window to draw on.

You're right, there seems to be a lot of changes going on in this area under the hood.  I was basing my 
statement on the C code in gtk+'s master branch, where drawing areas clearly have no GdkWindow of their own:

https://git.gnome.org/browse/gtk+/tree/gtk/gtkdrawingarea.c#n301

But it looks like this is a recent change, because on the gtk-3-22 branch drawing areas do have their own 
GdkWindow:

https://git.gnome.org/browse/gtk+/tree/gtk/gtkdrawingarea.c?h=gtk-3-22#n187


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