LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: auroraeosrose@php.net Date: Thu Jun 5 07:27:11 2008 Subject: #45185 [Opn->Bgs]: creating a GtklistStore
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
| Navigate in group php.gtk.dev at sever news.php.net | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by Zareef Ahmed
Powered By PHP Consultants |