|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-03-16 14:38 UTC] auroraeosrose@php.net
[2008-03-17 14:44 UTC] james dot smith at cybertill dot co dot uk
[2008-09-22 11:35 UTC] auroraeosrose@php.net
[2008-09-30 01:00 UTC] php-gtk-dev at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 02:00:01 2025 UTC |
Description: ------------ While designing a Till system using php gtk2 and grabbing code from several examples. I encountered the following problem. When clicking on an item in a GtkListStore object, the callback function is either renamed/ stored incorrectly. Despite me renaming it several times the function name is not handled properly and causes characters to be misinterpreted. $sectionBasketView = GtkListStore( Gtk::TYPE_STRING, Gtk::TYPE_LONG, Gtk::TYPE_DOUBLE); . . $selection = $sectionBasketView->get_selection(); $selection->connect('changed', "on_selection"); . . function on_selection() { . . Expected result: ---------------- on_selection function execution Actual result: -------------- The error log shows that the 9th character is pushed up by 1 character code. Here is a report from the error.txt it produced. The first instance the letter "t" being replaced with a "s" character. The second instance "i" renamed the function call with a "j" at the start this in turn affected the next character "c" changing to a "b". As far as i can tell the on_selection is not used anywhere else. Is this an inbuilt command/event/property? [05-Apr-2007 17:06:32] PHP Warning: Unable to invoke signal callback 'on_selecsion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:07:37] PHP Warning: Unable to invoke signal callback 'on_jselebtion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:07:37] PHP Warning: Unable to invoke signal callback 'on_jselebtion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:09:24] PHP Warning: Unable to invoke signal callback 'aaaaaaaa' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:11] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:12] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:12] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:47] PHP Warning: Unable to invoke signal callback 'on_abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:47] PHP Warning: Unable to invoke signal callback 'on_abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:15] PHP Warning: Unable to invoke signal callback 'on_selabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:16] PHP Warning: Unable to invoke signal callback 'on_selabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:52] PHP Warning: Unable to invoke signal callback 'on_selectionabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:20] PHP Warning: Unable to invoke signal callback 'on_selecsionabc' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:20] PHP Warning: Unable to invoke signal callback 'on_selecsionabc' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:54] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:55] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:55] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331