-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Frugalware-Art.org Artwork for Frugalware Linux 
 Arch-Stuff.org Artwork and Stuff for Arch Linux 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com    Open-PC.com   
Linux42.orgRegister  
Login  
-
- New questions .- Answered question .- Not answered question .- My questions .- Post your question here . 
Go back to the overview page to see other entries
Back to overview

1
votes
click to vote up

How to theme transparency in GTK2 menus?


Artwork - Sep 15 2011
answered
Question:Some background info: I'm making a Gtk theme based on Doom 3's UI.

I've run into a problem. I want the menu to look kind of like the attached picture.
That has transparency in a few places, and I don't know how to do that. If I leave transparent places in the image then it fills them with the background window colour. So I'm hoping that someone knows how to do this, or if not, I'm hoping someone has another idea for the menus. Thank you for reading this. :)

EDIT: Thanks for the feedback, guys, but this question is dead now, as GTK2 is fading away to GTK3.

If anyone would like to know, I did finish the theme, without transparent menus. It can be found here: http://opendesktop.org/content/show.php/Doom3?content=144201


How to theme transparency in GTK2 menus?  

PadsterPadster
editor
Home
-
Pad Ster 809

Canada, 127.0.0.1
Last visit Apr 9 2014
40 Friends

More info
Send a message
Add as friend
--

Answer:Use GIMP and the free form selection tool (or standard or circle select if they are more appropriate.)

Select the main color for that section and then under layer select Transparency >> Color To Alpha then you will also get the option to set the transparency level.




Edit answer
technoshauntechnoshaun
GnoMenu - Documentatio n Manager
-
Shaun Marolf 9

GnoMenu - Documentation Manager
United States of America, Crosby, TX
Last visit Apr 15 2014
15 Friends

More info
Send a message
Add as friend
--


Back to overview


-
.

 Thanks, but that doesn't work...

 
 by Padster on: Jul 26 2011
 
Score 50%
PadsterPadster
editor
Home
-
Pad Ster 809

Canada, 127.0.0.1
Last visit Apr 9 2014
40 Friends

More info
Send a message
Add as friend
--

I already have the image transparent, but I was wanting the GTK theme to let it work. It fills up the transparent space with the "base" colour.


101010
Reply to this

-

 Re: Thanks, but that doesn't work...

 
 by l0ll0lll on: Sep 15 2011
 
Score 50%
l0ll0llll0ll0lll
-
Ruslan Kabatsayev 19

Russian Federation, Saint-Petersburg
Last visit Mar 14 2014
0 Friends

More info
Send a message
Add as friend
--

AFAIK, there's no easy way to do what you want.
You'll most likely have to find/write/change a theme engine which would support ARGB translucency (which will only work in composited environment (e.g. compiz)) or XShape, which will have jagged edges, but will work even without compositing.
I don't know of any pixmap-based engine with these abilities.


Reply to this

-

 Re: Re: Thanks, but that doesn't work...

 
 by Padster on: Sep 15 2011
 
Score 50%
PadsterPadster
editor
Home
-
Pad Ster 809

Canada, 127.0.0.1
Last visit Apr 9 2014
40 Friends

More info
Send a message
Add as friend
--

Thanks for the feedback. I'm not working on this theme any more (finished it without transparency), and have updated the question as well.


101010
Reply to this

Add comment

Do you have a question?
Post your question here






-


Copyright 2010-2014 Linux42.org Team  Legal Notice
All rights reserved. Linux42.org is not liable for any content or goods on this site.
You can find our FAQ here.
All contributors are responsible for the lawfulness of their uploads.
Please send us a notice if you spot an ABUSE of the website.
Information about advertising in Linux42.org.
Developers can use our public webservice interface. More information here: public api
For further information or comments on this site, please send us a message