Function

GimpUiwidget_get_color_profile

unstable since: 3.0

Declaration [src]

GimpColorProfile*
gimp_widget_get_color_profile (
  GtkWidget* widget
)

Description [src]

This function returns the GimpColorProfile of the monitor widget is currently displayed on, or NULL if there is no profile configured.

Available since: 3.0

Parameters

widget

Type: GtkWidget

A GtkWidget.

The data is owned by the caller of the function.

Return value

Type: GimpColorProfile

widgets monitor’s GimpColorProfile, or NULL.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.