![]() |
![]() |
![]() |
![]() |
As a consequence of the RC format going away, calling gtk_rc_parse()
or
gtk_rc_parse_string()
won't have any effect on a widgets appearance.
The way to replace these calls is using a custom GtkStyleProvider,
either for an individual widget through gtk_style_context_add_provider()
or for all widgets on a screen through gtk_style_context_add_provider_for_screen()
.
Typically, the provider will be a GtkCssProvider, which parse CSS
information from a file or from a string.
Notice that you can also get style information from custom resources by implementing the GtkStyleProvider interface yourself. This is an advanced feature that should be rarely used.