From 7f846ce7d834680f3b3e63638ff64eaf507d037d Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Tue, 3 Apr 2018 20:01:54 +0100 Subject: [PATCH] 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 --- gtk/gtkcellrenderer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c index e5c01414a7..085b25b4ed 100644 --- a/gtk/gtkcellrenderer.c +++ b/gtk/gtkcellrenderer.c @@ -245,6 +245,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