Re: Editable lists and trees

From: Date: Tue, 20 Dec 2005 21:27:18 +0000
Subject: Re: Editable lists and trees
References: 1 2 3 4 5 6 7 8  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6461@lists.php.net to get a copy of this message
Anant Narayanan wrote:
Did you try using set_property on the text cell renderer?
Yup, and it spits something scary! Gtk-CRITICAL **: gtk_cell_layout_add_attribute: assertion `GTK_IS_CELL_RENDERER (cell)' failed Probably, the property hasn't been defined yet!
That is an error message thrown by GtkTreeViewColumn (gtk_cell_layout is an interface implemented by GtkTreeViewColumn). Make sure that the call to new GtkTreeViewColumn(...) is correct. According to that message, the second argument is not a GtkCellRenderer descendant. If it is correct, you might want to shrink your code down to a small test script and send this one to the dev list. Scott

« previous php.gtk.general (#6461) next »