Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » GTK+
  • » changing text colors in .gtkrc.mine [RSS Feed]

#1 Nov. 30, 2005 22:24:46

Alexander S.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

changing text colors in .gtkrc.mine


Hey.Well... I'm going slightly mad after trying to change colors for gnome-terminal for about 2 weeks or so.This is unreal...The following very simple .gtkrc.mine filestyle "demiurg-test" = "bluecurve-default"{        bg = "#000000"        bg = "#000000"        fg = "#ffffff"        text = "#ffffff"}class "GtkWidget" style "demiurg-test"well... I can't even say that it does not work, since it does work, but
for some very selected applications, for instance "winetools",which I discovered accidentally since for most applications, like gnome-terminal it does not !!!This is driving me crazy... I googled for hours and read every documentation I could find, but could not resolve this mystery...Any help would be appriciated.P.S. I'm using out of the box CentOS 4.2 distribution.--Alexander Sirotkin_______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

#2 Dec. 1, 2005 09:57:01

Dmitry K.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

changing text colors in .gtkrc.mine


Alexander Sirotkin wrote:Hey.Well... I'm going slightly mad after trying to change colors forgnome-terminal for about 2 weeks or so.This is unreal...

The following very simple .gtkrc.mine file

style "demiurg-test" = "bluecurve-default"
{
bg = "#000000"
bg = "#000000"
fg = "#ffffff"
text = "#ffffff"
}

class "GtkWidget" style "demiurg-test"well... I can't even say that it does not work, since it does work,but for some very selected applications, for instance "winetools",which I discovered accidentally since for most applications, likegnome-terminal it does not !!!This is driving me crazy... I googled for hours and read everydocumentation I could find, but could not resolve this mystery...Any help would be appriciated.

P.S. I'm using out of the box CentOS 4.2 distribution.My understanding of this "mystery" is that style definition works in themost intuitive way: more specific widget selection for a style overridesless specific one. In other words, if you're setting a style for aconcrete widget or widget class, this style overrides the style definedfor all the widget types. Thus, your style definition for all the widgetclasses just gets overriden by more specific ones.wbr, Dmitry.

_______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

#3 Dec. 2, 2005 16:58:42

Alexander S.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

changing text colors in .gtkrc.mine


Thanks.I thought about it too. In that case, the question is - how can I find
the appropriate widget class for gnome-terminal, or any other
application I would want to modify the theme for ?Thanks a lot.On 12/1/05,Dmitry Konyshev<> wrote:Alexander Sirotkin wrote:> Hey.>> Well... I'm going slightly mad after trying to change colors for> gnome-terminal for about 2 weeks or so.> This is unreal...>> The following very simple .gtkrc.mine file>> style "demiurg-test" = "bluecurve-default"> {>         bg = "#000000">         bg = "#000000">         fg = "#ffffff">         text = "#ffffff"> }>> class "GtkWidget" style "demiurg-test">> well... I can't even say that it does not work, since it does work,> but for some very selected applications, for instance "winetools",> which I discovered accidentally since for most applications, like> gnome-terminal it does not !!!>> This is driving me crazy... I googled for hours and read every> documentation I could find, but could not resolve this mystery...> Any help would be appriciated.>> P.S. I'm using out of the box CentOS 4.2 distribution.>My understanding of this "mystery" is that style definition works in themost intuitive way: more specific widget selection for a style overridesless specific one. In other words, if you're setting a style for aconcrete widget or widget class, this style overrides the style definedfor all the widget types. Thus, your style definition for all the widgetclasses just gets overriden by more specific ones.wbr, Dmitry.--Alexander Sirotkin_______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

  • Root
  • » GTK+
  • » changing text colors in .gtkrc.mine [RSS Feed]

Board footer

Moderator control

Enjoy the 22nd of January
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support