Re: PHP-GTK2 : Problem with draw_pixbuf within a GtkDrawingArea
| From: | Ron Tarrant | Date: | Wed, 11 Jan 2006 22:08:44 +0000 |
| Subject: | Re: PHP-GTK2 : Problem with draw_pixbuf within a GtkDrawingArea | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6519@lists.php.net to get a copy of this message | ||
cyril.cottet@toyota-tiee.com wrote:
And When I put back the set_size_request instruction, the image kept displaying. So now the script is running correctly as follows : $window->connect_object('destroy', array('gtk', 'main_quit')); And changing the above line to read:$window->connect_simple('destroy', array('gtk', 'main_quit')); makes it run flawlessly under PHP-Gtk2 as well. Thanks for making this public, Cyril! I was trying to figure this one out a few weeks ago and gave up. -Ron T.