Transparent Titles
- From: James Brady <jcb62 cam ac uk>
- To: sawfish-list gnome org
- Subject: Transparent Titles
- Date: Wed, 24 Nov 2004 12:28:39 +0000
Hi all,
I've been trying to configure my theme to get transparent title
bars, i.e. the window name on a transparent background.
Up to now I've tried a tiled transparent backing image:
(title
(let ((title-t (make-image "transparent.png")))
(image-put title-t `tiled t)
(list title-t title-t)))
and also a tiled non-transparent backing image with the shape-color
defined:
(title
(let ((title-t (make-image "title-backing-alt.png")))
(image-put title-t `tiled t)
(set-image-shape-color title-t (get-color "black"))
(list title-t title-t)))
Here's how I use them:
((background . ,title)
(foreground . ,font-colors)
(text . ,window-name)
(x-justify . center)
(y-justify . center)
(width . ,(lambda (w) (title-width w)))
(height . 18)
(class . title))
Both of these approaches give a transparent title bar, but the window
name is not displayed at all.
Does anyone have any ideas how I can get this working?
Thanks a lot,
James
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]