GimpUi.widget_get_color_profile

@accepts(Gtk.Widget)
@returns(Gimp.ColorProfile)
def widget_get_color_profile(widget):
    # Python wrapper for gimp_widget_get_color_profile()
  

This function returns the Gimp.ColorProfile of the monitor widget is currently displayed on, or None if there is no profile configured.

Since 3.0

widget

a Gtk.Widget

Returns