Re: Windows & backgrounds
| From: | Joel De Gan | Date: | Fri, 06 Aug 2004 15:53:26 +0000 |
| Subject: | Re: Windows & backgrounds | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4938@lists.php.net to get a copy of this message | ||
(sorry didn't click to send to the list as well as you)
Hi, I wrote that tutorial.
Yes it is.
Look over the functions and you will see the function that creates the
base XPM that I use to draw on.
You can replace that with a different image (i.e. a transparent image
with a border) and draw on that as you need. I have played around with
LCD-like interfaces that do mouse-overs and hold button state etc.
But that base xpm function is the one you need to focus on.
-joeldg
On Fri, 06 Aug 2004 14:46:33 +0300, Cosmin <cosminb@as.ro> wrote:
> Is it possible to put an image(.xpm) as background to a window? or at
> least to make the window transparent?
>
> I've read this tutorial:
> http://lucifer.intercosmos.net/tut/ but it only
> modifies some xpms and then displays them.
> I need to put an image in the background and the add some buttons and
> other stuff(who will also be images or created from one with
> shape_combine_mask()) to the window.
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>