]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkdrawingarea.c
Fix problems with state propagation
[~andy/gtk] / gtk / gtkdrawingarea.c
index 6f8272b15489891430421fad34217cc43c949890..fc16e1532ce1c84806c12b65e442b2322ce2680d 100644 (file)
  *
  * To receive mouse events on a drawing area, you will need to enable
  * them with gtk_widget_add_events(). To receive keyboard events, you
- * will need to set the #GTK_CAN_FOCUS flag on the drawing area, and
+ * will need to set the "can-focus" property on the drawing area, and you
  * should probably draw some user-visible indication that the drawing
- * area is focused. Use the GTK_HAS_FOCUS() macro in your expose event
+ * area is focused. Use gtk_widget_has_focus() in your expose event
  * handler to decide whether to draw the focus indicator. See
- * gtk_paint_focus() for one way to draw focus.
+ * gtk_render_focus() for one way to draw focus.
  */
 
 static void gtk_drawing_area_realize       (GtkWidget           *widget);