CellRenderer: Entry is not the only CellEditable
authorDaniel Boles <dboles.src@gmail.com>
Mon, 2 Apr 2018 12:01:02 +0000 (13:01 +0100)
committerDaniel Boles <dboles.src@gmail.com>
Tue, 17 Apr 2018 18:07:39 +0000 (19:07 +0100)
so link to GtkCellEditable and note that GtkEntry is just one example.

gtk/gtkcellrenderer.c

index 2a837083e158d520e8a60bf05b72763d028f316a..46f0189a1b0a43f9fd8328ca75f2aa942724d7ee 100644 (file)
@@ -60,7 +60,8 @@
  * “activatable” like #GtkCellRendererToggle,
  * which toggles when it gets activated by a mouse click, or it can be
  * “editable” like #GtkCellRendererText, which
- * allows the user to edit the text using a #GtkEntry.
+ * allows the user to edit the text using a widget implementing the
+ * #GtkCellEditable interface, e.g. #GtkEntry.
  * To make a cell renderer activatable or editable, you have to
  * implement the #GtkCellRendererClass.activate or
  * #GtkCellRendererClass.start_editing virtual functions, respectively.