\section{Colorselector}
\label{group__Colorselector}\index{Colorselector@{Colorselector}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+P\+I void \hyperlink{group__Colorselector_ga3662ccd206b1b0a878d58df28f68b4cb}{elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+set} (int r, int g, int b, int a)
\begin{DoxyCompactList}\small\item\em Set color to colorselector. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Colorselector_gac48519fee86f7595f419affb40ec6c5c}{elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+get} (int $\ast$r, int $\ast$g, int $\ast$b, int $\ast$a)
\begin{DoxyCompactList}\small\item\em Get current color from colorselector. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Colorselector_ga2130d80043d0b53f127094c19b1c8192}{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set} (const char $\ast$palette\+\_\+name)
\begin{DoxyCompactList}\small\item\em Set current palette's name. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I const char $\ast$ \hyperlink{group__Colorselector_ga748a35ba1d9139d3db67a4dda2d3211d}{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get current palette's name. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Colorselector_gac3925b9457ca4fc4e37f5893c24df7a4}{elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+set} (Elm\+\_\+\+Colorselector\+\_\+\+Mode mode)
\begin{DoxyCompactList}\small\item\em Set Colorselector's mode. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Elm\+\_\+\+Colorselector\+\_\+\+Mode \hyperlink{group__Colorselector_ga0dbdd8be70554f77f515b5d8c96e2b46}{elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get Colorselector's mode. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I const Eina\+\_\+\+List $\ast$ \hyperlink{group__Colorselector_gadcd88742c1cadb9722cd105f83517311}{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get list of palette items. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Colorselector_gac54b4c144db66378c7d554338d3a01ab}{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the selected item in colorselector palette. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Colorselector_gaa06435f0c4e7b5e525dc09447912ae32}{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add} (int r, int g, int b, int a)
\begin{DoxyCompactList}\small\item\em Add a new color item to palette. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Colorselector_gad9ac60d37412cff0db79980e8760c170}{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+clear} (void)\label{group__Colorselector_gad9ac60d37412cff0db79980e8760c170}

\begin{DoxyCompactList}\small\item\em Clear the palette items. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Colorselector_ga08f58afeab21f20caeafe1059bf786e3}{elm\+\_\+colorselector\+::palette\+\_\+color\+\_\+add} (int r\+\_\+, int g\+\_\+, int b\+\_\+, int a\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Add a new color item to palette. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_ga769bdb7e19d33e38d35691f9c035c23b}{elm\+\_\+colorselector\+::palette\+\_\+clear} () const \label{group__Colorselector_ga769bdb7e19d33e38d35691f9c035c23b}

\begin{DoxyCompactList}\small\item\em Clear the palette items. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_gade426109e6f5411e16707d3ad18d4d6f}{elm\+\_\+colorselector\+\_\+color\+\_\+set} (Eo $\ast$obj, int r, int g, int b, int a)
\begin{DoxyCompactList}\small\item\em Set color to colorselector. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_gaa1f27af16eedcf4265ba902481c42872}{elm\+\_\+colorselector\+\_\+color\+\_\+get} (const Eo $\ast$obj, int $\ast$r, int $\ast$g, int $\ast$b, int $\ast$a)
\begin{DoxyCompactList}\small\item\em Get current color from colorselector. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_ga88b0c15c7cb770cd9974430d4cc8016e}{elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set} (Eo $\ast$obj, const char $\ast$palette\+\_\+name)
\begin{DoxyCompactList}\small\item\em Set current palette's name. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Colorselector_ga82c6fce691069960c0f2b7570124763c}{elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get current palette's name. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_ga78e4ed9719494f1eeebc97cb70c3786d}{elm\+\_\+colorselector\+\_\+mode\+\_\+set} (Eo $\ast$obj, Elm\+\_\+\+Colorselector\+\_\+\+Mode mode)
\begin{DoxyCompactList}\small\item\em Set Colorselector's mode. \end{DoxyCompactList}\item 
Elm\+\_\+\+Colorselector\+\_\+\+Mode \hyperlink{group__Colorselector_ga5e8714ce2e94e9e7f82d6dba6e5856ae}{elm\+\_\+colorselector\+\_\+mode\+\_\+get} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get Colorselector's mode. \end{DoxyCompactList}\item 
const Eina\+\_\+\+List $\ast$ \hyperlink{group__Colorselector_ga90f0c27b0cabdcc6c68ee30733ef72f2}{elm\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get list of palette items. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Colorselector_ga34c90a170bbdd1413eafc6268b2d7933}{elm\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the selected item in colorselector palette. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Colorselector_gaa32090086b4f5d4970ea331a553a1ef1}{elm\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add} (Eo $\ast$obj, int r, int g, int b, int a)
\begin{DoxyCompactList}\small\item\em Add a new color item to palette. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_ga24e83c6abd4f0d503aeee0b21d417a8a}{elm\+\_\+colorselector\+\_\+palette\+\_\+clear} (Eo $\ast$obj)\label{group__Colorselector_ga24e83c6abd4f0d503aeee0b21d417a8a}

\begin{DoxyCompactList}\small\item\em Clear the palette items. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_ga9058fd3f763834982fc00c1cc66c1288}{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+get} (const \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it, int $\ast$r, int $\ast$g, int $\ast$b, int $\ast$a)
\begin{DoxyCompactList}\small\item\em Get Palette item's color. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_gaa946ad707505e98ab9bc3cb96a433651}{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+set} (\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it, int r, int g, int b, int a)
\begin{DoxyCompactList}\small\item\em Set palette item's color. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Colorselector_ga0f846a3405120a875297a8f146079f3d}{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+get} (const \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it)
\begin{DoxyCompactList}\small\item\em Get the selected state of color palette item. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_ga137c970e4ce5225ec021b06ae2ff6c01}{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+set} (\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it, Eina\+\_\+\+Bool selected)
\begin{DoxyCompactList}\small\item\em Set the selected state of color palette item. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Colorselector_ga27ebfd6da68b578e5f462eb4e71ce372}{elm\+\_\+colorselector\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new colorselector to the parent. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{colorselector_inheritance_tree}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{img/widget/colorselector/preview-00}}
\end{DoxyImageNoCaption}


A Color\+Selector is a color selection widget. It allows application to set a series of colors.\+It also allows to load/save colors from/to config with a unique identifier, by default, the colors are loaded/saved from/to config using \char`\"{}default\char`\"{} identifier. The colors can be picked by user from the color set by clicking on individual color item on the palette or by selecting it from selector.

This widget inherits from the \hyperlink{group__Layout}{Layout} one, so that all the functions acting on it also work for check objects.

This widget emits the following signals, besides the ones sent from Layout\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}changed\char`\"{}} -\/ When the color value changes on selector event\+\_\+info is N\+U\+L\+L.
\item {\ttfamily \char`\"{}color,item,selected\char`\"{}} -\/ When user clicks on color item. The event\+\_\+info parameter of the callback will be the selected color item.
\item {\ttfamily \char`\"{}color,item,longpressed\char`\"{}} -\/ When user long presses on color item. The event info parameter of the callback contains selected color item.
\item {\ttfamily \char`\"{}focused\char`\"{}} -\/ When the colorselector has received focus. (since 1.\+8)
\item {\ttfamily \char`\"{}unfocused\char`\"{}} -\/ When the colorselector has lost focus. (since 1.\+8)
\item {\ttfamily \char`\"{}language,changed\char`\"{}} -\/ the program's language changed (since 1.\+9)
\end{DoxyItemize}

See \hyperlink{tutorial_colorselector}{Color selector example}. 

\subsection{Function Documentation}
\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+add@{elm\+\_\+colorselector\+\_\+add}}
\index{elm\+\_\+colorselector\+\_\+add@{elm\+\_\+colorselector\+\_\+add}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+colorselector\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga27ebfd6da68b578e5f462eb4e71ce372}


Add a new colorselector to the parent. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new object or N\+U\+L\+L if it cannot be created 
\end{DoxyReturn}
\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+color\+\_\+get@{elm\+\_\+colorselector\+\_\+color\+\_\+get}}
\index{elm\+\_\+colorselector\+\_\+color\+\_\+get@{elm\+\_\+colorselector\+\_\+color\+\_\+get}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+color\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+colorselector\+\_\+color\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Eo $\ast$}]{obj, }
\item[{int $\ast$}]{r, }
\item[{int $\ast$}]{g, }
\item[{int $\ast$}]{b, }
\item[{int $\ast$}]{a}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gaa1f27af16eedcf4265ba902481c42872}


Get current color from colorselector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em r} & r-\/value of color \\
\hline
\mbox{\tt out}  & {\em g} & g-\/value of color \\
\hline
\mbox{\tt out}  & {\em b} & b-\/value of color \\
\hline
\mbox{\tt out}  & {\em a} & a-\/value of color \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+get().

\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+color\+\_\+set@{elm\+\_\+colorselector\+\_\+color\+\_\+set}}
\index{elm\+\_\+colorselector\+\_\+color\+\_\+set@{elm\+\_\+colorselector\+\_\+color\+\_\+set}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+color\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+colorselector\+\_\+color\+\_\+set (
\begin{DoxyParamCaption}
\item[{Eo $\ast$}]{obj, }
\item[{int}]{r, }
\item[{int}]{g, }
\item[{int}]{b, }
\item[{int}]{a}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gade426109e6f5411e16707d3ad18d4d6f}


Set color to colorselector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em r} & r-\/value of color \\
\hline
\mbox{\tt in}  & {\em g} & g-\/value of color \\
\hline
\mbox{\tt in}  & {\em b} & b-\/value of color \\
\hline
\mbox{\tt in}  & {\em a} & a-\/value of color \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+set().



Referenced by elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+set().

\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+mode\+\_\+get@{elm\+\_\+colorselector\+\_\+mode\+\_\+get}}
\index{elm\+\_\+colorselector\+\_\+mode\+\_\+get@{elm\+\_\+colorselector\+\_\+mode\+\_\+get}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+mode\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Elm\+\_\+\+Colorselector\+\_\+\+Mode elm\+\_\+colorselector\+\_\+mode\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga5e8714ce2e94e9e7f82d6dba6e5856ae}


Get Colorselector's mode. 

\begin{DoxyReturn}{Returns}
mode The current mode of colorselector 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+get().

\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+mode\+\_\+set@{elm\+\_\+colorselector\+\_\+mode\+\_\+set}}
\index{elm\+\_\+colorselector\+\_\+mode\+\_\+set@{elm\+\_\+colorselector\+\_\+mode\+\_\+set}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+mode\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+colorselector\+\_\+mode\+\_\+set (
\begin{DoxyParamCaption}
\item[{Eo $\ast$}]{obj, }
\item[{Elm\+\_\+\+Colorselector\+\_\+\+Mode}]{mode}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga78e4ed9719494f1eeebc97cb70c3786d}


Set Colorselector's mode. 

Colorselector supports three modes palette only, selector only and both.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mode} & Elm\+\_\+\+Colorselector\+\_\+\+Mode \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+set().

\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add@{elm\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add}}
\index{elm\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add@{elm\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add (
\begin{DoxyParamCaption}
\item[{Eo $\ast$}]{obj, }
\item[{int}]{r, }
\item[{int}]{g, }
\item[{int}]{b, }
\item[{int}]{a}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gaa32090086b4f5d4970ea331a553a1ef1}


Add a new color item to palette. 

\begin{DoxyReturn}{Returns}
A new color palette Item.
\end{DoxyReturn}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em r} & r-\/value of color \\
\hline
\mbox{\tt in}  & {\em g} & g-\/value of color \\
\hline
\mbox{\tt in}  & {\em b} & b-\/value of color \\
\hline
\mbox{\tt in}  & {\em a} & a-\/value of color \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add().

\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+get@{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+get}}
\index{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+get@{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+get}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it, }
\item[{int $\ast$}]{r, }
\item[{int $\ast$}]{g, }
\item[{int $\ast$}]{b, }
\item[{int $\ast$}]{a}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga9058fd3f763834982fc00c1cc66c1288}


Get Palette item's color. 


\begin{DoxyParams}{Parameters}
{\em it} & The color palette item. \\
\hline
{\em r} & integer pointer for r-\/value of color \\
\hline
{\em g} & integer pointer for g-\/value of color \\
\hline
{\em b} & integer pointer for b-\/value of color \\
\hline
{\em a} & integer pointer for a-\/value of color \\
\hline
\end{DoxyParams}
\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+set@{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+set}}
\index{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+set@{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+set}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+color\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it, }
\item[{int}]{r, }
\item[{int}]{g, }
\item[{int}]{b, }
\item[{int}]{a}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gaa946ad707505e98ab9bc3cb96a433651}


Set palette item's color. 


\begin{DoxyParams}{Parameters}
{\em it} & The color palette item. \\
\hline
{\em r} & r-\/value of color \\
\hline
{\em g} & g-\/value of color \\
\hline
{\em b} & b-\/value of color \\
\hline
{\em a} & a-\/value of color \\
\hline
\end{DoxyParams}
\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+get@{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+get}}
\index{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+get@{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+get}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga0f846a3405120a875297a8f146079f3d}


Get the selected state of color palette item. 


\begin{DoxyParams}{Parameters}
{\em it} & The Colorpalette item \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if the item is selected, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}
\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+set@{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+set}}
\index{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+set@{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+set}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+colorselector\+\_\+palette\+\_\+item\+\_\+selected\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it, }
\item[{Eina\+\_\+\+Bool}]{selected}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga137c970e4ce5225ec021b06ae2ff6c01}


Set the selected state of color palette item. 


\begin{DoxyParams}{Parameters}
{\em it} & The Colorpalette item \\
\hline
{\em selected} & if it's {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, select the item otherwise, unselect the item\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}


References elm\+\_\+colorselector\+\_\+color\+\_\+set(), and elm\+\_\+object\+\_\+signal\+\_\+emit().

\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get@{elm\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get}}
\index{elm\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get@{elm\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const Eina\+\_\+\+List$\ast$ elm\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga90f0c27b0cabdcc6c68ee30733ef72f2}


Get list of palette items. 

\begin{DoxyReturn}{Returns}
The list of color palette items.
\end{DoxyReturn}
Note That palette item list is internally managed by colorselector widget and it should not be freed/modified by application.

\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}


References elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get().

\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get@{elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get}}
\index{elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get@{elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga82c6fce691069960c0f2b7570124763c}


Get current palette's name. 

\begin{DoxyReturn}{Returns}
Name of palette
\end{DoxyReturn}
Returns the currently set palette name using which colors will be saved/loaded in to config. 

References elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get().

\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set@{elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set}}
\index{elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set@{elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set (
\begin{DoxyParamCaption}
\item[{Eo $\ast$}]{obj, }
\item[{const char $\ast$}]{palette\+\_\+name}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga88b0c15c7cb770cd9974430d4cc8016e}


Set current palette's name. 

When colorpalette name is set, colors will be loaded from and saved to config using the set name. If no name is set then colors will be loaded from or saved to \char`\"{}default\char`\"{} config.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em palette\+\_\+name} & Name of palette \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set().

\index{Colorselector@{Colorselector}!elm\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get@{elm\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get}}
\index{elm\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get@{elm\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga34c90a170bbdd1413eafc6268b2d7933}


Get the selected item in colorselector palette. 

\begin{DoxyReturn}{Returns}
The selected item, or N\+U\+L\+L if none is selected.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}


References elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get().

\index{Colorselector@{Colorselector}!elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+get@{elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+get}}
\index{elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+get@{elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+get}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+get (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{r, }
\item[{int $\ast$}]{g, }
\item[{int $\ast$}]{b, }
\item[{int $\ast$}]{a}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gac48519fee86f7595f419affb40ec6c5c}


Get current color from colorselector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em r} & r-\/value of color \\
\hline
\mbox{\tt out}  & {\em g} & g-\/value of color \\
\hline
\mbox{\tt out}  & {\em b} & b-\/value of color \\
\hline
\mbox{\tt out}  & {\em a} & a-\/value of color \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+colorselector\+\_\+color\+\_\+get().

\index{Colorselector@{Colorselector}!elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+set@{elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+set}}
\index{elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+set@{elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+set}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+colorselector\+\_\+color\+\_\+set (
\begin{DoxyParamCaption}
\item[{int}]{r, }
\item[{int}]{g, }
\item[{int}]{b, }
\item[{int}]{a}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga3662ccd206b1b0a878d58df28f68b4cb}


Set color to colorselector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em r} & r-\/value of color \\
\hline
\mbox{\tt in}  & {\em g} & g-\/value of color \\
\hline
\mbox{\tt in}  & {\em b} & b-\/value of color \\
\hline
\mbox{\tt in}  & {\em a} & a-\/value of color \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+colorselector\+\_\+color\+\_\+set().

\index{Colorselector@{Colorselector}!elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+get@{elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+get}}
\index{elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+get@{elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+get}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I Elm\+\_\+\+Colorselector\+\_\+\+Mode elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga0dbdd8be70554f77f515b5d8c96e2b46}


Get Colorselector's mode. 

\begin{DoxyReturn}{Returns}
mode The current mode of colorselector 
\end{DoxyReturn}


Referenced by elm\+\_\+colorselector\+\_\+mode\+\_\+get().

\index{Colorselector@{Colorselector}!elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+set@{elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+set}}
\index{elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+set@{elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+set}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+colorselector\+\_\+mode\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Colorselector\+\_\+\+Mode}]{mode}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gac3925b9457ca4fc4e37f5893c24df7a4}


Set Colorselector's mode. 

Colorselector supports three modes palette only, selector only and both.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mode} & Elm\+\_\+\+Colorselector\+\_\+\+Mode \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+colorselector\+\_\+mode\+\_\+set().

\index{Colorselector@{Colorselector}!elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add@{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add}}
\index{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add@{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add (
\begin{DoxyParamCaption}
\item[{int}]{r, }
\item[{int}]{g, }
\item[{int}]{b, }
\item[{int}]{a}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gaa06435f0c4e7b5e525dc09447912ae32}


Add a new color item to palette. 

\begin{DoxyReturn}{Returns}
A new color palette Item.
\end{DoxyReturn}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em r} & r-\/value of color \\
\hline
\mbox{\tt in}  & {\em g} & g-\/value of color \\
\hline
\mbox{\tt in}  & {\em b} & b-\/value of color \\
\hline
\mbox{\tt in}  & {\em a} & a-\/value of color \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add(), and elm\+\_\+colorselector\+::palette\+\_\+color\+\_\+add().

\index{Colorselector@{Colorselector}!elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get@{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get}}
\index{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get@{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I const Eina\+\_\+\+List$\ast$ elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gadcd88742c1cadb9722cd105f83517311}


Get list of palette items. 

\begin{DoxyReturn}{Returns}
The list of color palette items.
\end{DoxyReturn}
Note That palette item list is internally managed by colorselector widget and it should not be freed/modified by application.

\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}


Referenced by elm\+\_\+colorselector\+\_\+palette\+\_\+items\+\_\+get().

\index{Colorselector@{Colorselector}!elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get@{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get}}
\index{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get@{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I const char$\ast$ elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga748a35ba1d9139d3db67a4dda2d3211d}


Get current palette's name. 

\begin{DoxyReturn}{Returns}
Name of palette
\end{DoxyReturn}
Returns the currently set palette name using which colors will be saved/loaded in to config. 

Referenced by elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+get().

\index{Colorselector@{Colorselector}!elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set@{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set}}
\index{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set@{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{palette\+\_\+name}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga2130d80043d0b53f127094c19b1c8192}


Set current palette's name. 

When colorpalette name is set, colors will be loaded from and saved to config using the set name. If no name is set then colors will be loaded from or saved to \char`\"{}default\char`\"{} config.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em palette\+\_\+name} & Name of palette \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+colorselector\+\_\+palette\+\_\+name\+\_\+set().

\index{Colorselector@{Colorselector}!elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get}}
\index{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get}!Colorselector@{Colorselector}}
\subsubsection[{elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gac54b4c144db66378c7d554338d3a01ab}


Get the selected item in colorselector palette. 

\begin{DoxyReturn}{Returns}
The selected item, or N\+U\+L\+L if none is selected.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}


Referenced by elm\+\_\+colorselector\+\_\+palette\+\_\+selected\+\_\+item\+\_\+get().

\index{Colorselector@{Colorselector}!palette\+\_\+color\+\_\+add@{palette\+\_\+color\+\_\+add}}
\index{palette\+\_\+color\+\_\+add@{palette\+\_\+color\+\_\+add}!Colorselector@{Colorselector}}
\subsubsection[{palette\+\_\+color\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+colorselector\+::palette\+\_\+color\+\_\+add (
\begin{DoxyParamCaption}
\item[{int}]{r\+\_\+, }
\item[{int}]{g\+\_\+, }
\item[{int}]{b\+\_\+, }
\item[{int}]{a\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Colorselector_ga08f58afeab21f20caeafe1059bf786e3}


Add a new color item to palette. 

\begin{DoxyReturn}{Returns}
A new color palette Item.
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em r} & r-\/value of color \\
\hline
{\em g} & g-\/value of color \\
\hline
{\em b} & b-\/value of color \\
\hline
{\em a} & a-\/value of color \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+colorselector\+\_\+palette\+\_\+color\+\_\+add().

