This makes the code simpler and more idiomatic to GTK 4.
This allows more precise control of the style and the contents of the popover.