Re: How to implement transparency in GtkWidget?



Gaurav Jain <gaurav anywhere gmail com> writes:

> Hi All,
>
> I had sent this mail to the list a few days ago, but got no reply. 
> Could somebody please reply to it, or let me know where I can find the
> answer to my question?)
>
> I wish to know if it is possible to draw a GtkWidget directly to an
> offscreen bitmap (without drawing it on the screen).  I need this so
> that I can implement transparency in the widget (over it's background
> on screen), by first creating a pixmap of the widget, and then
> rendering that pixmap on the screen with a set level of transparency.
> (By the way, is there any direct way to implement transparency?).
>
IIRC, the "right" way to do is via the composite X extension present
in X.org servers. You might try googling for information how to set
that up.

Regards, Rotty
-- 
Andreas Rottmann         | Rotty ICQ      | 118634484 ICQ | a rottmann gmx at
http://yi.org/rotty      | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62

Python is executable pseudocode, Perl is executable line-noise.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]