Re: PHP-GTK2 : Problem with draw_pixbuf within a GtkDrawingArea
| From: | Scott Mattocks | Date: | Wed, 11 Jan 2006 18:53:23 +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-6517@lists.php.net to get a copy of this message | ||
Hi Cyril,
cyril.cottet@toyota-tiee.com wrote:
I just noticed than when removing the following line from my code, the image is displayed but I cannot figure out why : $area->set_size_request($pixbuf->get_width(), $pixbuf->get_height());Have you checked the values returned from get_width and get_height? It could be that one or both of those methods are returning 0. Of course, this is just a guess so I may be way off the mark here. Scott Mattocks