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
This commit is contained in:
Daniel Boles 2018-04-03 20:01:54 +01:00
parent 2e21a2256e
commit 7f846ce7d8

View File

@ -245,6 +245,9 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
* on @editable, e.g. adding a #GtkEntryCompletion or setting * on @editable, e.g. adding a #GtkEntryCompletion or setting
* up additional columns in a #GtkComboBox. * 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 doesnt depend on the @renderer.
*
* Note that GTK+ doesn't guarantee that cell renderers will * Note that GTK+ doesn't guarantee that cell renderers will
* continue to use the same kind of widget for editing in future * continue to use the same kind of widget for editing in future
* releases, therefore you should check the type of @editable * releases, therefore you should check the type of @editable