Re: gtk_widget_queue_draw_area() vs gdk_window_invalidate_rect()
- From: Emmanuele Bassi <ebassi gmail com>
- To: Stefan Salewski <mail ssalewski de>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: gtk_widget_queue_draw_area() vs gdk_window_invalidate_rect()
- Date: Wed, 20 Jan 2016 20:11:35 +0000
Hi;
gtk_widget_queue_draw_area() is just a wrapper around
gdk_window_invalidate_rect().
You should use what's more convenient for your own case.
Ciao,
Emmanuele.
On 20 January 2016 at 20:02, Stefan Salewski <mail ssalewski de> wrote:
I am a bit confused...
In the past I have used gtk_widget_queue_draw_area () when parts of my
drawing area has changed. (http://ssalewski.de/PetEd.html.)
In the gtk3-demo I just saw that gdk_window_invalidate_rect () is used.
Both seems to work fine, but I have no good idea about the differences
currently. Currently I was working on a toy chess program in Nim with
Unicode chess board pieces...
_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list
--
https://www.bassi.io
[ ] ebassi [ gmail com]
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]