Re: [gtkmm] Gtk::CellRenderer, GLib::Property<>, and associated adventures
- From: Daniel Elstner <daniel elstner gmx net>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] Gtk::CellRenderer, GLib::Property<>, and associated adventures
- Date: 23 Oct 2002 01:46:20 +0200
Am Die, 2002-10-22 um 02.42 schrieb Robert B. Quattlebaum Jr.:
> That has helped out quite a bit, but now I appear to have another issue
> -- once again with Glib::Property<>.
>
> I'm using a class that I wrote as the property type... Everything
> compiles, but when the Gtk::TreeView tries to set that "custom type"
> property, it seems as though it insists on thinking that the data in the
> model is a gint64 rather than my own class (which happens to be the same
> size, I don't know if that is just coincidence). I'm not using a gint64
> anywhere.
>
> This is the runtime warning I get:
>
> (sinfgstudio:4697): GLib-GObject-WARNING **: unable to set property
> `datanode' of type
> `glibmm__CustomBoxed_Q23etlt6handle1ZQ25sinfg8DataNode' from value of
> type `gint64'
Just FYI: Robert and I sorted this out on IRC. Glib::PropertyProxy<>
does indeed work with custom types too.
--Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]