I tried to copy-paste code from GTK+ (I am using gtk+-2.20.1) and created the CustomCellRendererText.h & CustomCellRendererText.c.
I also created an example by massage code from sample code at http://zetcode.com/tutorials/gtktutorial/gtktreeview/
. See the attached help.tar.gz.
I managed to compiled the code using:gcc -Iinc -g -DDEBUG `pkg-config gtkmm-2.4 --cflags` `pkg-config gtkmm-2.4 --libs` main.c
on my system. You may need to tweak it on yours.
When I run the test, if I tried to edit a row and then hit return I got the following warnings:xxx
(a.out:15567): GLib-GObject-WARNING **: IA__g_object_get_valist: object class `GtkEntry' has no property named `editing-canceled'
I pin-pointed the place where the warning come from as on line 412 of CustomCellRendererText.c. But I couldn't figure out why. g_print("xxx\n");
Could someone please help me on how this warning came into the picture? How to fix it?