RE: [gtkmm] Glib critical messages on Property<>
- From: Murray Cumming Comneon com
- To: fnaumann cs uni-magdeburg de, gtkmm-list gnome org
- Subject: RE: [gtkmm] Glib critical messages on Property<>
- Date: Thu, 27 Mar 2003 17:58:19 +0100
Glib::Property<> wraps existing properties. It doesn't add properties. You
would need to use the Glib API for that. If you want to be able to add
properties from C++ code then please submit a gtkmm 2.4 bug.
Murray Cumming
murrayc usa net
www.murrayc.com
> -----Original Message-----
> From: Frank Naumann [mailto:fnaumann cs uni-magdeburg de]
> Sent: Donnerstag, 27. März 2003 17:30
> To: gtkmm-list gnome org
> Subject: [gtkmm] Glib critical messages on Property<>
>
>
> Hello!
>
> From the examples/cellrenderercustom directory I used the
> cellrenderertoggle.cc example as base for my own customized
> cellrenderer.
>
> I added to the MyCellRendererToggle class a new property
> "Property<class
> myclass *> data" and connected it in the same way as it's done for
> "Property<bool> active".
>
> But on runtime I get these messages:
>
> (main.exe:10701): GLib-GObject-CRITICAL **: file gvalue.c: line 103
> (g_value_copy): assertion `g_value_type_compatible (G_VALUE_TYPE
> (src_value), G_VALUE_TYPE (dest_value))' failed
>
> Do I something wrong here? I searched in the docu and the
> FAQs but I found
> nothing about my problem. Are there any restrictions for
> Glib::Value<T*>?
>
>
> Regards,
> Frank
>
>
> _______________________________________________
> 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]