![]() |
![]() |
![]() |
GIMP Widgets Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Signals |
GimpColorHexEntry; GtkWidget * gimp_color_hex_entry_new (void); void gimp_color_hex_entry_set_color (GimpColorHexEntry *entry, const GimpRGB *color); void gimp_color_hex_entry_get_color (GimpColorHexEntry *entry, GimpRGB *color);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkEntry +----GimpColorHexEntry
GimpColorHexEntry implements GtkBuildable, AtkImplementorIface, GtkEditable and GtkCellEditable.
GtkWidget * gimp_color_hex_entry_new (void);
Returns : |
a new GimpColorHexEntry widget |
Since GIMP 2.2
void gimp_color_hex_entry_set_color (GimpColorHexEntry *entry, const GimpRGB *color);
Sets the color displayed by a GimpColorHexEntry. If the new color is different to the previously set color, the "color-changed" signal is emitted.
|
a GimpColorHexEntry widget |
|
pointer to a GimpRGB |
Since GIMP 2.2
void gimp_color_hex_entry_get_color (GimpColorHexEntry *entry, GimpRGB *color);
Retrieves the color value displayed by a GimpColorHexEntry.
|
a GimpColorHexEntry widget |
|
pointer to a GimpRGB |
Since GIMP 2.2
"color-changed"
signalvoid user_function (GimpColorHexEntry *gimpcolorhexentry, gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |