![]() |
![]() |
![]() |
GIMP Widgets Library Reference Manual | ![]() |
---|---|---|---|---|
GimpColorSelector; #define GIMP_COLOR_SELECTOR_SIZE #define GIMP_COLOR_SELECTOR_BAR_SIZE enum GimpColorSelectorChannel; GtkWidget* gimp_color_selector_new (GType selector_type, const GimpRGB *rgb, const GimpHSV *hsv, GimpColorSelectorChannel channel); void gimp_color_selector_set_toggles_visible (GimpColorSelector *selector, gboolean visible); void gimp_color_selector_set_toggles_sensitive (GimpColorSelector *selector, gboolean sensitive); void gimp_color_selector_set_show_alpha (GimpColorSelector *selector, gboolean show_alpha); void gimp_color_selector_set_color (GimpColorSelector *selector, const GimpRGB *rgb, const GimpHSV *hsv); void gimp_color_selector_set_channel (GimpColorSelector *selector, GimpColorSelectorChannel channel); void gimp_color_selector_color_changed (GimpColorSelector *selector); void gimp_color_selector_channel_changed (GimpColorSelector *selector);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----GimpColorSelector +----GimpColorNotebook +----GimpColorScales +----GimpColorSelect
#define GIMP_COLOR_SELECTOR_SIZE 150
The suggested size for a color area in a GimpColorSelector implementation.
#define GIMP_COLOR_SELECTOR_BAR_SIZE 15
The suggested width for a color bar in a GimpColorSelector implementation.
typedef enum { GIMP_COLOR_SELECTOR_HUE, GIMP_COLOR_SELECTOR_SATURATION, GIMP_COLOR_SELECTOR_VALUE, GIMP_COLOR_SELECTOR_RED, GIMP_COLOR_SELECTOR_GREEN, GIMP_COLOR_SELECTOR_BLUE, GIMP_COLOR_SELECTOR_ALPHA } GimpColorSelectorChannel;
GtkWidget* gimp_color_selector_new (GType selector_type, const GimpRGB *rgb, const GimpHSV *hsv, GimpColorSelectorChannel channel);
selector_type : |
|
rgb : |
|
hsv : |
|
channel : |
|
Returns : |
void gimp_color_selector_set_toggles_visible (GimpColorSelector *selector, gboolean visible);
selector : |
|
visible : |
void gimp_color_selector_set_toggles_sensitive (GimpColorSelector *selector, gboolean sensitive);
selector : |
|
sensitive : |
void gimp_color_selector_set_show_alpha (GimpColorSelector *selector, gboolean show_alpha);
selector : |
|
show_alpha : |
void gimp_color_selector_set_color (GimpColorSelector *selector, const GimpRGB *rgb, const GimpHSV *hsv);
selector : |
|
rgb : |
|
hsv : |
void gimp_color_selector_set_channel (GimpColorSelector *selector, GimpColorSelectorChannel channel);
selector : |
|
channel : |
void gimp_color_selector_color_changed (GimpColorSelector *selector);
selector : |
void gimp_color_selector_channel_changed (GimpColorSelector *selector);
selector : |
void user_function (GimpColorSelector *gimpcolorselector, gint arg1, gpointer user_data) : Run First
gimpcolorselector : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |
void user_function (GimpColorSelector *gimpcolorselector, gpointer arg1, gpointer arg2, gpointer user_data) : Run First
gimpcolorselector : |
the object which received the signal. |
arg1 : |
|
arg2 : |
|
user_data : |
user data set when the signal handler was connected. |