[Gtk-sharp-list] CellRenderer custom properties
adslh3nu at tpg.com.au
Tue May 24 16:38:16 EDT 2005
On Wed, 2005-05-25 at 02:00, gtk-sharp-list-request at lists.ximian.com
> I end up with errors like:
> (<unknown>:19256): GLib-GObject-WARNING **: IA__g_object_set_property:
> object class `CellRendererCustom' has no property named `test'
> (I'm trying to define a string property called 'test'). I know I can use
> a TreeCellDataFunc function (as in progress bar example), but that's not
> really "clean" and not "portable".
Not sure if this is what you're after, but you could do
((GLib.Object)some_object).Data["some_property_name"] = some_value;
See GLib.Object in Monodoc.
More information about the Gtk-sharp-list