\section{Photo}
\label{group__Photo}\index{Photo@{Photo}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\-\_\-\-Object $\ast$ \hyperlink{group__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__Photo_ga7020da8db9401294aac22fbd2db27974}{elm\-\_\-photo\-\_\-file\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, const char $\ast$file)
\begin{DoxyCompactList}\small\item\em Set the file that will be used as the photo widget's image. \end{DoxyCompactList}\item 
void \hyperlink{group__Photo_ga9bdefe81e7ee8af98f610da73666f7a5}{elm\-\_\-photo\-\_\-thumb\-\_\-set} (const Evas\-\_\-\-Object $\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 
void \hyperlink{group__Photo_ga287fa3f82f8b73bc3a945d6e0a38a8f4}{elm\-\_\-photo\-\_\-size\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, int size)
\begin{DoxyCompactList}\small\item\em Set the size that will be used on the photo. \end{DoxyCompactList}\item 
void \hyperlink{group__Photo_ga9a76ae6e26cf188f12f1967930027ae1}{elm\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Eina\-\_\-\-Bool fill)
\begin{DoxyCompactList}\small\item\em Set if the photo should be completely visible or not. \end{DoxyCompactList}\item 
void \hyperlink{group__Photo_gadff7406f4138d1d4215676efa63ac68d}{elm\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-set} (Evas\-\_\-\-Object $\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__Photo_gaf3e0cacd0efe474716fcdc0ed3f017ab}{elm\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get if the object keeps the original aspect ratio. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Photo_ga358f7edb6c82248248bcdb9a799e535f}{elm\-\_\-obj\-\_\-photo\-\_\-add}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-D\-D), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Object $\ast$$\ast$, ret)
\item 
\#define \hyperlink{group__Photo_gaa15a66fa4ec4668ba75951063f556ddf}{elm\-\_\-obj\-\_\-photo\-\_\-file\-\_\-set}(file, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-L\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, file), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\item 
\#define \hyperlink{group__Photo_gadb6df7f6c3bdc51af6403c6630852f16}{elm\-\_\-obj\-\_\-photo\-\_\-size\-\_\-set}(size)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, size)
\item 
\#define \hyperlink{group__Photo_ga974fe7075dedf655d2bbd33328bb7a3e}{elm\-\_\-obj\-\_\-photo\-\_\-size\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, ret)
\item 
\#define \hyperlink{group__Photo_ga4d9220c81ee2b198a9555dba92e9936f}{elm\-\_\-obj\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-set}(fill)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-L\-L\-\_\-\-I\-N\-S\-I\-D\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, fill)
\item 
\#define \hyperlink{group__Photo_ga43a550c4188aec0c2160c8b594334b16}{elm\-\_\-obj\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-L\-L\-\_\-\-I\-N\-S\-I\-D\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\item 
\#define \hyperlink{group__Photo_ga24b1a21bb62f8ac062a29004299e45cf}{elm\-\_\-obj\-\_\-photo\-\_\-editable\-\_\-set}(set)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-E\-D\-I\-T\-A\-B\-L\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, set)
\item 
\#define \hyperlink{group__Photo_ga05cf699cd7d476fa0da0e7856f204e96}{elm\-\_\-obj\-\_\-photo\-\_\-editable\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-E\-D\-I\-T\-A\-B\-L\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\item 
\#define \hyperlink{group__Photo_gadc6eb6f43421d4a2a05b80ce10ee2720}{elm\-\_\-obj\-\_\-photo\-\_\-thumb\-\_\-set}(file, group)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-T\-H\-U\-M\-B\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, file), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, group)
\item 
\#define \hyperlink{group__Photo_ga4eb5e374f680068dbd007b2ece45acdc}{elm\-\_\-obj\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-set}(fixed)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-S\-P\-E\-C\-T\-\_\-\-F\-I\-X\-E\-D\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, fixed)
\item 
\#define \hyperlink{group__Photo_gab00de7a230bec2dd3638478da93ebf5b}{elm\-\_\-obj\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-S\-P\-E\-C\-T\-\_\-\-F\-I\-X\-E\-D\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\end{DoxyCompactItemize}


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


The Elementary photo widget is intended for displaying a photo, for ex., a person'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's a photo placeholder.

This widget relies on an internal \hyperlink{group__Icon}{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's frame
\item {\ttfamily \char`\"{}drag,end\char`\"{}} -\/ One has dropped the dragged image somewhere 
\end{DoxyItemize}

\subsection{Macro Definition Documentation}
\index{Photo@{Photo}!elm\-\_\-obj\-\_\-photo\-\_\-add@{elm\-\_\-obj\-\_\-photo\-\_\-add}}
\index{elm\-\_\-obj\-\_\-photo\-\_\-add@{elm\-\_\-obj\-\_\-photo\-\_\-add}!Photo@{Photo}}
\subsubsection[{elm\-\_\-obj\-\_\-photo\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-photo\-\_\-add(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-D\-D), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Object $\ast$$\ast$, ret)}\label{group__Photo_ga358f7edb6c82248248bcdb9a799e535f}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Add a new photo to the parent


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Photo_ga7e50794931945a9e9e301f2ccf040a15}{elm\-\_\-photo\-\_\-add} 
\end{DoxySeeAlso}
\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[{elm\-\_\-obj\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-S\-P\-E\-C\-T\-\_\-\-F\-I\-X\-E\-D\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Photo_gab00de7a230bec2dd3638478da93ebf5b}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get if the object keeps the original aspect ratio.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Photo_gaf3e0cacd0efe474716fcdc0ed3f017ab}{elm\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-get} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{fixed}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-S\-P\-E\-C\-T\-\_\-\-F\-I\-X\-E\-D\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, fixed)}\label{group__Photo_ga4eb5e374f680068dbd007b2ece45acdc}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set whether the original aspect ratio of the photo should be kept on resize.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fixed} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Photo_gadff7406f4138d1d4215676efa63ac68d}{elm\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-set} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-photo\-\_\-editable\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-photo\-\_\-editable\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-E\-D\-I\-T\-A\-B\-L\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Photo_ga05cf699cd7d476fa0da0e7856f204e96}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get editability of the photo.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
There is no elm\-\_\-photo\-\_\-editable\-\_\-get
\end{DoxyNote}
\begin{DoxySeeAlso}{See Also}
elm\-\_\-photo\-\_\-editable\-\_\-set 

\hyperlink{group__Photo_ga24b1a21bb62f8ac062a29004299e45cf}{elm\-\_\-obj\-\_\-photo\-\_\-editable\-\_\-set} 
\end{DoxySeeAlso}
\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[{elm\-\_\-obj\-\_\-photo\-\_\-editable\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-photo\-\_\-editable\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{set}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-E\-D\-I\-T\-A\-B\-L\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, set)}\label{group__Photo_ga24b1a21bb62f8ac062a29004299e45cf}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set editability of the photo.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em set} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
elm\-\_\-photo\-\_\-editable\-\_\-set 
\end{DoxySeeAlso}
\index{Photo@{Photo}!elm\-\_\-obj\-\_\-photo\-\_\-file\-\_\-set@{elm\-\_\-obj\-\_\-photo\-\_\-file\-\_\-set}}
\index{elm\-\_\-obj\-\_\-photo\-\_\-file\-\_\-set@{elm\-\_\-obj\-\_\-photo\-\_\-file\-\_\-set}!Photo@{Photo}}
\subsubsection[{elm\-\_\-obj\-\_\-photo\-\_\-file\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-photo\-\_\-file\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{file, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-L\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, file), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Photo_gaa15a66fa4ec4668ba75951063f556ddf}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the file that will be used as the photo widget's image.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em file} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Photo_ga7020da8db9401294aac22fbd2db27974}{elm\-\_\-photo\-\_\-file\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-photo\-\_\-file\-\_\-set().

\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[{elm\-\_\-obj\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-L\-L\-\_\-\-I\-N\-S\-I\-D\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Photo_ga43a550c4188aec0c2160c8b594334b16}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get if the photo should be completely visible or not.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
There is no elm\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-get
\end{DoxyNote}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Photo_ga9a76ae6e26cf188f12f1967930027ae1}{elm\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-set} 

\hyperlink{group__Photo_ga4d9220c81ee2b198a9555dba92e9936f}{elm\-\_\-obj\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-set} 
\end{DoxySeeAlso}
\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[{elm\-\_\-obj\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{fill}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-L\-L\-\_\-\-I\-N\-S\-I\-D\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, fill)}\label{group__Photo_ga4d9220c81ee2b198a9555dba92e9936f}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set if the photo should be completely visible or not.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fill} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Photo_ga9a76ae6e26cf188f12f1967930027ae1}{elm\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-set} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-photo\-\_\-size\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-photo\-\_\-size\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, ret)}\label{group__Photo_ga974fe7075dedf655d2bbd33328bb7a3e}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get the size that will be used on the photo


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
There is no elm\-\_\-photo\-\_\-size\-\_\-get
\end{DoxyNote}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Photo_ga287fa3f82f8b73bc3a945d6e0a38a8f4}{elm\-\_\-photo\-\_\-size\-\_\-set} 

\hyperlink{group__Photo_gadb6df7f6c3bdc51af6403c6630852f16}{elm\-\_\-obj\-\_\-photo\-\_\-size\-\_\-set} 
\end{DoxySeeAlso}
\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[{elm\-\_\-obj\-\_\-photo\-\_\-size\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-photo\-\_\-size\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{size}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, size)}\label{group__Photo_gadb6df7f6c3bdc51af6403c6630852f16}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the size that will be used on the photo


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em size} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Photo_ga287fa3f82f8b73bc3a945d6e0a38a8f4}{elm\-\_\-photo\-\_\-size\-\_\-set} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-photo\-\_\-thumb\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-photo\-\_\-thumb\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{file, }
\item[{}]{group}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-P\-H\-O\-T\-O\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-T\-H\-U\-M\-B\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, file), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, group)}\label{group__Photo_gadc6eb6f43421d4a2a05b80ce10ee2720}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the file that will be used as thumbnail in the photo.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em file} & \\
\hline
\mbox{\tt in}  & {\em group} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Photo_ga9bdefe81e7ee8af98f610da73666f7a5}{elm\-\_\-photo\-\_\-thumb\-\_\-set} 
\end{DoxySeeAlso}


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



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


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\-L\-L if it cannot be created 
\end{DoxyReturn}
\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[{elm\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Photo_gaf3e0cacd0efe474716fcdc0ed3f017ab}


Get if the object keeps the original aspect ratio. 


\begin{DoxyParams}{Parameters}
{\em obj} & The photo object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} if the object keeps the original aspect, {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise. 
\end{DoxyReturn}


References elm\-\_\-obj\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-get.

\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[{elm\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Eina\-\_\-\-Bool}]{fixed}
\end{DoxyParamCaption}
)}\label{group__Photo_gadff7406f4138d1d4215676efa63ac68d}


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


\begin{DoxyParams}{Parameters}
{\em obj} & The photo object. \\
\hline
{\em fixed} & {\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} if the photo should fix the aspect, {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.\\
\hline
\end{DoxyParams}
The original aspect ratio (width / height) of the photo is usually distorted to match the object's size. Enabling this option will fix this original aspect, and the way that the photo is fit into the object's area

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Photo_gaf3e0cacd0efe474716fcdc0ed3f017ab}{elm\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-get()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-photo\-\_\-aspect\-\_\-fixed\-\_\-set.

\index{Photo@{Photo}!elm\-\_\-photo\-\_\-file\-\_\-set@{elm\-\_\-photo\-\_\-file\-\_\-set}}
\index{elm\-\_\-photo\-\_\-file\-\_\-set@{elm\-\_\-photo\-\_\-file\-\_\-set}!Photo@{Photo}}
\subsubsection[{elm\-\_\-photo\-\_\-file\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-photo\-\_\-file\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{const char $\ast$}]{file}
\end{DoxyParamCaption}
)}\label{group__Photo_ga7020da8db9401294aac22fbd2db27974}


Set the file that will be used as the photo widget's image. 


\begin{DoxyParams}{Parameters}
{\em obj} & The photo object \\
\hline
{\em file} & The path to file that will be used as {\itshape obj's} image.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise
\end{DoxyReturn}
\begin{DoxyNote}{Note}
Use {\ttfamily N\-U\-L\-L} on {\itshape file} to set the photo widget back to it's initial state, which indicates \char`\"{}no photo\char`\"{}. 
\end{DoxyNote}


References elm\-\_\-obj\-\_\-photo\-\_\-file\-\_\-set.

\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[{elm\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Eina\-\_\-\-Bool}]{fill}
\end{DoxyParamCaption}
)}\label{group__Photo_ga9a76ae6e26cf188f12f1967930027ae1}


Set if the photo should be completely visible or not. 


\begin{DoxyParams}{Parameters}
{\em obj} & The photo object \\
\hline
{\em fill} & if true the photo will be completely visible \\
\hline
\end{DoxyParams}


References elm\-\_\-obj\-\_\-photo\-\_\-fill\-\_\-inside\-\_\-set.

\index{Photo@{Photo}!elm\-\_\-photo\-\_\-size\-\_\-set@{elm\-\_\-photo\-\_\-size\-\_\-set}}
\index{elm\-\_\-photo\-\_\-size\-\_\-set@{elm\-\_\-photo\-\_\-size\-\_\-set}!Photo@{Photo}}
\subsubsection[{elm\-\_\-photo\-\_\-size\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-photo\-\_\-size\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{int}]{size}
\end{DoxyParamCaption}
)}\label{group__Photo_ga287fa3f82f8b73bc3a945d6e0a38a8f4}


Set the size that will be used on the photo. 


\begin{DoxyParams}{Parameters}
{\em obj} & The photo object \\
\hline
{\em size} & The size of the photo \\
\hline
\end{DoxyParams}


References elm\-\_\-obj\-\_\-photo\-\_\-size\-\_\-set.

\index{Photo@{Photo}!elm\-\_\-photo\-\_\-thumb\-\_\-set@{elm\-\_\-photo\-\_\-thumb\-\_\-set}}
\index{elm\-\_\-photo\-\_\-thumb\-\_\-set@{elm\-\_\-photo\-\_\-thumb\-\_\-set}!Photo@{Photo}}
\subsubsection[{elm\-\_\-photo\-\_\-thumb\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-photo\-\_\-thumb\-\_\-set (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{const char $\ast$}]{file, }
\item[{const char $\ast$}]{group}
\end{DoxyParamCaption}
)}\label{group__Photo_ga9bdefe81e7ee8af98f610da73666f7a5}


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


\begin{DoxyParams}{Parameters}
{\em obj} & The photo object. \\
\hline
{\em file} & The path to file that will be used as thumbnail. \\
\hline
{\em group} & The key used in case of an E\-E\-T file. \\
\hline
\end{DoxyParams}


References elm\-\_\-obj\-\_\-photo\-\_\-thumb\-\_\-set.

