#37607 [Opn->Csd]: GtkTreeView::get_cursor()

From: Date: Fri, 26 May 2006 21:23:41 +0000
Subject: #37607 [Opn->Csd]: GtkTreeView::get_cursor()
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2907@lists.php.net to get a copy of this message
ID: 37607 Updated by: cweiske@php.net Reported By: niels at quotar dot com -Status: Open +Status: Closed Bug Type: PHP-GTK related Operating System: win xp PHP Version: 5.1.4 New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. This method is already implemented. I don't know which php-gtk2.dll version you have, but it is in CVS. Previous Comments: ------------------------------------------------------------------------ [2006-05-26 20:33:05] niels at quotar dot com Description: ------------ Hi, I've got the following error... Call to undefined method GtkTreeView::get_cursor() the set_cursor() function works fine... jeez, you must realy hate bugs... 4th time now, truying to submit br. Niels Berkers Reproduce code: --------------- <?php class foo{ function foo(){ /* $this->element_properties = new GtkTreeView etc. */ $this->element_properties->connect("cursor-changed" ,array($this,"moved"),"cursor-changed"); } function moved($sig){ $m =$this->element_properties->get_cursor(); } } ?> Expected result: ---------------- a digit 8-) Actual result: -------------- Call to undefined method GtkTreeView::get_cursor() ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37607&edit=1

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