Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef _GO_COMBO_COLOR_H_
00031 #define _GO_COMBO_COLOR_H_
00032
00033 #include <goffice/goffice.h>
00034
00035 G_BEGIN_DECLS
00036
00037 #define GO_TYPE_COMBO_COLOR (go_combo_color_get_type ())
00038 #define GO_COMBO_COLOR(o) (G_TYPE_CHECK_INSTANCE_CAST((o), GO_TYPE_COMBO_COLOR, GOComboColor))
00039 #define GO_IS_COMBO_COLOR(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GO_TYPE_COMBO_COLOR))
00040 #define GO_COMBO_COLOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST(k), GO_TYPE_COMBO_COLOR)
00041
00042 typedef struct _GOComboColor GOComboColor;
00043
00044 GType go_combo_color_get_type (void);
00045 GtkWidget *go_combo_color_new (GdkPixbuf *icon,
00046 char const *no_color_label,
00047 GOColor default_color,
00048 GOColorGroup *color_group);
00049 GOColor go_combo_color_get_color (GOComboColor *cc, gboolean *is_default);
00050 void go_combo_color_set_color (GOComboColor *cc, GOColor color);
00051 void go_combo_color_set_color_to_default (GOComboColor *cc);
00052 void go_combo_color_set_color_gdk (GOComboColor *cc, GdkRGBA *color);
00053
00054 void go_combo_color_set_allow_alpha (GOComboColor *cc, gboolean allow_alpha);
00055 void go_combo_color_set_instant_apply (GOComboColor *cc, gboolean active);
00056
00057 G_END_DECLS
00058
00059 #endif