How to get gtkcelleditable from cellrender

Is there any way to get the gtkcelleditable, GtkEntry,GtkCombobox etc, from the cellrenderer?
I’ve looked and looked and can’t see any function.
I need to connect to the ‘changed’ signal of the gtkcelleditable (GtkEntry) so I can do some setup on the cellrender so I can update the entrycompletion

The only place I can see it exposed is the editing-started signal

thanks

Looks like the editing widget is re-created each time on the fly when cell-editing starts. So it simply doesn’t exists when you aren’t editing. That’s stated in the docs: https://developer.gnome.org/gtk3/stable/GtkCellRenderer.html#gtk-cell-renderer-start-editing.

Using the editing-started signal is the right way to setup the editing widget: https://developer.gnome.org/gtk3/stable/GtkCellRenderer.html#GtkCellRenderer-editing-started.

Yeah, thats the way I went, running changed signal after editing-started signal

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.