Change the active item collor from blue dark

Asked by ValentinV

Hello everyone i love kupfer .. it is just great hope you will continue to develop it.

I have a small question :)

How can i change the color for the active item from the BLUE Dark to something else ... I searched all the kupfer filles but haven`t found the color :) i changed the color for thext from light blue to light gray but this one i can`t find

Thank you

Question information

English Edit question
kupfer Edit question
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
X (u78qir8a9-deactivatedaccount) said :

Hi, the color is set here in kupfer/ui/ line 235:

selectedc =[gtk.STATE_SELECTED]

the color used is GtkEntry's color for the selected state. Hence, the color is fetched from the GTK theme. You could change it (like the next line) to be something defined instead: gtk.gdk.color_parse("light blue")

Revision history for this message
ValentinV (valentinverde) said :

so the way it is now it should get the collor from the current GTK theme? it doesn`t it would be nice if the color would change with the theme . but for now i will try to change it

Thank you very much .

Revision history for this message
X (u78qir8a9-deactivatedaccount) said :

The color is *derived* from the current GTK theme. It might be incorrectly derived still, it's not optimal. Do you have an example where the color doesn't look good with the theme?

Revision history for this message
ValentinV (valentinverde) said :
There is no blue in my theme :) but the active tab is blue and also with all other theme the color is the same dark blue

Can you help with this problem?

Provide an answer of your own, or ask ValentinV for more information if necessary.

To post a message you must log in.