Hi, I’m using gtkmm 4, I have a toolbar with buttons that open popover menus.
When a button is selected, I want to change its color, as seen in the following image:
I tried using button::selection (found in CSS Selectors Reference) but it didn’t do the trick.
When I use button:focus, the button color changes briefly, until the popover is shown, then it disappears.
When the popover is closed the focus switches the to next button for some reason. I don’t want that.
This is my css: