Bug: activate on GtkEntry
| From: | Christian Weiske | Date: | Fri, 13 Jan 2006 09:05:13 +0000 |
| Subject: | Bug: activate on GtkEntry | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-2185@lists.php.net to get a copy of this message | ||
Hello readers,
I get a warning when using the activate signal on a GtkEntry:
<?php
//Start it and press return. Warning will come
$wnd = new GtkWindow();
$wnd->connect_simple('destroy', array('gtk', 'main_quit'));
$entry = new GtkEntry();
function echoit($value) { echo $value . "\r\n";}
$entry->connect_simple('activate', 'echoit', 'test');
$wnd->add($entry);
$wnd->show_all();
Gtk::main();
?>
Output:
> PHP Warning: PHP-GTK internal error: unsupported type (null) in
> /data/cvs/phpgtk2/php-gtk/test/bug_gtkentry_activate.phpw on line 9
> PHP Warning: Could not convert return value of signal callback
> 'echoit' to '(null)' in
> /data/cvs/phpgtk2/php-gtk/test/bug_gtkentry_activate.phpw on line 9
--
Regards/MfG,
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc