Constructor
GimpUiColorAreanew
Declaration [src]
GtkWidget*
gimp_color_area_new (
const GimpRGB* color,
GimpColorAreaType type,
GdkModifierType drag_mask
)
Description [src]
Creates a new GimpColorArea
widget.
This returns a preview area showing the color. It handles color DND. If the color changes, the “color_changed” signal is emitted.
Parameters
color |
GimpRGB |
A pointer to a |
|
The data is owned by the caller of the function. | |
type |
GimpColorAreaType |
The type of color area to create. |
|
drag_mask |
GdkModifierType |
The event_mask that should trigger drags. |
Return value
Returns: | GtkWidget |
Pointer to the new |
|
The data is owned by the called function. |