[ CCode ( cname = "gimp_label_color_new" , has_construct_function = false , type = "GtkWidget*" ) ]
public LabelColor (string label, Color color, bool editable)
Creates a LabelColor which contains a widget and displays a color area.
By default, the color area is of type gimp_color_area_small_checks, which means transparency of
color will be shown.
Moreover in the non-editable case, the color is draggable to other widgets accepting color drops with buttons 1 and 2. In the editable
case, the label is reused as the color chooser's dialog title.
If you wish to customize any of these default behaviors, get the ColorArea or ColorButton with get_color_widget.
| label |
The text for the Label. |
| color |
The color displayed. |
|
The new LabelColor widget. |