I am extremely annoyed to realize that it is IMPOSSIBLE to find the basic colors of the interface in v4.

Because yes, I use GTK V3 in to output this information. It's the only viable way. But Gtk V4 has removed the access to the context. That's crazy.

Suivre

So if you want to make a background and text color retrieval routine to help a graphic library adapt to the user's theme: you're screwed.

And yes. can use others colors than GTK theme. But in facts, themes provides the adapted colors for GTK. So, I will use gtk3 context for a while, then my code will be broken...

And if you're not aware about the problem, there are plenty of developers who ask this on StackOverflow, reddit... The general answer is "we changed this because we do better things now". Better ? That was a pain to find colors, now it's impossible!

Inscrivez-vous pour prendre part à la conversation
techlover

Technology lovers, here we are — (development, digital artwork, science…)