GimpUi.ColorHexEntry¶
- Subclasses:
 None
Methods¶
- Inherited:
 Gtk.Entry (76), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.CellEditable (3), Gtk.Editable (13)
- Structs:
 
class  | 
  | 
  | 
|
  | 
Virtual Methods¶
Properties¶
- Inherited:
 
Style Properties¶
- Inherited:
 
Signals¶
- Inherited:
 Gtk.Entry (15), Gtk.Widget (69), GObject.Object (1), Gtk.CellEditable (2), Gtk.Editable (3)
Name  | 
Short Description  | 
|---|---|
Fields¶
Class Details¶
- class GimpUi.ColorHexEntry(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
Widget for entering a color’s hex triplet. The syntax follows CSS and SVG specifications, which means that only sRGB colors are supported.
- classmethod new()¶
 - Returns:
 a new
GimpUi.ColorHexEntrywidget- Return type:
 
New in version 2.2.
- get_color()¶
 - Returns:
 the color stored in self.
- Return type:
 
Retrieves the color value displayed by a
GimpUi.ColorHexEntry.New in version 2.2.
- set_color(color)¶
 - Parameters:
 color (
Gegl.Color) – the color to set.
Sets the color displayed by a
GimpUi.ColorHexEntry. If the new color is different to the previously set color, the “color-changed” signal is emitted.New in version 2.2.
Signal Details¶
- GimpUi.ColorHexEntry.signals.color_changed(color_hex_entry)¶
 - Signal Name:
 color-changed- Flags:
 - Parameters:
 color_hex_entry (
GimpUi.ColorHexEntry) – The object which received the signal