Op 08-09-13 21:27, Giuseppe Penone schreef:
Hi,
in my application users can control the foreground and background color of the treeview. The problem is that the expanders arrows color does not change and so it happens that is not visible. Does anybody know if it is possible to override the gtk theme in use about this?

You can change it like any other part or widget in GTK3. Just add the following to your stylesheet:

.expander {
    color: rgb(32, 74, 135);
}


Or be more precise about which treeview and do:

GtkTreeView#MyCustomView .expander {
    color: rgb(32, 74, 135);
}

And in your code:
    treeview.set_name("MyCustomView")

Cheers,
Timo

Cheers,
Giuseppe.


_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to