Re: GdkColor and Transparancy
| From: | (Aaron Bishell) | Date: | Wed, 19 Mar 2003 19:29:56 +0000 |
| Subject: | Re: GdkColor and Transparancy | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3112@lists.php.net to get a copy of this message | ||
Thanks heaps, it worked :)
Steph wrote:
> Yes. It's a colour named 'none' in .xpm files..
> ----- Original Message -----
> From: "Aaron Bishell" <aragorn@gamer.net.nz>
> To: <php-gtk-general@lists.php.net>
> Sent: Monday, March 17, 2003 10:34 AM
> Subject: [PHP-GTK] GdkColor and Transparancy
> > Two questions:
> >
> > 1. Can you use the HTML way of defining colors, e.g. #FFFFFF when
> creating
> > a new GdkColor? Example: $gdkColor=new GdkColor("#DA38D4");. It
> doesn't
> > throw errors so im assuming it works.
> >
> > 2. How do you get transparancy going (runing W32)? I make an image,
> then I
> > assign a unique "stand out" color to the "backgound" of it. When I
> create
> > the image I double check the string put into the GdkColor with the
> color I
> > want to be transparent in the .xpm file. Hoever it never makes it
> > transparent. Is transparency supported in W32?
> >
> > Any help appreciated.
> >
> >
> >
> >
> > --
> > PHP-GTK General Mailing List (http://gtk.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >