On Wed, 2005-05-25 at 02:00, [EMAIL PROTECTED]
wrote:

> 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.

Bryan

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to