How to use Gdk.Rgba.new in SML with Giraffe
val red_color = Gdk.Rgba.new { red = 1.0, green = 0.0, blue = 0.0, alpha = 1.0 }
val color_button = Gtk.ColorButton.newWithRgba(red_color)
How to config ColorButton in Poly/ML with Giraffe
Now I have created a ColorButton, when clicked a color picker pops up and the user can pick a color.