This is mostly search and replace ala GtkButton => button GtkWindow => window .button => button or removing style properties that aren't used anymore like -GtkButton-default-border: 0
The test uses a GtkBox for rendering the background, but it could use any other widget that is not used in the reference.