How to style a GtkLabel with CSS



I need some help with this question: https://stackoverflow.com/questions/30791670/how-to-style-a-gtklabel-with-css

A commentor mentioned that I should attach the provider directly to the GtkLabel instead of the window, and that worked, but I'd like to have one CSS stylesheet that I attach to the window and have the styles apply to all the children.

Note that even if I use CSS classes (.label) or names (#my-label) it does not work when attached to the window.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]