Re: Some missing things: cannot instantioate abstract class GBoxed
| From: | Andrei Zmievski | Date: | Tue, 17 May 2005 06:46:06 +0000 |
| Subject: | Re: Some missing things: cannot instantioate abstract class GBoxed | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1284@lists.php.net to get a copy of this message | ||
Okay, i will take a look.
By the way, Markus, you have commit access to the tree. Have had it for a while, actually.
-Andrei
On May 16, 2005, at 10:30 AM, Markus Fischer wrote:
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 --PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php