drawingarea: Clarify some comments

This commit is contained in:
Timm Bäder 2018-06-18 11:17:41 +02:00
parent 3756234708
commit d8274856de

View File

@ -60,9 +60,6 @@ static GParamSpec *props[LAST_PROP] = { NULL, };
* elements. Its essentially a blank widget; you can draw on it. After
* creating a drawing area, the application may want to connect to:
*
* - Mouse and button press signals to respond to input from
* the user.
*
* - The #GtkWidget::realize signal to take any necessary actions
* when the widget is instantiated on a particular display.
* (Create GDK resources in response to this signal.)
@ -77,10 +74,6 @@ static GParamSpec *props[LAST_PROP] = { NULL, };
* area to display a circle in the normal widget foreground
* color.
*
* Note that GDK automatically clears the exposed area before causing a
* redraw, and that drawing is implicitly clipped to the exposed
* area.
*
* ## Simple GtkDrawingArea usage
*
* |[<!-- language="C" -->
@ -436,7 +429,7 @@ gtk_drawing_area_get_content_height (GtkDrawingArea *self)
* function.
*
* If what you are drawing does change, call gtk_widget_queue_draw() on the
* drawing area. This will call a redraw and will call @draw_func again.
* drawing area. This will cause a redraw and will call @draw_func again.
*/
void
gtk_drawing_area_set_draw_func (GtkDrawingArea *self,