Re: [java-gnome-hackers] GtkCellRendererCombo - help appreciated
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2008-09-15 17:51:26
|
On Sun, 2008-09-14 at 00:36 +0200, Stefan Prelle wrote: > org.gnome.glib.FatalError: Gtk-CRITICAL > gtk_cell_renderer_combo_set_property: assertion `GTK_IS_TREE_MODEL > (object)' failed So one quick thought (I'm not sure if this helps) is that GtkTreeModel is [natively in GLib terms] an interface, not an object. Ordinarily a bunch of crazy casting takes care of this, but in the case of working with GValues and GTypes, I'm not sure. > So that means there is currently no simple workaround to get the > CellRendererCombo working? I don't think the problem is insurmountable. Worst case scenario we just do an override code path for this (though if we keep doing that sort of thing will aggregate cruft, which is why I discussed a possible code generator solution in the previous email). Ping me on IRC and we can talk more about it. It would really help if you wrote a tinsy Example or Snapshot which demonstrates the problem and added it to the branch and sent it along to us... then we could see what you're trying to do. AfC Sydney |