2 * @defgroup Colorpalette Colorpalette
4 * @addtogroup Colorpalette
7 * Using colorpalette, you can select a color by clicking
8 * a color rectangle on the colorpalette.
10 * Smart callbacks that you can add are:
12 * clicked - This signal is sent when a color rectangle is clicked.
14 typedef struct _Colorpalette_Color Elm_Colorpalette_Color;
15 struct _Colorpalette_Color
21 * Add a new colorpalette to the parent.
23 * @param parent The parent object
24 * @return The new object or NULL if it cannot be created
26 * @ingroup Colorpalette
28 EAPI Evas_Object *elm_colorpalette_add(Evas_Object *parent);
30 * Set colors to the colorpalette.
32 * @param obj Colorpalette object
33 * @param color_num number of the colors on the colorpalette
34 * @param color Color lists
36 EAPI void elm_colorpalette_color_set(Evas_Object *obj, int color_num, Elm_Colorpalette_Color *color);
38 * Set row/column value for the colorpalette.
40 * @param obj Colorpalette object
41 * @param row row value for the colorpalette
42 * @param col column value for the colorpalette
44 EAPI void elm_colorpalette_row_column_set(Evas_Object *obj, int row, int col);