Gimp.objects

ColorProfile

  • :Constructors:

    ::

    ColorProfile(**properties)
    new_d50_gray_lab_trc() -> Gimp.ColorProfile
    new_d65_gray_linear() -> Gimp.ColorProfile
    new_d65_gray_srgb_trc() -> Gimp.ColorProfile
    new_from_file(file:Gio.File) -> Gimp.ColorProfile or None
    new_from_icc_profile(data:list) -> Gimp.ColorProfile or None
    new_from_lcms_profile(lcms_profile=None) -> Gimp.ColorProfile or None
    new_rgb_adobe() -> Gimp.ColorProfile
    new_rgb_srgb() -> Gimp.ColorProfile
    new_rgb_srgb_linear() -> Gimp.ColorProfile

Runtime attributes

  • g_type_instance
  • props
  • qdata
  • ref_count

Runtime functions

  • bind_property(bound native)
    • documentation unavailable
  • bind_property_full(self, *args, **kargs)
    • documentation unavailable
  • chain(bound native)
    • documentation unavailable
  • compat_control(self, *args, **kargs)
    • documentation unavailable
  • connect(bound native)
    • documentation unavailable
  • connect_after(bound native)
    • documentation unavailable
  • connect_data(self, detailed_signal, handler, *data, **kwargs)
    • Connect a callback to the given signal with optional user data.

      :param str detailed_signal:
      A detailed signal to connect to.
      :param callable handler:
      Callback handler to connect to the signal.
      :param *data:
      Variable data which is passed through to the signal handler.
      :param GObject.ConnectFlags connect_flags:
      Flags used for connection options.
      :returns:
      A signal id which can be used with disconnect.
  • connect_object(bound native)
    • documentation unavailable
  • connect_object_after(bound native)
    • documentation unavailable
  • disconnect(*args, **kwargs)
    • signal_handler_disconnect(instance:GObject.Object, handler_id:int)
  • disconnect_by_func(bound native)
    • documentation unavailable
  • emit(bound native)
    • documentation unavailable
  • emit_stop_by_name(self, detailed_signal)
    • Deprecated, please use stop_emission_by_name.
  • find_property(*args, **kwargs)
    • find_property(self, property_name:str) -> GObject.ParamSpec
  • force_floating(self, *args, **kargs)
    • documentation unavailable
  • freeze_notify(self)
    • Freezes the object’s property-changed notification queue.

      :returns:
      A context manager which optionally can be used to
      automatically thaw notifications.

      This will freeze the object so that “notify” signals are blocked until
      the thaw_notify() method is called.

      .. code-block:: python

      with obj.freeze_notify():
      pass
  • get_copyright(*args, **kwargs)
    • get_copyright(self) -> str
  • get_data(self, *args, **kargs)
    • documentation unavailable
  • get_description(*args, **kwargs)
    • get_description(self) -> str
  • get_format(*args, **kwargs)
    • get_format(self, format:Babl.Object, intent:Gimp.ColorRenderingIntent) -> Babl.Object
  • get_icc_profile(*args, **kwargs)
    • get_icc_profile(self) -> list
  • get_label(*args, **kwargs)
    • get_label(self) -> str
  • get_lcms_format(*args, **kwargs)
    • get_lcms_format(format:Babl.Object) -> Babl.Object or None, lcms_format:int
  • get_lcms_profile(*args, **kwargs)
    • get_lcms_profile(self)
  • get_manufacturer(*args, **kwargs)
    • get_manufacturer(self) -> str
  • get_model(*args, **kwargs)
    • get_model(self) -> str
  • get_properties(bound native)
    • documentation unavailable
  • get_property(bound native)
    • documentation unavailable
  • get_qdata(self, *args, **kargs)
    • documentation unavailable
  • get_space(*args, **kwargs)
    • get_space(self, intent:Gimp.ColorRenderingIntent) -> Babl.Object
  • get_summary(*args, **kwargs)
    • get_summary(self) -> str
  • getv(*args, **kwargs)
    • getv(self, names:list, values:list)
  • handler_block(obj, handler_id)
    • Blocks the signal handler from being invoked until
      handler_unblock() is called.

      :param GObject.Object obj:
      Object instance to block handlers for.
      :param int handler_id:
      Id of signal to block.
      :returns:
      A context manager which optionally can be used to
      automatically unblock the handler:

      .. code-block:: python

      with GObject.signal_handler_block(obj, id):
      pass
  • handler_block_by_func(bound native)
    • documentation unavailable
  • handler_disconnect(*args, **kwargs)
    • signal_handler_disconnect(instance:GObject.Object, handler_id:int)
  • handler_is_connected(*args, **kwargs)
    • signal_handler_is_connected(instance:GObject.Object, handler_id:int) -> bool
  • handler_unblock(*args, **kwargs)
    • signal_handler_unblock(instance:GObject.Object, handler_id:int)
  • handler_unblock_by_func(bound native)
    • documentation unavailable
  • install_properties(*args, **kwargs)
    • install_properties(self, pspecs:list)
  • install_property(*args, **kwargs)
    • install_property(self, property_id:int, pspec:GObject.ParamSpec)
  • interface_find_property(self, *args, **kargs)
    • documentation unavailable
  • interface_install_property(self, *args, **kargs)
    • documentation unavailable
  • interface_list_properties(self, *args, **kargs)
    • documentation unavailable
  • is_cmyk(*args, **kwargs)
    • is_cmyk(self) -> bool
  • is_equal(*args, **kwargs)
    • is_equal(self, profile2:Gimp.ColorProfile) -> bool
  • is_floating(*args, **kwargs)
    • is_floating(self) -> bool
  • is_gray(*args, **kwargs)
    • is_gray(self) -> bool
  • is_linear(*args, **kwargs)
    • is_linear(self) -> bool
  • is_rgb(*args, **kwargs)
    • is_rgb(self) -> bool
  • list_properties(*args, **kwargs)
    • list_properties(self) -> list
  • new_d50_gray_lab_trc(*args, **kwargs)
    • new_d50_gray_lab_trc() -> Gimp.ColorProfile
  • new_d65_gray_linear(*args, **kwargs)
    • new_d65_gray_linear() -> Gimp.ColorProfile
  • new_d65_gray_srgb_trc(*args, **kwargs)
    • new_d65_gray_srgb_trc() -> Gimp.ColorProfile
  • new_from_file(*args, **kwargs)
    • new_from_file(file:Gio.File) -> Gimp.ColorProfile or None
  • new_from_icc_profile(*args, **kwargs)
    • new_from_icc_profile(data:list) -> Gimp.ColorProfile or None
  • new_from_lcms_profile(*args, **kwargs)
    • new_from_lcms_profile(lcms_profile=None) -> Gimp.ColorProfile or None
  • new_linear_from_color_profile(*args, **kwargs)
    • new_linear_from_color_profile(self) -> Gimp.ColorProfile or None
  • new_rgb_adobe(*args, **kwargs)
    • new_rgb_adobe() -> Gimp.ColorProfile
  • new_rgb_srgb(*args, **kwargs)
    • new_rgb_srgb() -> Gimp.ColorProfile
  • new_rgb_srgb_linear(*args, **kwargs)
    • new_rgb_srgb_linear() -> Gimp.ColorProfile
  • new_srgb_trc_from_color_profile(*args, **kwargs)
    • new_srgb_trc_from_color_profile(self) -> Gimp.ColorProfile or None
  • newv(*args, **kwargs)
    • newv(object_type:GType, parameters:list) -> GObject.Object
  • notify(*args, **kwargs)
    • notify(self, property_name:str)
  • notify_by_pspec(self, *args, **kargs)
    • documentation unavailable
  • override_property(*args, **kwargs)
    • override_property(self, property_id:int, name:str)
  • ref(self, *args, **kargs)
    • documentation unavailable
  • ref_sink(self, *args, **kargs)
    • documentation unavailable
  • replace_data(self, *args, **kargs)
    • documentation unavailable
  • replace_qdata(self, *args, **kargs)
    • documentation unavailable
  • run_dispose(*args, **kwargs)
    • run_dispose(self)
  • save_to_file(*args, **kwargs)
    • save_to_file(self, file:Gio.File) -> bool
  • set_data(self, *args, **kargs)
    • documentation unavailable
  • set_properties(bound native)
    • documentation unavailable
  • set_property(bound native)
    • documentation unavailable
  • steal_data(self, *args, **kargs)
    • documentation unavailable
  • steal_qdata(self, *args, **kargs)
    • documentation unavailable
  • stop_emission(self, detailed_signal)
    • Deprecated, please use stop_emission_by_name.
  • stop_emission_by_name(*args, **kwargs)
    • signal_stop_emission_by_name(instance:GObject.Object, detailed_signal:str)
  • thaw_notify(*args, **kwargs)
    • thaw_notify(self)
  • unref(self, *args, **kargs)
    • documentation unavailable
  • watch_closure(self, *args, **kargs)
    • documentation unavailable
  • weak_ref(bound native)
    • documentation unavailable