\section{Elementary Engine}
\label{group__Engine}\index{Elementary Engine@{Elementary Engine}}


These are functions setting and querying which rendering engine Elementary will use for drawing its windows' pixels.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ \hyperlink{group__Engine_ga7f98a5fdeef29f8efb7c41846d9ad9e3}{elm\-\_\-config\-\_\-engine\-\_\-get} (void)
\begin{DoxyCompactList}\small\item\em Get Elementary's rendering engine in use. \end{DoxyCompactList}\item 
void \hyperlink{group__Engine_ga10ccbe398bed1a9f066031f51fb93a30}{elm\-\_\-config\-\_\-engine\-\_\-set} (const char $\ast$engine)
\begin{DoxyCompactList}\small\item\em Set Elementary's rendering engine for use. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Engine_ga03706d172d5927c144b5dbd4ded171dc}{elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-get} (void)
\begin{DoxyCompactList}\small\item\em Get Elementary's preferred engine to use. \end{DoxyCompactList}\item 
void \hyperlink{group__Engine_ga4e860a14f77f1dadbf8c83197cd2491f}{elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-set} (const char $\ast$engine)
\begin{DoxyCompactList}\small\item\em Set Elementary's preferred rendering engine for use. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Engine_gad3effaf33ef4800c0107e70e44181f91}{elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-get} (void)
\begin{DoxyCompactList}\small\item\em Get whether selection should be cleared when entry widget is unfocused. \end{DoxyCompactList}\item 
void \hyperlink{group__Engine_gad53f7f8a081e692ef55c18d6f53deadd}{elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-set} (Eina\-\_\-\-Bool enabled)
\begin{DoxyCompactList}\small\item\em Set whether selection should be cleared when entry widget is unfocused. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Engine_gac9c9aa7a00204e9155a141ef84bdd1bb}{elm\-\_\-config\-\_\-mirrored\-\_\-get} (void)
\begin{DoxyCompactList}\small\item\em Get the system mirrored mode. \end{DoxyCompactList}\item 
void \hyperlink{group__Engine_ga8e5eac6c5deb8ae13a649ca07005c543}{elm\-\_\-config\-\_\-mirrored\-\_\-set} (Eina\-\_\-\-Bool mirrored)
\begin{DoxyCompactList}\small\item\em Set the system mirrored mode. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Engine_ga2baa2cdb71874ed66bd65eca0942b02d}{elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-get} (void)
\begin{DoxyCompactList}\small\item\em Get the clouseau state. \end{DoxyCompactList}\item 
void \hyperlink{group__Engine_gab4e78df06a9e51f534820c0cd2a48554}{elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-set} (Eina\-\_\-\-Bool enabled)
\begin{DoxyCompactList}\small\item\em Get the clouseau state. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Engine_ga15c65fe6815acea87f52102cdd94f98e}{elm\-\_\-config\-\_\-indicator\-\_\-service\-\_\-get} (int rotation)
\begin{DoxyCompactList}\small\item\em Get the indicator service name according to the rotation degree. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
These are functions setting and querying which rendering engine Elementary will use for drawing its windows' pixels. The following are the available engines\-: \begin{DoxyItemize}
\item \char`\"{}software\-\_\-x11\char`\"{} \item \char`\"{}fb\char`\"{} \item \char`\"{}directfb\char`\"{} \item \char`\"{}software\-\_\-16\-\_\-x11\char`\"{} \item \char`\"{}software\-\_\-8\-\_\-x11\char`\"{} \item \char`\"{}xrender\-\_\-x11\char`\"{} \item \char`\"{}opengl\-\_\-x11\char`\"{} \item \char`\"{}software\-\_\-gdi\char`\"{} \item \char`\"{}software\-\_\-16\-\_\-wince\-\_\-gdi\char`\"{} \item \char`\"{}sdl\char`\"{} \item \char`\"{}software\-\_\-16\-\_\-sdl\char`\"{} \item \char`\"{}opengl\-\_\-sdl\char`\"{} \item \char`\"{}buffer\char`\"{} \item \char`\"{}ews\char`\"{} \item \char`\"{}opengl\-\_\-cocoa\char`\"{} \item \char`\"{}psl1ght\char`\"{} \end{DoxyItemize}


\subsection{Function Documentation}
\index{Elementary Engine@{Elementary Engine}!elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-get@{elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-get}}
\index{elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-get@{elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-get}!Elementary Engine@{Elementary Engine}}
\subsubsection[{elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Engine_ga2baa2cdb71874ed66bd65eca0942b02d}


Get the clouseau state. 

E\-I\-N\-A\-\_\-\-T\-R\-U\-E if clouseau was tried to be run.

\begin{DoxySince}{Since}
1.\-8 
\end{DoxySince}
\begin{DoxyReturn}{Returns}
E\-I\-N\-A\-\_\-\-T\-R\-U\-E if clouseau was tried to run, E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E otherwise 
\end{DoxyReturn}
\index{Elementary Engine@{Elementary Engine}!elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-set@{elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-set}}
\index{elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-set@{elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-set}!Elementary Engine@{Elementary Engine}}
\subsubsection[{elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-config\-\_\-clouseau\-\_\-enabled\-\_\-set (
\begin{DoxyParamCaption}
\item[{Eina\-\_\-\-Bool}]{enabled}
\end{DoxyParamCaption}
)}\label{group__Engine_gab4e78df06a9e51f534820c0cd2a48554}


Get the clouseau state. 

E\-I\-N\-A\-\_\-\-T\-R\-U\-E if clouseau should be attempted to be run.

\begin{DoxySince}{Since}
1.\-8 
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em enabled} & E\-I\-N\-A\-\_\-\-T\-R\-U\-E to try and run clouseau, E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E otherwise. \\
\hline
\end{DoxyParams}
\index{Elementary Engine@{Elementary Engine}!elm\-\_\-config\-\_\-engine\-\_\-get@{elm\-\_\-config\-\_\-engine\-\_\-get}}
\index{elm\-\_\-config\-\_\-engine\-\_\-get@{elm\-\_\-config\-\_\-engine\-\_\-get}!Elementary Engine@{Elementary Engine}}
\subsubsection[{elm\-\_\-config\-\_\-engine\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ elm\-\_\-config\-\_\-engine\-\_\-get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Engine_ga7f98a5fdeef29f8efb7c41846d9ad9e3}


Get Elementary's rendering engine in use. 

\begin{DoxyReturn}{Returns}
The rendering engine's name 
\end{DoxyReturn}
\begin{DoxyNote}{Note}
there's no need to free the returned string, here.
\end{DoxyNote}
This gets the global rendering engine that is applied to all Elementary applications.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Engine_ga10ccbe398bed1a9f066031f51fb93a30}{elm\-\_\-config\-\_\-engine\-\_\-set()} 
\end{DoxySeeAlso}
\index{Elementary Engine@{Elementary Engine}!elm\-\_\-config\-\_\-engine\-\_\-set@{elm\-\_\-config\-\_\-engine\-\_\-set}}
\index{elm\-\_\-config\-\_\-engine\-\_\-set@{elm\-\_\-config\-\_\-engine\-\_\-set}!Elementary Engine@{Elementary Engine}}
\subsubsection[{elm\-\_\-config\-\_\-engine\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-config\-\_\-engine\-\_\-set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{engine}
\end{DoxyParamCaption}
)}\label{group__Engine_ga10ccbe398bed1a9f066031f51fb93a30}


Set Elementary's rendering engine for use. 


\begin{DoxyParams}{Parameters}
{\em engine} & The rendering engine's name\\
\hline
\end{DoxyParams}
Note that it will take effect only to Elementary windows created after this is called.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Win_gad127cc5ae04689c4f2c5b633056d0ac8}{elm\-\_\-win\-\_\-add()} 
\end{DoxySeeAlso}
\index{Elementary Engine@{Elementary Engine}!elm\-\_\-config\-\_\-indicator\-\_\-service\-\_\-get@{elm\-\_\-config\-\_\-indicator\-\_\-service\-\_\-get}}
\index{elm\-\_\-config\-\_\-indicator\-\_\-service\-\_\-get@{elm\-\_\-config\-\_\-indicator\-\_\-service\-\_\-get}!Elementary Engine@{Elementary Engine}}
\subsubsection[{elm\-\_\-config\-\_\-indicator\-\_\-service\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ elm\-\_\-config\-\_\-indicator\-\_\-service\-\_\-get (
\begin{DoxyParamCaption}
\item[{int}]{rotation}
\end{DoxyParamCaption}
)}\label{group__Engine_ga15c65fe6815acea87f52102cdd94f98e}


Get the indicator service name according to the rotation degree. 


\begin{DoxyParams}{Parameters}
{\em rotation} & The rotation which related with the indicator service name, in degrees (0-\/360),\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The indicator service name according to the rotation degree. 
\end{DoxyReturn}
\index{Elementary Engine@{Elementary Engine}!elm\-\_\-config\-\_\-mirrored\-\_\-get@{elm\-\_\-config\-\_\-mirrored\-\_\-get}}
\index{elm\-\_\-config\-\_\-mirrored\-\_\-get@{elm\-\_\-config\-\_\-mirrored\-\_\-get}!Elementary Engine@{Elementary Engine}}
\subsubsection[{elm\-\_\-config\-\_\-mirrored\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-config\-\_\-mirrored\-\_\-get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Engine_gac9c9aa7a00204e9155a141ef84bdd1bb}


Get the system mirrored mode. 

This determines the default mirrored mode of widgets.

\begin{DoxyReturn}{Returns}
E\-I\-N\-A\-\_\-\-T\-R\-U\-E if mirrored is set, E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E otherwise 
\end{DoxyReturn}
\index{Elementary Engine@{Elementary Engine}!elm\-\_\-config\-\_\-mirrored\-\_\-set@{elm\-\_\-config\-\_\-mirrored\-\_\-set}}
\index{elm\-\_\-config\-\_\-mirrored\-\_\-set@{elm\-\_\-config\-\_\-mirrored\-\_\-set}!Elementary Engine@{Elementary Engine}}
\subsubsection[{elm\-\_\-config\-\_\-mirrored\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-config\-\_\-mirrored\-\_\-set (
\begin{DoxyParamCaption}
\item[{Eina\-\_\-\-Bool}]{mirrored}
\end{DoxyParamCaption}
)}\label{group__Engine_ga8e5eac6c5deb8ae13a649ca07005c543}


Set the system mirrored mode. 

This determines the default mirrored mode of widgets.


\begin{DoxyParams}{Parameters}
{\em mirrored} & E\-I\-N\-A\-\_\-\-T\-R\-U\-E to set mirrored mode, E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E to unset it. \\
\hline
\end{DoxyParams}
\index{Elementary Engine@{Elementary Engine}!elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-get@{elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-get}}
\index{elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-get@{elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-get}!Elementary Engine@{Elementary Engine}}
\subsubsection[{elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Engine_ga03706d172d5927c144b5dbd4ded171dc}


Get Elementary's preferred engine to use. 

\begin{DoxyReturn}{Returns}
The rendering engine's name 
\end{DoxyReturn}
\begin{DoxyNote}{Note}
there's no need to free the returned string, here.
\end{DoxyNote}
This gets the global rendering engine that is applied to all Elementary applications and is P\-R\-E\-F\-E\-R\-R\-E\-D by the application. This can (and will) override the engine configured for all applications which.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Engine_ga4e860a14f77f1dadbf8c83197cd2491f}{elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-set()} 
\end{DoxySeeAlso}
\index{Elementary Engine@{Elementary Engine}!elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-set@{elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-set}}
\index{elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-set@{elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-set}!Elementary Engine@{Elementary Engine}}
\subsubsection[{elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-config\-\_\-preferred\-\_\-engine\-\_\-set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{engine}
\end{DoxyParamCaption}
)}\label{group__Engine_ga4e860a14f77f1dadbf8c83197cd2491f}


Set Elementary's preferred rendering engine for use. 


\begin{DoxyParams}{Parameters}
{\em engine} & The rendering engine's name\\
\hline
\end{DoxyParams}
Note that it will take effect only to Elementary windows created after this is called. This overrides the engine set by configuration at application startup. Note that it is a hint and may not be honored.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Win_gad127cc5ae04689c4f2c5b633056d0ac8}{elm\-\_\-win\-\_\-add()} 
\end{DoxySeeAlso}
\index{Elementary Engine@{Elementary Engine}!elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-get@{elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-get}}
\index{elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-get@{elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-get}!Elementary Engine@{Elementary Engine}}
\subsubsection[{elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Engine_gad3effaf33ef4800c0107e70e44181f91}


Get whether selection should be cleared when entry widget is unfocused. 

\begin{DoxyReturn}{Returns}
if the selection would be cleared on unfocus.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\-7
\end{DoxySince}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Engine_gad53f7f8a081e692ef55c18d6f53deadd}{elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-set()} 
\end{DoxySeeAlso}
\index{Elementary Engine@{Elementary Engine}!elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-set@{elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-set}}
\index{elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-set@{elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-set}!Elementary Engine@{Elementary Engine}}
\subsubsection[{elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-set (
\begin{DoxyParamCaption}
\item[{Eina\-\_\-\-Bool}]{enabled}
\end{DoxyParamCaption}
)}\label{group__Engine_gad53f7f8a081e692ef55c18d6f53deadd}


Set whether selection should be cleared when entry widget is unfocused. 


\begin{DoxyParams}{Parameters}
{\em enabled} & If E\-I\-N\-A\-\_\-\-T\-R\-U\-E clear selection when unfocus, otherwise does not clear selection when unfocus.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\-7
\end{DoxySince}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Engine_gad3effaf33ef4800c0107e70e44181f91}{elm\-\_\-config\-\_\-selection\-\_\-unfocused\-\_\-clear\-\_\-get()} 
\end{DoxySeeAlso}
