How can I get the default colors in GTK?
问题 Context In GTK 3, people can set their own themes. Even the default theme (Adwaita) is provided with two variants: a light one and a dark one. As I am writing my own widget (in python), I need to get these colors in order to avoid drawing black on black or white on white. Question How can I access the default colors of the user GTK theme? Things that don't work GtkSettings used to provide an acceptable gtk-theme-color property, but it is not there anymore and there is no reference in the doc