summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderer.c
diff options
context:
space:
mode:
authorDaniel Boles <dboles.src@gmail.com>2018-04-03 20:01:54 +0100
committerDaniel Boles <dboles.src@gmail.com>2018-04-17 19:07:39 +0100
commit331f9762cc7bb3c8fc33b4844cdf10042520f643 (patch)
tree5d7dd7014eccc189af6665de1cf05057ee74a78b /gtk/gtkcellrenderer.c
parentaaf2e30a483c9c6cddcdcca5c53352d7d7d55b70 (diff)
downloadgtk+-331f9762cc7bb3c8fc33b4844cdf10042520f643.tar.gz
CellRenderer: Link to CellEditable.start_editing()
...from CellRenderer::start-editing, to point people in the direction of info about the lifecycle of the Editable and how to do generic setup. https://gitlab.gnome.org/GNOME/gtk/issues/154
Diffstat (limited to 'gtk/gtkcellrenderer.c')
-rw-r--r--gtk/gtkcellrenderer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c
index 8abb0bf4d3..9bbfd4a3ec 100644
--- a/gtk/gtkcellrenderer.c
+++ b/gtk/gtkcellrenderer.c
@@ -246,6 +246,9 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
* on @editable, e.g. adding a #GtkEntryCompletion or setting
* up additional columns in a #GtkComboBox.
*
+ * See gtk_cell_editable_start_editing() for information on the lifecycle of
+ * the @editable and a way to do setup that doesn’t depend on the @renderer.
+ *
* Note that GTK+ doesn't guarantee that cell renderers will
* continue to use the same kind of widget for editing in future
* releases, therefore you should check the type of @editable