GimpUi.LabelColor.prototype.get_color_widget

function get_color_widget(): Gtk.Widget {
    // Gjs wrapper for gimp_label_color_get_color_widget()
}
  

This function returns the color widget packed in color, which can be either a GimpUi.ColorButton (if the color is editable) or a GimpUi.ColorArea otherwise.

Returns

The color widget packed in color.