Gtk.ColorButton.new_with_rgba

function new_with_rgba(rgba:Gdk.RGBA):Gtk.Widget {
    // Gjs wrapper for gtk_color_button_new_with_rgba()
}

Creates a new color button.

Since 3.0

rgba

A Gdk.RGBA to set the current color with

Returns

a new color button