#45185 [Opn->Bgs]: creating a GtklistStore

From: Date: Thu, 05 Jun 2008 13:27:11 +0000
Subject: #45185 [Opn->Bgs]: creating a GtklistStore
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-4230@lists.php.net to get a copy of this message
ID: 45185 Updated by: auroraeosrose@php.net Reported By: matt at deeks dot biz -Status: Open +Status: Bogus Bug Type: PHP-GTK related Operating System: Win XP sp2 PHP Version: 5.2.6 New Comment: Starting with PHP-GTK 2.0.0 the TYPE constants were moved from the Gtk:: class to Gobject, so use Gobject::TYPE_STRING instead. This is fixed in the new documentation, but it's not on the website yet (we're migrating it to the new PHP manual format) and is also addressed in the PHP-GTK changelog http://gtk.php.net/changelog.php It was also discussed on the mailing lists - please check the mailing list archives, the irc channel, or other sources of help instead of filing bugs for coding issues. Previous Comments: ------------------------------------------------------------------------ [2008-06-05 11:51:18] matt at deeks dot biz Description: ------------ When creating a GtkListStore I get an error Reproduce code: --------------- $store = new GtkListStore(Gtk::TYPE_STRING, Gtk::TYPE_LONG); Expected result: ---------------- the list store to be created Actual result: -------------- Fatal error: Undefined class constant 'TYPE_STRING' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45185&edit=1

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