Re: gtk_widget_queue_draw_area() vs gdk_window_invalidate_rect()

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

 



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@xxxxxxxxxxxx> 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@xxxxxxxxx
> https://mail.gnome.org/mailman/listinfo/gtk-list



-- 
https://www.bassi.io
[@] ebassi [@gmail.com]
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux