It appears that in gtk4, the gtk_style_context_get_property()
function is gone: https://developer.gnome.org/gtk4/stable/GtkStyleContext.html .
I can't seem to find any functions in gtk4 that do what it did. Basically I want to get the border color set by the current theme for a specific widget class and use it in my own custom widget.