#37694 [Opn->Bgs]: Missing GtkCalendar::get_date() method

From: Date: Sun, 04 Jun 2006 20:58:38 +0000
Subject: #37694 [Opn->Bgs]: Missing GtkCalendar::get_date() method
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2943@lists.php.net to get a copy of this message
ID: 37694 Updated by: sfox@php.net Reported By: mr dot pounder at gmail dot com -Status: Open +Status: Bogus Bug Type: PHP-GTK related Operating System: Win32 PHP Version: 5.1.4 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. There's no officially released version of PHP-GTK 2, so if you aren't building it at home you're looking at 'something you found on the net'. That could be anything. get_date() was sorted out some time ago - if you still have problems with it (or if it's still missing) after we release the alpha, then please re-open this report. Cheers, - Steph Previous Comments: ------------------------------------------------------------------------ [2006-06-04 16:14:41] mr dot pounder at gmail dot com Description: ------------ The get_date() method for the GtkCalendar class in the Win32 DLL for PHP-GTK2 is missing, and produces a fatal error when used. Reproduce code: --------------- <?php $window=new GladeXML("calendar.glade"); $window->signal_autoconnect(); Gtk::main(); function on_calendar_day_selected() { global $window; $cal=$window->get_widget("calendar"); print_r($cal->get_date()); return; } ?> Expected result: ---------------- Array { [0]=2006 [1]=06 [2]=04 } Actual result: -------------- PHP Fatal error: Call to undefined method GtkCalendar::get_date() Fatal error: Call to undefined method GtkCalendar::get_date() ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37694&edit=1

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