GdkColor and Transparancy
| From: | (Aaron Bishell) | Date: | Mon, 17 Mar 2003 10:34:41 +0000 |
| Subject: | GdkColor and Transparancy | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3099@lists.php.net to get a copy of this message | ||
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.