[gtk+] Fixed documentation of gtk_cell_area_set_focus_cell().



commit 685fe294730f52927369e5b707d11cbfd992b22d
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Fri Jan 7 15:47:13 2011 +0900

    Fixed documentation of gtk_cell_area_set_focus_cell().

 gtk/gtkcellarea.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c
index 7c635f6..e859c8d 100644
--- a/gtk/gtkcellarea.c
+++ b/gtk/gtkcellarea.c
@@ -2945,11 +2945,12 @@ gtk_cell_area_activate (GtkCellArea         *area,
  * @area: a #GtkCellArea
  * @renderer: the #GtkCellRenderer to give focus to
  *
- * This is generally called from #GtkCellArea implementations
- * either gtk_cell_area_grab_focus() or gtk_cell_area_update_focus()
- * is called. It's also up to the #GtkCellArea implementation
- * to update the focused cell when receiving events from
- * gtk_cell_area_event() appropriately.
+ * Explicitly sets the currently focused cell to @renderer.
+ *
+ * This is generally called by implementations of
+ * #GtkCellAreaClass.focus() or #GtkCellAreaClass.event(),
+ * however it can also be used to implement functions such
+ * as gtk_tree_view_set_cursor_on_cell().
  *
  * Since: 3.0
  */



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