Re: Pixmap problems
- From: Paolo Molaro <lupus ximian com>
- To: gtk-perl-list gnome org
- Subject: Re: Pixmap problems
- Date: Fri, 23 Feb 2001 11:37:05 +0100
On 02/22/01 pat eyler wrote:
Gtk::Gdk::Pixmap->create_from_xpm( $applet->window,
$style,
^^^^^^^ note: what is $style here?
"./green-cloud-large.xpm" )
or die "$!";
$image = new Gtk::Pixmap( $pixmap, $mask );
$image->show();
$applet->add($image);
$applet->show();
but each time I try to run it it dies with the error:
transparent_color is not of type Gtk::Gdk::Color at ./panel.pl line 5.
You're passing $style instead of a color, see above.
lupus
--
-----------------------------------------------------------------
lupus debian org debian/rules
lupus ximian com Monkeys do it better
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]