Re: Error using Glade and xpm
| From: | Alan Knowles | Date: | Sat, 25 May 2002 01:39:35 +0000 |
| Subject: | Re: Error using Glade and xpm | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2051@lists.php.net to get a copy of this message | ||
pixmaps are broken on glade under windows, - known bug.. there is a class in phpmole that emulates glade (to some degree) for windows.. - where this works.
http://docs.akbkhome.com/phpmole/classes/phpglade.html
otherwise you have to destory/reload the widget with the icon after you have instantated the glade file.
regards
alan
Yannick Loiseau wrote:
Hi all, In glade, I create an button with an icon, and the glade editor correctly display it over the button. In the script, i make a: $interface = new gladeXML(_GLADEFILE_); $interface->signal_autoconnect(); Gtk::main(); and I get: Gdk-CRITICAL **: file gdkdraw.c: line 328 (gdk_draw_drawable): assertion `src != NULL' failed I'm with GTK0.5.1 PHP 4.3.0 dev under windows, the icon file is a xpm file created with Gimp... Any ideas... Thanks in advance