Re: phpgtk2 background image
| From: | thomas favennec | Date: | Fri, 11 Aug 2006 12:23:43 +0000 |
| Subject: | Re: phpgtk2 background image | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7085@lists.php.net to get a copy of this message | ||
Hi,
I would like to do that :
$s=$widget->get_style();
$s=$s->copy();
$s->bg_pixmap[Gtk::STATE_NORMAL]=$pixmap;
$widget->set_style($s);
But pixmap is depracated !!!
and " Warning: Can only assign a GdkPixmap object or null " !
Do you kow other way to insert image background ?
Thanks.
Thomas.