I need to get the font color of the current theme.
I found this question that explains it how to do it in C with gtk_style_lookup_color
, but it seems that the function is deprecated.
Making more researches I found the new function gtk_style_context_lookup_color
But I have problems understanding the docs. Also, when I try to call it by using Gtk.style_context_lookup_color( .. )
I get that it doesn't exists!
Is it because I need to call it with something like GtkStyleContext.style_context_lookup_color(arg1,arg2)
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…