Gtk.ColorButton.new_with_color

function new_with_color(color:Gdk.Color):Gtk.Widget {
    // Gjs wrapper for gtk_color_button_new_with_color()
}

Creates a new color button.

Since 2.4

color

A Gdk.Color to set the current color with

Returns

a new color button