Miguel de Icaza wrote: > There are a handful of Gtk# questions. I just forwarded one. > > > ------------------------------------------------------------------------ > > Subject: > [Mono-dev] TreeModelAdapter vs CellRendererCombo > From: > Magnus Henoch <[EMAIL PROTECTED]> > Date: > Mon, 15 Oct 2007 12:11:29 +0200 > To: > mono-devel-list@lists.ximian.com > > To: > mono-devel-list@lists.ximian.com
Please send questions about Gtk# to gtk-sharp-list in the future, so we can keep the discussion archives in one place where others will hopefully find them. > However, when I try to use it with a CellRendererCombo: > > combo = CellRendererCombo() > combo.Model = TreeModelAdapter(chainsModel) > combo.TextColumn = 0 > combo.Editable = true > > I get this warning: > > (editor:8956): GLib-GObject-WARNING **: unable to set property `model' of > type `GtkTreeModel' from value of type `GtkSharpValue' > > and the combo box does nothing when clicked. > > Is this a bug or user error? Bug. I need to add a GLib.Value ctor for the interface adapters. I'll commit a fix to trunk. Thanks for the report. Mike _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list