#include <goffice/goffice.h>
Go to the source code of this file.
Defines | |
#define | GO_TYPE_COMBO_COLOR (go_combo_color_get_type ()) |
#define | GO_COMBO_COLOR(o) (G_TYPE_CHECK_INSTANCE_CAST((o), GO_TYPE_COMBO_COLOR, GOComboColor)) |
#define | GO_IS_COMBO_COLOR(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GO_TYPE_COMBO_COLOR)) |
#define | GO_COMBO_COLOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST(k), GO_TYPE_COMBO_COLOR) |
Typedefs | |
typedef struct _GOComboColor | GOComboColor |
Functions | |
GType | go_combo_color_get_type (void) |
GtkWidget * | go_combo_color_new (GdkPixbuf *icon, char const *no_color_label, GOColor default_color, GOColorGroup *color_group) |
go_combo_color_new : : optionally NULL. | |
GOColor | go_combo_color_get_color (GOComboColor *cc, gboolean *is_default) |
void | go_combo_color_set_color (GOComboColor *cc, GOColor color) |
go_combo_color_set_color : : GOComboColor : a GOColor | |
void | go_combo_color_set_color_to_default (GOComboColor *cc) |
go_combo_color_set_color_to_default : : GOComboColor | |
void | go_combo_color_set_color_gdk (GOComboColor *cc, GdkRGBA *color) |
go_combo_color_set_color_gdk : : The combo : The color | |
void | go_combo_color_set_allow_alpha (GOComboColor *cc, gboolean allow_alpha) |
go_combo_color_set_allow_alpha : : GOComboColor : Support alpha layer | |
void | go_combo_color_set_instant_apply (GOComboColor *cc, gboolean active) |
go_combo_color_set_instant_apply : : GOComboColor : Whether instant apply should be active or not |
#define GO_COMBO_COLOR | ( | o | ) | (G_TYPE_CHECK_INSTANCE_CAST((o), GO_TYPE_COMBO_COLOR, GOComboColor)) |
Referenced by go_combo_color_set_title(), and EV_UnixToolbar::synthesize().
#define GO_COMBO_COLOR_CLASS | ( | k | ) | (G_TYPE_CHECK_CLASS_CAST(k), GO_TYPE_COMBO_COLOR) |
#define GO_IS_COMBO_COLOR | ( | o | ) | (G_TYPE_CHECK_INSTANCE_TYPE((o), GO_TYPE_COMBO_COLOR)) |
#define GO_TYPE_COMBO_COLOR (go_combo_color_get_type ()) |
Referenced by go_combo_color_new().
typedef struct _GOComboColor GOComboColor |
GOColor go_combo_color_get_color | ( | GOComboColor * | cc, | |
gboolean * | is_default | |||
) |
GType go_combo_color_get_type | ( | void | ) |
GtkWidget* go_combo_color_new | ( | GdkPixbuf * | icon, | |
char const * | no_color_label, | |||
GOColor | default_color, | |||
GOColorGroup * | color_group | |||
) |
go_combo_color_new : : optionally NULL.
: FIXME : The colour to use a the default : GOColorGroup
Default constructor. Pass an optional icon and an optional label for the no/auto color button.
Returns: The newly constructed combo.
: FIXME
Default constructor. Pass an optional icon and an optional label for the no/auto color button.
void go_combo_color_set_allow_alpha | ( | GOComboColor * | cc, | |
gboolean | allow_alpha | |||
) |
go_combo_color_set_allow_alpha : : GOComboColor : Support alpha layer
Should the custom colour selector allow the use of opacity.
go_combo_color_set_allow_alpha : : GOComboColor : Support alpha layer
Should the custom colour selector allow the use of opacity.
void go_combo_color_set_color | ( | GOComboColor * | cc, | |
GOColor | c | |||
) |
go_combo_color_set_color : : GOComboColor : a GOColor
void go_combo_color_set_color_gdk | ( | GOComboColor * | cc, | |
GdkRGBA * | color | |||
) |
go_combo_color_set_color_gdk : : The combo : The color
Set the color of the combo to the given color. Causes the color_changed signal to be emitted.
References GO_COLOR_FROM_GDK_RGBA, go_color_palette_set_color_to_default(), go_color_palette_set_current_color(), GO_IS_COMBO_COLOR, and _GOComboColor::palette.
void go_combo_color_set_color_to_default | ( | GOComboColor * | cc | ) |
go_combo_color_set_color_to_default : : GOComboColor
Set the color of the combo to the default color. Causes the color_changed signal to be emitted.
go_combo_color_set_color_to_default : : GOComboColor
Set the color of the combo to the default color. Causes the color_changed signal to be emitted.
void go_combo_color_set_instant_apply | ( | GOComboColor * | cc, | |
gboolean | active | |||
) |
go_combo_color_set_instant_apply : : GOComboColor : Whether instant apply should be active or not
Turn instant apply behaviour on or off. Instant apply means that pressing the button applies the current color. When off, pressing the button opens the combo.
go_combo_color_set_instant_apply : : GOComboColor : Whether instant apply should be active or not
Turn instant apply behaviour on or off. Instant apply means that pressing the button applies the current color. When off, pressing the button opens the combo.