Re: GLib critical message



Thanks Kjell,
The scenario in your examples is very similar to mine.
I think that it can be caused by a missing implementation of that property at gtkmm bindings form gtk.
Maybe some of the gtkmm developers can give other explanation.
Cheers


De: Kjell Ahlstedt <kjell ahlstedt bredband net>
Para: Carlos Lopez Gonzalez <carloslopezgonzalez yahoo es>
CC: "gtkmm-list gnome org" <gtkmm-list gnome org>
Enviado: domingo 26 de junio de 2011 13:18
Asunto: Re: GLib critical message

Hi Carlos,

You are not the first one to get this critical message. See
http://mail.gnome.org/archives/gtkmm-list/2011-April/msg00072.html
(Deriving from Gtk::CellEditable) and the replies
http://mail.gnome.org/archives/gtkmm-list/2011-April/msg00078.html
http://mail.gnome.org/archives/gtkmm-list/2011-May/msg00008.html

Those messages don't contain any solution, unfortunately. I just mention
them FYI.

/Kjell

sön 2011-06-26 klockan 10:32 +0100 skrev Carlos Lopez Gonzalez:
> Hi!
> I have a class defined like this:
>
>
> class studio::ValueBase_Entry : public Gtk::EventBox, public
> Gtk::CellEditable
>
> I also have a class defined like this:
>
> class CellRenderer_ValueBase : public Gtk::CellRendererText
>
> This last one returns a pointer of the first one from its
> reimplementation of the virtual start_editing_vfunc member.
> When I first run the application, and I click on a cell to start
> editing it, it always shows me this message:
>
> (synfigstudio:4735): GLib-GObject-CRITICAL **: Object class
> gtkmm__CustomObject_N6studio15ValueBase_EntryE doesn't implement
> property 'editing-canceled' from interface 'GtkCellEditable'
>
>
> After that the message doesn't appear unless I close and open the
> application again and start editing a cell.
>
>
>
> So I went to Gtk::CellEditable and looked for the 'editing-canceled'
> property and I didn't found it.
> I looked into GtkCellEditable and I found it:
>
> http://developer.gnome.org/gtk/2.24/GtkCellEditable.html#GtkCellEditable--editing-canceled
>
>
> I don't have any GtkCellEditable implementation in my code. What's
> happening here?
>
>
> -G
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]