Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » GTK Platform color settings
GTK Platform color settings [message #117470] Wed, 27 August 2003 18:34 Go to next message
Eclipse UserFriend
Originally posted by: dcorbin.imperitek.com

Portions of eclipse use "platform colors" I cannot find any
documentation on how to set GTK colors, except on a per-application basis.

My specific need at the moment is tooltip background colors.
Re: GTK Platform color settings [message #117561 is a reply to message #117470] Wed, 27 August 2003 19:16 Go to previous messageGo to next message
Stein M. Eliassen is currently offline Stein M. EliassenFriend
Messages: 48
Registered: July 2009
Member
David Corbin wrote:
>
> Portions of eclipse use "platform colors" I cannot find any
> documentation on how to set GTK colors, except on a per-application basis.
>
> My specific need at the moment is tooltip background colors.
>

Not sure if you have seen it, but
http://eclipsewiki.swiki.net/139#color_gtk describe how to set
platform-colors.

Does it help to add the following to ~/.gtkrc?

style "tooltips"
{
font = "-adobe-helvetica-medium-r-normal--*-240-*-*-*-*-*-*"
fg[NORMAL] = { 0, 0, 58000 } # blue
bg[NORMAL] = { 65000, 65000, 40000 } # yellow
}

# Set Tooltips (GTK 1.1).
widget "gtk-tooltips" style "tooltips"

Stein
Re: GTK Platform color settings [message #118906 is a reply to message #117561] Thu, 28 August 2003 17:47 Go to previous message
Eclipse UserFriend
Originally posted by: dcorbin.imperitek.com

Stein M. Eliassen wrote:
> David Corbin wrote:
>
>> Portions of eclipse use "platform colors" I cannot find any
>> documentation on how to set GTK colors, except on a per-application
>> basis.
>>
>> My specific need at the moment is tooltip background colors.
>>
>
> Not sure if you have seen it, but
> http://eclipsewiki.swiki.net/139#color_gtk describe how to set
> platform-colors.
>
> Does it help to add the following to ~/.gtkrc?
>
> style "tooltips"
> {
> font = "-adobe-helvetica-medium-r-normal--*-240-*-*-*-*-*-*"
> fg[NORMAL] = { 0, 0, 58000 } # blue
> bg[NORMAL] = { 65000, 65000, 40000 } # yellow
> }
>
> # Set Tooltips (GTK 1.1).
> widget "gtk-tooltips" style "tooltips"
>
> Stein
>


"I wasn't aware of that. It work OK as a stop-gap, but Eclipse will be
better when it stops relying half on platform settings and half on
custom settings."
Previous Topic:compiling
Next Topic:why getFileforLocation returns null?
Goto Forum:
  


Current Time: Thu Dec 26 22:17:19 GMT 2024

Powered by FUDForum. Page generated in 0.03630 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top