#39335 [NEW]: Unresponsive PHP-GTK2 method
| From: | phporcaffeine at gmail dot com | Date: | Wed, 01 Nov 2006 17:15:03 +0000 |
| Subject: | #39335 [NEW]: Unresponsive PHP-GTK2 method | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-3513@lists.php.net to get a copy of this message | ||
From: phporcaffeine at gmail dot com
Operating system: Win XP Pro (SP2)
PHP version: 5.1.6
PHP Bug Type: PHP-GTK related
Bug description: Unresponsive PHP-GTK2 method
Description:
------------
GKT Version: 2
PHP Version: 5.1.4 (5.1.6 was the only 5.1.x listed)
GtkAboutDialog::set_website_label() does not render any results. It
doesn't generate any noticable errors either.
It just doesn't do anything. Oddly enough though,
GtkAboutDialog::set_website() works just fine.
I have tried several implementations/uses of the method with no luck.
*******************************************************
$gktAboutDialog->set_website_label("text"); //NO LUCK
$gktAboutDialog->set_website_label($str); //NO LUCK
GtkAboutDialog::set_website_label() //NOT STATIC METHOD
********************************************************
As far as I can see, the manual makes no mention of depreciation or not
having been implemented yet.
Thanks for looking into it,
-Ryan
Reproduce code:
---------------
<?php
//GTK CLASS CHECK
if (!class_exists("gtk")) {
die("The PHP-GTK class was not detected and therefore this file cannot
continue");
}
/****************************************/
$artists = array("Artist");
$authors = array("Developer");
$title = "Application Information";
$name = "Applcation Name";
$comments = "These are the comments";
$copyright = "Copyright " . date("Y") . "© All Rights Reserved";
$license = "This is the license";
$version = "1.0.0.0";
$website = "http://www.website.com";
$websitelabel = "Web Site Text";
/**************************************/
$about = new gtkAboutDialog();
$about->set_artists($artists);
$about->set_authors($authors);
$about->set_comments($comments);
$about->set_copyright($copyright);
$about->set_license($license);
$about->set_name($name);
$about->set_version($version);
$about->set_website_label($websitelabel);
$about->set_website($website);
$about->set_title($title);
$about->connect('destroy', 'main_quit');
$about->run();
gtk::main();
?>
Expected result:
----------------
I expect to see the literal of the data I provided to the
GtkAboutDialog::set_website_label() method
Actual result:
--------------
I see nothing generated from the GtkAboutDialog::set_website_label()
method.
No errors are generated (I am using E_ALL)
--
Edit bug report at http://bugs.php.net/?id=39335&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39335&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39335&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39335&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39335&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39335&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39335&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39335&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39335&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39335&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39335&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39335&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39335&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39335&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39335&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39335&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39335&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39335&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39335&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39335&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39335&r=mysqlcfg