\section{Color Class Editor}
\label{group__Elm__Color__Class__Group}\index{Color Class Editor@{Color Class Editor}}


This group provides a UI for editing color classes in applications.  


\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef char $\ast$($\ast$ \hyperlink{group__Elm__Color__Class__Group_ga5e105a437b2110af303c55af08a395bd}{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+Name\+\_\+\+Cb}) (char $\ast$)
\begin{DoxyCompactList}\small\item\em A callback used to translate color class descriptions. \end{DoxyCompactList}\item 
typedef Eina\+\_\+\+List $\ast$($\ast$ \hyperlink{group__Elm__Color__Class__Group_ga44c422db84e0e0aab6ae4da493425877}{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+List\+\_\+\+Cb}) (void)
\begin{DoxyCompactList}\small\item\em A callback used to provide a list of allocated Edje\+\_\+\+Color\+\_\+\+Class structs used by an application. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Elm__Color__Class__Group_gaec0a19e4b644f899031cc50f2518f778}{elm\+\_\+color\+\_\+class\+\_\+editor\+\_\+add} (Evas\+\_\+\+Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Create a new color class editor. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Color__Class__Group_ga9bf305726cd0e19d8e9c2170673c9678}{elm\+\_\+color\+\_\+class\+\_\+translate\+\_\+cb\+\_\+set} (\hyperlink{group__Elm__Color__Class__Group_ga5e105a437b2110af303c55af08a395bd}{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+Name\+\_\+\+Cb} cb)
\begin{DoxyCompactList}\small\item\em Set a callback to provide translations for color class descriptions. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Color__Class__Group_ga911393622e5eefd0f7f0f10b0f2efa26}{elm\+\_\+color\+\_\+class\+\_\+list\+\_\+cb\+\_\+set} (\hyperlink{group__Elm__Color__Class__Group_ga44c422db84e0e0aab6ae4da493425877}{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+List\+\_\+\+Cb} cb)
\begin{DoxyCompactList}\small\item\em Set a callback to provide a list of supplementary color classes. \end{DoxyCompactList}\item 
Eina\+\_\+\+List $\ast$ \hyperlink{group__Elm__Color__Class__Group_ga1d9ad6b94996e850ad4342cdf65af2ce}{elm\+\_\+color\+\_\+class\+\_\+util\+\_\+edje\+\_\+file\+\_\+list} (Eina\+\_\+\+File $\ast$f)
\begin{DoxyCompactList}\small\item\em Create an allocated list of allocated Edje\+\_\+\+Color\+\_\+\+Class structs from an open edje file. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This group provides a UI for editing color classes in applications. 



\subsection{Typedef Documentation}
\mbox{\label{group__Elm__Color__Class__Group_ga44c422db84e0e0aab6ae4da493425877}} 
\index{Color Class Editor@{Color Class Editor}!Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+List\+\_\+\+Cb@{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+List\+\_\+\+Cb}}
\index{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+List\+\_\+\+Cb@{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+List\+\_\+\+Cb}!Color Class Editor@{Color Class Editor}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+List\+\_\+\+Cb}{Elm\_Color\_Class\_List\_Cb}}
{\footnotesize\ttfamily Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+List\+\_\+\+Cb}



A callback used to provide a list of allocated Edje\+\_\+\+Color\+\_\+\+Class structs used by an application. 

\begin{DoxySince}{Since}
1.\+14
\end{DoxySince}
The list and its members will be freed internally. \mbox{\label{group__Elm__Color__Class__Group_ga5e105a437b2110af303c55af08a395bd}} 
\index{Color Class Editor@{Color Class Editor}!Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+Name\+\_\+\+Cb@{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+Name\+\_\+\+Cb}}
\index{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+Name\+\_\+\+Cb@{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+Name\+\_\+\+Cb}!Color Class Editor@{Color Class Editor}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+Name\+\_\+\+Cb}{Elm\_Color\_Class\_Name\_Cb}}
{\footnotesize\ttfamily Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+Name\+\_\+\+Cb}



A callback used to translate color class descriptions. 

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


\subsection{Function Documentation}
\mbox{\label{group__Elm__Color__Class__Group_gaec0a19e4b644f899031cc50f2518f778}} 
\index{Color Class Editor@{Color Class Editor}!elm\+\_\+color\+\_\+class\+\_\+editor\+\_\+add@{elm\+\_\+color\+\_\+class\+\_\+editor\+\_\+add}}
\index{elm\+\_\+color\+\_\+class\+\_\+editor\+\_\+add@{elm\+\_\+color\+\_\+class\+\_\+editor\+\_\+add}!Color Class Editor@{Color Class Editor}}
\subsubsection{\texorpdfstring{elm\+\_\+color\+\_\+class\+\_\+editor\+\_\+add()}{elm\_color\_class\_editor\_add()}}
{\footnotesize\ttfamily Evas\+\_\+\+Object$\ast$ elm\+\_\+color\+\_\+class\+\_\+editor\+\_\+add (\begin{DoxyParamCaption}\item[{Evas\+\_\+\+Object $\ast$}]{obj }\end{DoxyParamCaption})}



Create a new color class editor. 


\begin{DoxyParams}{Parameters}
{\em obj} & The parent object\\
\hline
\end{DoxyParams}
A color class editor is a visual representation of the color schemes in an application. Values changed in the editor are stored in Elementary\textquotesingle{}s config and will remain until they are reset or the config is cleared. By default, the editor will load only the currently active color classes in an application.

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

\begin{DoxyItemize}
\item F\+I\+X\+ME\+: translate $\ast$/ 
\end{DoxyItemize}

References elm\+\_\+genlist\+\_\+add(), elm\+\_\+genlist\+\_\+homogeneous\+\_\+set(), elm\+\_\+layout\+\_\+add(), elm\+\_\+layout\+\_\+signal\+\_\+callback\+\_\+add(), elm\+\_\+layout\+\_\+theme\+\_\+set(), elm\+\_\+scroller\+\_\+bounce\+\_\+set(), E\+L\+M\+\_\+\+S\+C\+R\+O\+L\+L\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+FF, and elm\+\_\+scroller\+\_\+policy\+\_\+set().

\mbox{\label{group__Elm__Color__Class__Group_ga911393622e5eefd0f7f0f10b0f2efa26}} 
\index{Color Class Editor@{Color Class Editor}!elm\+\_\+color\+\_\+class\+\_\+list\+\_\+cb\+\_\+set@{elm\+\_\+color\+\_\+class\+\_\+list\+\_\+cb\+\_\+set}}
\index{elm\+\_\+color\+\_\+class\+\_\+list\+\_\+cb\+\_\+set@{elm\+\_\+color\+\_\+class\+\_\+list\+\_\+cb\+\_\+set}!Color Class Editor@{Color Class Editor}}
\subsubsection{\texorpdfstring{elm\+\_\+color\+\_\+class\+\_\+list\+\_\+cb\+\_\+set()}{elm\_color\_class\_list\_cb\_set()}}
{\footnotesize\ttfamily void elm\+\_\+color\+\_\+class\+\_\+list\+\_\+cb\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Elm__Color__Class__Group_ga44c422db84e0e0aab6ae4da493425877}{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+List\+\_\+\+Cb}}]{cb }\end{DoxyParamCaption})}



Set a callback to provide a list of supplementary color classes. 


\begin{DoxyParams}{Parameters}
{\em cb} & The callback to use\\
\hline
\end{DoxyParams}
This callback will be called globally by the application to provide extra color classes that an application may use but which may not be currently loaded.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Color__Class__Group_ga44c422db84e0e0aab6ae4da493425877}{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+List\+\_\+\+Cb}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}
\mbox{\label{group__Elm__Color__Class__Group_ga9bf305726cd0e19d8e9c2170673c9678}} 
\index{Color Class Editor@{Color Class Editor}!elm\+\_\+color\+\_\+class\+\_\+translate\+\_\+cb\+\_\+set@{elm\+\_\+color\+\_\+class\+\_\+translate\+\_\+cb\+\_\+set}}
\index{elm\+\_\+color\+\_\+class\+\_\+translate\+\_\+cb\+\_\+set@{elm\+\_\+color\+\_\+class\+\_\+translate\+\_\+cb\+\_\+set}!Color Class Editor@{Color Class Editor}}
\subsubsection{\texorpdfstring{elm\+\_\+color\+\_\+class\+\_\+translate\+\_\+cb\+\_\+set()}{elm\_color\_class\_translate\_cb\_set()}}
{\footnotesize\ttfamily void elm\+\_\+color\+\_\+class\+\_\+translate\+\_\+cb\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Elm__Color__Class__Group_ga5e105a437b2110af303c55af08a395bd}{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+Name\+\_\+\+Cb}}]{cb }\end{DoxyParamCaption})}



Set a callback to provide translations for color class descriptions. 


\begin{DoxyParams}{Parameters}
{\em cb} & The callback to use\\
\hline
\end{DoxyParams}
This callback will be called globally by the application to translate any available color class description strings from the theme\textquotesingle{}s color classes.

\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}
\mbox{\label{group__Elm__Color__Class__Group_ga1d9ad6b94996e850ad4342cdf65af2ce}} 
\index{Color Class Editor@{Color Class Editor}!elm\+\_\+color\+\_\+class\+\_\+util\+\_\+edje\+\_\+file\+\_\+list@{elm\+\_\+color\+\_\+class\+\_\+util\+\_\+edje\+\_\+file\+\_\+list}}
\index{elm\+\_\+color\+\_\+class\+\_\+util\+\_\+edje\+\_\+file\+\_\+list@{elm\+\_\+color\+\_\+class\+\_\+util\+\_\+edje\+\_\+file\+\_\+list}!Color Class Editor@{Color Class Editor}}
\subsubsection{\texorpdfstring{elm\+\_\+color\+\_\+class\+\_\+util\+\_\+edje\+\_\+file\+\_\+list()}{elm\_color\_class\_util\_edje\_file\_list()}}
{\footnotesize\ttfamily Eina\+\_\+\+List$\ast$ elm\+\_\+color\+\_\+class\+\_\+util\+\_\+edje\+\_\+file\+\_\+list (\begin{DoxyParamCaption}\item[{Eina\+\_\+\+File $\ast$}]{f }\end{DoxyParamCaption})}



Create an allocated list of allocated Edje\+\_\+\+Color\+\_\+\+Class structs from an open edje file. 


\begin{DoxyParams}{Parameters}
{\em f} & The file to list color classes from \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The list of color classes present in the file
\end{DoxyReturn}
This is a helper function to create a list for use with \hyperlink{group__Elm__Color__Class__Group_ga44c422db84e0e0aab6ae4da493425877}{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+List\+\_\+\+Cb} callbacks.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Color__Class__Group_ga44c422db84e0e0aab6ae4da493425877}{Elm\+\_\+\+Color\+\_\+\+Class\+\_\+\+List\+\_\+\+Cb}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}
