drawingarea: Clarify docs

Don't use gdk_window_invalidate(), use gtk_widget_queue_draw().
This commit is contained in:
Benjamin Otte 2016-10-19 18:18:31 +02:00
parent 27ab75250c
commit 8b76d12f28

View File

@ -102,8 +102,8 @@
* Draw signals are normally delivered when a drawing area first comes
* onscreen, or when its covered by another window and then uncovered.
* You can also force an expose event by adding to the damage region
* of the drawing areas window; gtk_widget_queue_draw_area() and
* gdk_window_invalidate_rect() are equally good ways to do this.
* of the drawing areas window using gtk_widget_queue_draw_region(),
* gtk_widget_queue_draw_area() or gtk_widget_queue_draw().
* Youll then get a draw signal for the invalid region.
*
* The available routines for drawing are documented on the