#include <goffice/goffice.h>
Go to the source code of this file.
Defines |
#define | GO_TYPE_COLOR_PALETTE (go_color_palette_get_type ()) |
#define | GO_COLOR_PALETTE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GO_TYPE_COLOR_PALETTE, GOColorPalette)) |
#define | GO_COLOR_PALETTE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST(k), GO_TYPE_COLOR_PALETTE) |
#define | GO_IS_COLOR_PALETTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GO_TYPE_COLOR_PALETTE)) |
Typedefs |
typedef typedefG_BEGIN_DECLS
struct _GOColorPalette | GOColorPalette |
Functions |
GType | go_color_palette_get_type (void) |
GtkWidget * | go_color_palette_new (char const *no_color_label, GOColor default_color, GOColorGroup *cg) |
| go_color_palette_new: : color label : GOColor : GOColorGroup
|
GtkWidget * | go_color_palette_make_menu (char const *no_color_label, GOColor default_color, GOColorGroup *cg, char const *custom_dialog_title, GOColor current_color) |
| go_color_palette_make_menu: : color label : GOColor : GOColorGroup : optional string : GOColor
|
void | go_color_palette_set_title (GOColorPalette *p, char const *title) |
void | go_color_palette_set_group (GOColorPalette *p, GOColorGroup *cg) |
| go_color_palette_set_group : : GOColorPalette : GOColorGroup
|
void | go_color_palette_set_current_color (GOColorPalette *p, GOColor color) |
void | go_color_palette_set_color_to_default (GOColorPalette *p) |
GOColor | go_color_palette_get_current_color (GOColorPalette *p, gboolean *is_default, gboolean *is_custom) |
void | go_color_palette_set_allow_alpha (GOColorPalette *p, gboolean allow_alpha) |
Define Documentation
#define GO_COLOR_PALETTE |
( |
|
obj |
) |
(G_TYPE_CHECK_INSTANCE_CAST((obj), GO_TYPE_COLOR_PALETTE, GOColorPalette)) |
#define GO_COLOR_PALETTE_CLASS |
( |
|
k |
) |
(G_TYPE_CHECK_CLASS_CAST(k), GO_TYPE_COLOR_PALETTE) |
#define GO_IS_COLOR_PALETTE |
( |
|
obj |
) |
(G_TYPE_CHECK_INSTANCE_TYPE((obj), GO_TYPE_COLOR_PALETTE)) |
#define GO_TYPE_COLOR_PALETTE (go_color_palette_get_type ()) |
Typedef Documentation
Function Documentation
GOColor go_color_palette_get_current_color |
( |
GOColorPalette * |
p, |
|
|
gboolean * |
is_default, |
|
|
gboolean * |
is_custom | |
|
) |
| | |
GType go_color_palette_get_type |
( |
void |
|
) |
|
GtkWidget* go_color_palette_make_menu |
( |
char const * |
no_color_label, |
|
|
GOColor |
default_color, |
|
|
GOColorGroup * |
cg, |
|
|
char const * |
custom_dialog_title, |
|
|
GOColor |
current_color | |
|
) |
| | |
go_color_palette_make_menu: : color label : GOColor : GOColorGroup : optional string : GOColor
Returns: a submenu with a palette of colours. Caller is responsible for creating an item to point to the submenu.
go_color_palette_make_menu: : color label : GOColor : GOColorGroup : optional string : GOColor
Create a submenu with a palette of colours. Caller is responsible for creating an item to point to the submenu.
GtkWidget* go_color_palette_new |
( |
char const * |
no_color_label, |
|
|
GOColor |
default_color, |
|
|
GOColorGroup * |
cg | |
|
) |
| | |
void go_color_palette_set_allow_alpha |
( |
GOColorPalette * |
p, |
|
|
gboolean |
allow_alpha | |
|
) |
| | |
void go_color_palette_set_title |
( |
GOColorPalette * |
p, |
|
|
char const * |
title | |
|
) |
| | |