\section{Photo}
\label{group__Elm__Photo}\index{Photo@{Photo}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Photo_ga01e478237d7122bbaeef84b7177351e8}{elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+set} (Eina\+\_\+\+Bool set)
\begin{DoxyCompactList}\small\item\em Set editability of the photo. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Photo_ga92f3e0153ab0dacff451effb77f24227}{elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get editability of the photo. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Photo_gad9c5fba98b04521a30e2ecd7b7f649be}{elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set} (Eina\+\_\+\+Bool fill)
\begin{DoxyCompactList}\small\item\em Set if the photo should be completely visible or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Photo_ga76fa4cc665e580937559566ac19deded}{elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get if the photo should be completely visible or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Photo_ga83c1a3a7063f6fc86072322b4f3f8737}{elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set} (Eina\+\_\+\+Bool fixed)
\begin{DoxyCompactList}\small\item\em Set whether the original aspect ratio of the photo should be kept on resize. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Photo_ga85e7b8c6e10c2e4e85068bea0f8ab0c1}{elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get if the object keeps the original aspect ratio. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Photo_ga3abfdb8e4dfd726094a0e655559fcd90}{elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+set} (int size)
\begin{DoxyCompactList}\small\item\em Set the size that will be used on the photo. \end{DoxyCompactList}\item 
E\+O\+A\+PI int \hyperlink{group__Elm__Photo_ga3326e033260e9b77bd71a3042b7b9105}{elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the size that will be used on the photo. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Photo_ga71536436bc3fe90cc135a8f2be4bb5c5}{elm\+\_\+obj\+\_\+photo\+\_\+thumb\+\_\+set} (const char $\ast$file, const char $\ast$group)
\begin{DoxyCompactList}\small\item\em Set the file that will be used as thumbnail in the photo. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Photo_ga605e59f79d7393d19accc83f84f626c0}{elm\+\_\+photo\+\_\+editable\+\_\+set} (Elm\+\_\+\+Photo $\ast$obj, Eina\+\_\+\+Bool set)
\begin{DoxyCompactList}\small\item\em Set editability of the photo. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Photo_gac5e196b54c9e7e086d585b9df690b4bb}{elm\+\_\+photo\+\_\+editable\+\_\+get} (const Elm\+\_\+\+Photo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get editability of the photo. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Photo_gafa88181a3d9e6e7f172fa6e3c51a6061}{elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set} (Elm\+\_\+\+Photo $\ast$obj, Eina\+\_\+\+Bool fill)
\begin{DoxyCompactList}\small\item\em Set if the photo should be completely visible or not. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Photo_ga9b4390e535efbd95a8e4701d12a8b6de}{elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get} (const Elm\+\_\+\+Photo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get if the photo should be completely visible or not. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Photo_ga9b0250bb9a73f9f5390cb8262ff87f86}{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set} (Elm\+\_\+\+Photo $\ast$obj, Eina\+\_\+\+Bool fixed)
\begin{DoxyCompactList}\small\item\em Set whether the original aspect ratio of the photo should be kept on resize. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Photo_ga5985efda0e00c557af5f2a0babd1787b}{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get} (const Elm\+\_\+\+Photo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get if the object keeps the original aspect ratio. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Photo_gabb84489ec2b986df5b87d288c8aed54d}{elm\+\_\+photo\+\_\+size\+\_\+set} (Elm\+\_\+\+Photo $\ast$obj, int size)
\begin{DoxyCompactList}\small\item\em Set the size that will be used on the photo. \end{DoxyCompactList}\item 
int \hyperlink{group__Elm__Photo_gaa6162ba852998b9bfba9aa8ae286b77d}{elm\+\_\+photo\+\_\+size\+\_\+get} (const Elm\+\_\+\+Photo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the size that will be used on the photo. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Photo_gadd8ec9ea5bc138b4daeaac8b4bc2e62e}{elm\+\_\+photo\+\_\+thumb\+\_\+set} (const Elm\+\_\+\+Photo $\ast$obj, const char $\ast$file, const char $\ast$group)
\begin{DoxyCompactList}\small\item\em Set the file that will be used as thumbnail in the photo. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Elm__Photo_ga7e50794931945a9e9e301f2ccf040a15}{elm\+\_\+photo\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new photo to the parent. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Photo_ga697500daaa458b968f26f3584168bbc5}{elm\+\_\+photo\+\_\+file\+\_\+set} (Eo $\ast$obj, const char $\ast$file)
\begin{DoxyCompactList}\small\item\em Set the file that will be used as the photo widget\textquotesingle{}s image. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{photo_inheritance_tree}}
\end{DoxyImageNoCaption}


The Elementary photo widget is intended for displaying a photo, for ex., a person\textquotesingle{}s image (contact). Simple, yet with a very specific purpose. It has a decorative frame around the inner image itself, on the default theme. If and while no photo is set on it, it displays a person icon, indicating it\textquotesingle{}s a photo placeholder.

This widget relies on an internal Icon, so that the A\+P\+Is of these two widgets are similar (drag and drop is also possible here, for example).

Signals that you can add callbacks for are\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}clicked\char`\"{}} -\/ This is called when a user has clicked the photo
\item {\ttfamily \char`\"{}drag,start\char`\"{}} -\/ One has started dragging the inner image out of the photo\textquotesingle{}s frame
\item {\ttfamily \char`\"{}drag,end\char`\"{}} -\/ One has dropped the dragged image somewhere 
\end{DoxyItemize}

\subsection{Function Documentation}
\mbox{\label{group__Elm__Photo_ga85e7b8c6e10c2e4e85068bea0f8ab0c1}} 
\index{Photo@{Photo}!elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get@{elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get}}
\index{elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get@{elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get()}{elm\_obj\_photo\_aspect\_fixed\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get if the object keeps the original aspect ratio. 

\begin{DoxyReturn}{Returns}
{\ttfamily true} if the photo should fix the aspect, {\ttfamily false} otherwise. 
\end{DoxyReturn}


Referenced by elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get().

\mbox{\label{group__Elm__Photo_ga83c1a3a7063f6fc86072322b4f3f8737}} 
\index{Photo@{Photo}!elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set@{elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set}}
\index{elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set@{elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set()}{elm\_obj\_photo\_aspect\_fixed\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set (\begin{DoxyParamCaption}\item[{Eina\+\_\+\+Bool}]{fixed }\end{DoxyParamCaption})}



Set whether the original aspect ratio of the photo should be kept on resize. 

The original aspect ratio (width / height) of the photo is usually distorted to match the object\textquotesingle{}s size. Enabling this option will fix this original aspect, and the way that the photo is fit into the object\textquotesingle{}s area.

See also \hyperlink{group__Elm__Photo_ga85e7b8c6e10c2e4e85068bea0f8ab0c1}{elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fixed} & {\ttfamily true} if the photo should fix the aspect, {\ttfamily false} otherwise. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set().

\mbox{\label{group__Elm__Photo_ga92f3e0153ab0dacff451effb77f24227}} 
\index{Photo@{Photo}!elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+get@{elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+get}}
\index{elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+get@{elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+get}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+get()}{elm\_obj\_photo\_editable\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get editability of the photo. 

\begin{DoxyReturn}{Returns}
To set of clear editability. 
\end{DoxyReturn}


Referenced by elm\+\_\+photo\+\_\+editable\+\_\+get().

\mbox{\label{group__Elm__Photo_ga01e478237d7122bbaeef84b7177351e8}} 
\index{Photo@{Photo}!elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+set@{elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+set}}
\index{elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+set@{elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+set}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+set()}{elm\_obj\_photo\_editable\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+set (\begin{DoxyParamCaption}\item[{Eina\+\_\+\+Bool}]{set }\end{DoxyParamCaption})}



Set editability of the photo. 

An editable photo can be dragged to or from, and can be cut or pasted too. Note that pasting an image or dropping an item on the image will delete the existing content.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em set} & To set of clear editability. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+photo\+\_\+editable\+\_\+set().

\mbox{\label{group__Elm__Photo_ga76fa4cc665e580937559566ac19deded}} 
\index{Photo@{Photo}!elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get@{elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get}}
\index{elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get@{elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get()}{elm\_obj\_photo\_fill\_inside\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get if the photo should be completely visible or not. 

\begin{DoxyReturn}{Returns}
Photo visibility. 
\end{DoxyReturn}


Referenced by elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get().

\mbox{\label{group__Elm__Photo_gad9c5fba98b04521a30e2ecd7b7f649be}} 
\index{Photo@{Photo}!elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set@{elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set}}
\index{elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set@{elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set()}{elm\_obj\_photo\_fill\_inside\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set (\begin{DoxyParamCaption}\item[{Eina\+\_\+\+Bool}]{fill }\end{DoxyParamCaption})}



Set if the photo should be completely visible or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fill} & Photo visibility. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set().

\mbox{\label{group__Elm__Photo_ga3326e033260e9b77bd71a3042b7b9105}} 
\index{Photo@{Photo}!elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+get@{elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+get}}
\index{elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+get@{elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+get}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+get()}{elm\_obj\_photo\_size\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI int elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the size that will be used on the photo. 

\begin{DoxyReturn}{Returns}
The size of the photo 
\end{DoxyReturn}


Referenced by elm\+\_\+photo\+\_\+size\+\_\+get().

\mbox{\label{group__Elm__Photo_ga3abfdb8e4dfd726094a0e655559fcd90}} 
\index{Photo@{Photo}!elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+set@{elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+set}}
\index{elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+set@{elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+set}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+set()}{elm\_obj\_photo\_size\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+set (\begin{DoxyParamCaption}\item[{int}]{size }\end{DoxyParamCaption})}



Set the size that will be used on the photo. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em size} & The size of the photo \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+photo\+\_\+size\+\_\+set().

\mbox{\label{group__Elm__Photo_ga71536436bc3fe90cc135a8f2be4bb5c5}} 
\index{Photo@{Photo}!elm\+\_\+obj\+\_\+photo\+\_\+thumb\+\_\+set@{elm\+\_\+obj\+\_\+photo\+\_\+thumb\+\_\+set}}
\index{elm\+\_\+obj\+\_\+photo\+\_\+thumb\+\_\+set@{elm\+\_\+obj\+\_\+photo\+\_\+thumb\+\_\+set}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+photo\+\_\+thumb\+\_\+set()}{elm\_obj\_photo\_thumb\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+photo\+\_\+thumb\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{group }\end{DoxyParamCaption})}



Set the file that will be used as thumbnail in the photo. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em group} & The key used in case of an E\+ET file. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+photo\+\_\+thumb\+\_\+set().

\mbox{\label{group__Elm__Photo_ga7e50794931945a9e9e301f2ccf040a15}} 
\index{Photo@{Photo}!elm\+\_\+photo\+\_\+add@{elm\+\_\+photo\+\_\+add}}
\index{elm\+\_\+photo\+\_\+add@{elm\+\_\+photo\+\_\+add}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+photo\+\_\+add()}{elm\_photo\_add()}}
{\footnotesize\ttfamily Evas\+\_\+\+Object$\ast$ elm\+\_\+photo\+\_\+add (\begin{DoxyParamCaption}\item[{Evas\+\_\+\+Object $\ast$}]{parent }\end{DoxyParamCaption})}



Add a new photo to the parent. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new object or N\+U\+LL if it cannot be created 
\end{DoxyReturn}


References elm\+\_\+icon\+\_\+standard\+\_\+set(), elm\+\_\+icon\+\_\+thumb\+\_\+set(), elm\+\_\+image\+\_\+aspect\+\_\+fixed\+\_\+set(), elm\+\_\+image\+\_\+editable\+\_\+get(), elm\+\_\+image\+\_\+editable\+\_\+set(), elm\+\_\+image\+\_\+file\+\_\+set(), elm\+\_\+image\+\_\+fill\+\_\+outside\+\_\+set(), and elm\+\_\+image\+\_\+prescale\+\_\+set().

\mbox{\label{group__Elm__Photo_ga5985efda0e00c557af5f2a0babd1787b}} 
\index{Photo@{Photo}!elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get@{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get}}
\index{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get@{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get()}{elm\_photo\_aspect\_fixed\_get()}}
{\footnotesize\ttfamily Eina\+\_\+\+Bool elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Photo $\ast$}]{obj }\end{DoxyParamCaption})}



Get if the object keeps the original aspect ratio. 

\begin{DoxyReturn}{Returns}
{\ttfamily true} if the photo should fix the aspect, {\ttfamily false} otherwise. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get().

\mbox{\label{group__Elm__Photo_ga9b0250bb9a73f9f5390cb8262ff87f86}} 
\index{Photo@{Photo}!elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set@{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set}}
\index{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set@{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set()}{elm\_photo\_aspect\_fixed\_set()}}
{\footnotesize\ttfamily void elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Photo $\ast$}]{obj,  }\item[{Eina\+\_\+\+Bool}]{fixed }\end{DoxyParamCaption})}



Set whether the original aspect ratio of the photo should be kept on resize. 

The original aspect ratio (width / height) of the photo is usually distorted to match the object\textquotesingle{}s size. Enabling this option will fix this original aspect, and the way that the photo is fit into the object\textquotesingle{}s area.

See also \hyperlink{group__Elm__Photo_ga5985efda0e00c557af5f2a0babd1787b}{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fixed} & {\ttfamily true} if the photo should fix the aspect, {\ttfamily false} otherwise. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set().

\mbox{\label{group__Elm__Photo_gac5e196b54c9e7e086d585b9df690b4bb}} 
\index{Photo@{Photo}!elm\+\_\+photo\+\_\+editable\+\_\+get@{elm\+\_\+photo\+\_\+editable\+\_\+get}}
\index{elm\+\_\+photo\+\_\+editable\+\_\+get@{elm\+\_\+photo\+\_\+editable\+\_\+get}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+photo\+\_\+editable\+\_\+get()}{elm\_photo\_editable\_get()}}
{\footnotesize\ttfamily Eina\+\_\+\+Bool elm\+\_\+photo\+\_\+editable\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Photo $\ast$}]{obj }\end{DoxyParamCaption})}



Get editability of the photo. 

\begin{DoxyReturn}{Returns}
To set of clear editability. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+get().

\mbox{\label{group__Elm__Photo_ga605e59f79d7393d19accc83f84f626c0}} 
\index{Photo@{Photo}!elm\+\_\+photo\+\_\+editable\+\_\+set@{elm\+\_\+photo\+\_\+editable\+\_\+set}}
\index{elm\+\_\+photo\+\_\+editable\+\_\+set@{elm\+\_\+photo\+\_\+editable\+\_\+set}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+photo\+\_\+editable\+\_\+set()}{elm\_photo\_editable\_set()}}
{\footnotesize\ttfamily void elm\+\_\+photo\+\_\+editable\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Photo $\ast$}]{obj,  }\item[{Eina\+\_\+\+Bool}]{set }\end{DoxyParamCaption})}



Set editability of the photo. 

An editable photo can be dragged to or from, and can be cut or pasted too. Note that pasting an image or dropping an item on the image will delete the existing content.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em set} & To set of clear editability. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+photo\+\_\+editable\+\_\+set().

\mbox{\label{group__Elm__Photo_ga697500daaa458b968f26f3584168bbc5}} 
\index{Photo@{Photo}!elm\+\_\+photo\+\_\+file\+\_\+set@{elm\+\_\+photo\+\_\+file\+\_\+set}}
\index{elm\+\_\+photo\+\_\+file\+\_\+set@{elm\+\_\+photo\+\_\+file\+\_\+set}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+photo\+\_\+file\+\_\+set()}{elm\_photo\_file\_set()}}
{\footnotesize\ttfamily Eina\+\_\+\+Bool elm\+\_\+photo\+\_\+file\+\_\+set (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{const char $\ast$}]{file }\end{DoxyParamCaption})}



Set the file that will be used as the photo widget\textquotesingle{}s image. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise
\end{DoxyReturn}
\begin{DoxyNote}{Note}
Use {\ttfamily N\+U\+LL} on {\itshape file} to set the photo widget back to it\textquotesingle{}s initial state, which indicates \char`\"{}no photo\char`\"{}.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em file} & The path to file that will be used as {\itshape obj\textquotesingle{}s} image. \\
\hline
\end{DoxyParams}
\mbox{\label{group__Elm__Photo_ga9b4390e535efbd95a8e4701d12a8b6de}} 
\index{Photo@{Photo}!elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get@{elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get}}
\index{elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get@{elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get()}{elm\_photo\_fill\_inside\_get()}}
{\footnotesize\ttfamily Eina\+\_\+\+Bool elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Photo $\ast$}]{obj }\end{DoxyParamCaption})}



Get if the photo should be completely visible or not. 

\begin{DoxyReturn}{Returns}
Photo visibility. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get().

\mbox{\label{group__Elm__Photo_gafa88181a3d9e6e7f172fa6e3c51a6061}} 
\index{Photo@{Photo}!elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set@{elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set}}
\index{elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set@{elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set()}{elm\_photo\_fill\_inside\_set()}}
{\footnotesize\ttfamily void elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Photo $\ast$}]{obj,  }\item[{Eina\+\_\+\+Bool}]{fill }\end{DoxyParamCaption})}



Set if the photo should be completely visible or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fill} & Photo visibility. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set().

\mbox{\label{group__Elm__Photo_gaa6162ba852998b9bfba9aa8ae286b77d}} 
\index{Photo@{Photo}!elm\+\_\+photo\+\_\+size\+\_\+get@{elm\+\_\+photo\+\_\+size\+\_\+get}}
\index{elm\+\_\+photo\+\_\+size\+\_\+get@{elm\+\_\+photo\+\_\+size\+\_\+get}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+photo\+\_\+size\+\_\+get()}{elm\_photo\_size\_get()}}
{\footnotesize\ttfamily int elm\+\_\+photo\+\_\+size\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Photo $\ast$}]{obj }\end{DoxyParamCaption})}



Get the size that will be used on the photo. 

\begin{DoxyReturn}{Returns}
The size of the photo 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+get().

\mbox{\label{group__Elm__Photo_gabb84489ec2b986df5b87d288c8aed54d}} 
\index{Photo@{Photo}!elm\+\_\+photo\+\_\+size\+\_\+set@{elm\+\_\+photo\+\_\+size\+\_\+set}}
\index{elm\+\_\+photo\+\_\+size\+\_\+set@{elm\+\_\+photo\+\_\+size\+\_\+set}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+photo\+\_\+size\+\_\+set()}{elm\_photo\_size\_set()}}
{\footnotesize\ttfamily void elm\+\_\+photo\+\_\+size\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Photo $\ast$}]{obj,  }\item[{int}]{size }\end{DoxyParamCaption})}



Set the size that will be used on the photo. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em size} & The size of the photo \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+photo\+\_\+size\+\_\+set().

\mbox{\label{group__Elm__Photo_gadd8ec9ea5bc138b4daeaac8b4bc2e62e}} 
\index{Photo@{Photo}!elm\+\_\+photo\+\_\+thumb\+\_\+set@{elm\+\_\+photo\+\_\+thumb\+\_\+set}}
\index{elm\+\_\+photo\+\_\+thumb\+\_\+set@{elm\+\_\+photo\+\_\+thumb\+\_\+set}!Photo@{Photo}}
\subsubsection{\texorpdfstring{elm\+\_\+photo\+\_\+thumb\+\_\+set()}{elm\_photo\_thumb\_set()}}
{\footnotesize\ttfamily void elm\+\_\+photo\+\_\+thumb\+\_\+set (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Photo $\ast$}]{obj,  }\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{group }\end{DoxyParamCaption})}



Set the file that will be used as thumbnail in the photo. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em group} & The key used in case of an E\+ET file. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+photo\+\_\+thumb\+\_\+set().

