I am currently attempting to implement a CSS stylesheet to modify the properties of my GTK/C application. Within a dialog, there is a GtkToolBar containing GtkToggleToolButtons. My goal is to have the text on these buttons appear in different colors.
In the past, I would include the following code snippet in my CSS stylesheet:
#histoToolGreen {
color: green;
}
#histoToolBlue {
color: blue;
}
This method worked successfully with GTK 3.20 (but only when the buttons were turned off). However, after updating GTK, this solution no longer works. The names of the buttons are histoToolGreen and histoToolBlue.
Could you please advise me on how to change the color of a GtkToggleToolButton using a CSS stylesheet?