Reading documentation, GtkStyleContext is getting retired starting 4.10. I just got curious - what would be proper way to connect GtkCssProvider to, well, everything? Or it just happens automatically now?
Happy holidays and end of the year to everyone
ebassi
(Emmanuele Bassi)
December 23, 2022, 1:56pm
2
peteris.krisjanis:
Reading documentation, GtkStyleContext is getting retired starting 4.10. I just got curious - what would be proper way to connect GtkCssProvider to, well, everything? Or it just happens automatically now?
See: What good is GtkCssProvider without GtkStyleContext?
tl;dr: gtk_style_context_add_for_display()
has not been deprecated. Whatās been deprecated is:
GtkStyleContext
the API to look up CSS state and properties
per-widget style contexts and providers
1 Like
system
(system)
Closed
January 22, 2023, 1:56pm
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.