Le samedi 21 juin 2014 à 09:55 -0400, Paul Davis a écrit : > > > > On Sat, Jun 21, 2014 at 9:44 AM, Jean Brefort > <jean.bref...@normalesup.org> wrote: > Both abiword and gnumeric do something like: > > cr = gdk_cairo_create(win); > ...do some drawing > then relase the cairo. > > Will this still work if we use > > gdk_window_begin_paint_rect (win, rect); > cr = gdk_cairo_create (win); > ...do some drawing > gdk_window_end_paint (win); > > > you're drawing on the window outside of an expose/draw event? >
Yes, because using draw events presents serious performance issues. Jean _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list