Re: php-gtk glade mysql
| From: | Anant Narayanan | Date: | Thu, 24 Aug 2006 12:37:56 +0000 |
| Subject: | Re: php-gtk glade mysql | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7102@lists.php.net to get a copy of this message | ||
Hi Suomaf,
I am pretty sure that is the last line that is wrong. $myClassInstance->loginButton('clicked','on_loginButton_clicked',$myClassInstance,$myClassInstance->loginEntry,$myClassInstance->passwordEnty);Yes, you guessed right ;). That should be: $login = $glade->get_widget('loginButton'); $login->connect_simple('clicked', array($myClassInstance, 'on_loginButton_clicked'), $myClassInstance, $myClassInstance->loginEntry, $myClassInstance->passwordEnty); Hope this helps. Next time you might want to present just the gist of the problem, rather than presenting the whole matter to us! Cheers, - Anant