diff options
author | Daniel Boles <dboles.src@gmail.com> | 2018-04-03 20:01:54 +0100 |
---|---|---|
committer | Daniel Boles <dboles.src@gmail.com> | 2018-04-17 19:07:39 +0100 |
commit | 331f9762cc7bb3c8fc33b4844cdf10042520f643 (patch) | |
tree | 5d7dd7014eccc189af6665de1cf05057ee74a78b /gtk/gtkcellrenderer.c | |
parent | aaf2e30a483c9c6cddcdcca5c53352d7d7d55b70 (diff) | |
download | gtk+-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.c | 3 |
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 |