[ CCode ( cname = "gimp_color_area_new" , has_construct_function = false , type = "GtkWidget*" ) ]
public ColorArea (Color color, ColorAreaType type, ModifierType drag_mask)
Creates a new ColorArea widget.
This returns a preview area showing the color. It handles color DND. If the color changes, the "color_changed" signal is emitted.
| color |
A pointer to a [class@Gegl.Color]. |
| type |
The type of color area to create. |
| drag_mask |
The event_mask that should trigger drags. |
|
Pointer to the new ColorArea widget. |