Hello I am trying to add a border to my snapshot in python with the following code:
rounded_rect = Gsk.RoundedRect()
rounded_rect.init_from_rect(rect, radius=90) # rect is defined elsewhere
color = Gdk.RGBA()
color.parse("rgb(255, 255, 255)")
snapshot.append_border(rounded_rect, [5,5,5,5], color)
But I keep getting the following error: TypeError: Must be sequence, not RGBA
But the docs specify that is must be a RGBA so I am a bit lost:
https://docs.gtk.org/gtk4/method.Snapshot.append_border.html
What am I missing here?