CellRenderer: Link to CellEditable.start_editing()
authorDaniel Boles <dboles.src@gmail.com>
Tue, 3 Apr 2018 19:01:54 +0000 (20:01 +0100)
committerDaniel Boles <dboles.src@gmail.com>
Tue, 17 Apr 2018 18:07:39 +0000 (19:07 +0100)
...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

gtk/gtkcellrenderer.c

index 8abb0bf4d36cdf68a84707395dcebf04de299b32..9bbfd4a3ec88c84f6afc23912f597bffe6b4e5d7 100644 (file)
@@ -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