Gegl.objects
Color
- :Constructors:
::
Color(**properties)
new(string:str) -> Gegl.Color
Runtime attributes
- g_type_instance
- parent_instance
- priv
- 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
- duplicate
(*args, **kwargs)
- duplicate(self) -> Gegl.Color
- 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_bytes
(*args, **kwargs)
- get_bytes(self, format:Babl.Object) -> GLib.Bytes
- get_cmyk
(*args, **kwargs)
- get_cmyk(self, space:Babl.Object=None) -> cyan:float, magenta:float, yellow:float, key:float, alpha:float
- get_components
(*args, **kwargs)
- get_components(self, format:GObject.Value) -> list
- get_data
(self, *args, **kargs)
- documentation unavailable
- get_format
(*args, **kwargs)
- get_format(self) -> Babl.Object
- get_hsla
(*args, **kwargs)
- get_hsla(self, space:Babl.Object=None) -> hue:float, saturation:float, lightness:float, alpha:float
- get_hsva
(*args, **kwargs)
- get_hsva(self, space:Babl.Object=None) -> hue:float, saturation:float, value:float, alpha:float
- get_properties
(bound native)
- documentation unavailable
- get_property
(bound native)
- documentation unavailable
- get_qdata
(self, *args, **kargs)
- documentation unavailable
- get_rgba
(*args, **kwargs)
- get_rgba(self) -> red:float, green:float, blue:float, alpha:float
- get_rgba_with_space
(*args, **kwargs)
- get_rgba_with_space(self, space:Babl.Object) -> red:float, green:float, blue:float, alpha:float
- 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_floating
(*args, **kwargs)
- is_floating(self) -> bool
- list_properties
(*args, **kwargs)
- list_properties(self) -> list
- new
(*args, **kwargs)
- new(string:str) -> Gegl.Color
- 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)
- set_bytes
(*args, **kwargs)
- set_bytes(self, format:Babl.Object, bytes:GLib.Bytes)
- set_cmyk
(*args, **kwargs)
- set_cmyk(self, cyan:float, magenta:float, yellow:float, key:float, alpha:float, space:Babl.Object=None)
- set_components
(*args, **kwargs)
- set_components(self, format:GObject.Value, components:list)
- set_data
(self, *args, **kargs)
- documentation unavailable
- set_hsla
(*args, **kwargs)
- set_hsla(self, hue:float, saturation:float, lightness:float, alpha:float, space:Babl.Object=None)
- set_hsva
(*args, **kwargs)
- set_hsva(self, hue:float, saturation:float, value:float, alpha:float, space:Babl.Object=None)
- set_properties
(bound native)
- documentation unavailable
- set_property
(bound native)
- documentation unavailable
- set_rgba
(*args, **kwargs)
- set_rgba(self, red:float, green:float, blue:float, alpha:float)
- set_rgba_with_space
(*args, **kwargs)
- set_rgba_with_space(self, red:float, green:float, blue:float, alpha:float, space:Babl.Object)
- 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)
- unref
(self, *args, **kargs)
- documentation unavailable
- watch_closure
(self, *args, **kargs)
- documentation unavailable
- weak_ref
(bound native)
- documentation unavailable