Re: Some missing things: cannot instantioate abstract class GBoxed

From: Date: Mon, 16 May 2005 17:30:02 +0000
Subject: Re: Some missing things: cannot instantioate abstract class GBoxed
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1279@lists.php.net to get a copy of this message
Hi, during development with GtkTreeView and GtkTreeStore I ran into a problem with the signals row-expanded/test-expanded-row [1]. When they're getting actived php exits with: Fatal error: Cannot instantiate abstract class GBoxed in <filename> on line 11. The line is always the Gtk::main() call. Short example (requires my latest patches): <?php $w = new GtkWindow; $s = new GtkTreeStore(Gtk::TYPE_STRING); $i = $s->append(null, array("a")); $s->append($i, array("b")); $t = new GtkTreeView($s); $t->append_column(new GtkTreeViewColumn("", new GtkCellRendererText, "text", 0)); $t->connect("row-expanded", create_function("", "")); $w->add($t); $w->show_all(); Gtk::main(); ?> cheers, - Markus [1] http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeView.html#GtkTreeView-row-expanded

« previous php.gtk.dev (#1279) next »