\hypertarget{group__Elm__Photo}{}\doxysection{Photo}
\label{group__Elm__Photo}\index{Photo@{Photo}}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group__Elm__Photo_ga7fc918d7845d533a3dcdcb6f08274f34}{ELM\+\_\+\+PHOTO\+\_\+\+CLASS}}~elm\+\_\+photo\+\_\+class\+\_\+get()
\begin{DoxyCompactList}\small\item\em Elementary photo class. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Photo_gaa4f21ad743b6bc8c4bc106c388deea60}{elm\+\_\+photo\+\_\+add}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new photo to the parent. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\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}\item 
void \mbox{\hyperlink{group__Elm__Photo_ga26e06e0163cb4dd8c9ddce05a3dbdf6e}{elm\+\_\+photo\+\_\+editable\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} set)
\begin{DoxyCompactList}\small\item\em Set editability of the photo. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Photo_ga2a9df2008817fad516fab4c4a065273e}{elm\+\_\+photo\+\_\+editable\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get editability of the photo. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Photo_ga9a76ae6e26cf188f12f1967930027ae1}{elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} fill)
\begin{DoxyCompactList}\small\item\em Set if the photo should be completely visible or not. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Photo_ga7bf6ee560d0393fef0b747e4b26db5df}{elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get if the photo should be completely visible or not. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Photo_gadff7406f4138d1d4215676efa63ac68d}{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{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 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Photo_gaf3e0cacd0efe474716fcdc0ed3f017ab}{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get if the object keeps the original aspect ratio. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Photo_ga287fa3f82f8b73bc3a945d6e0a38a8f4}{elm\+\_\+photo\+\_\+size\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, int size)
\begin{DoxyCompactList}\small\item\em Set the size that will be used on the photo. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Elm__Photo_ga8dff6e024e5d5a6836addc19f1f21b46}{elm\+\_\+photo\+\_\+size\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the size that will be used on the photo. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Photo_ga03391e3dd28594a499712eb2b3288282}{elm\+\_\+photo\+\_\+thumb\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{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}\end{DoxyCompactItemize}


\doxysubsection{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 APIs 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}

\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{group__Elm__Photo_ga7fc918d7845d533a3dcdcb6f08274f34}\label{group__Elm__Photo_ga7fc918d7845d533a3dcdcb6f08274f34}} 
\index{Photo@{Photo}!ELM\_PHOTO\_CLASS@{ELM\_PHOTO\_CLASS}}
\index{ELM\_PHOTO\_CLASS@{ELM\_PHOTO\_CLASS}!Photo@{Photo}}
\doxysubsubsection{\texorpdfstring{ELM\_PHOTO\_CLASS}{ELM\_PHOTO\_CLASS}}
{\footnotesize\ttfamily \#define ELM\+\_\+\+PHOTO\+\_\+\+CLASS~elm\+\_\+photo\+\_\+class\+\_\+get()}



Elementary photo class. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__Photo_gaa4f21ad743b6bc8c4bc106c388deea60}\label{group__Elm__Photo_gaa4f21ad743b6bc8c4bc106c388deea60}} 
\index{Photo@{Photo}!elm\_photo\_add@{elm\_photo\_add}}
\index{elm\_photo\_add@{elm\_photo\_add}!Photo@{Photo}}
\doxysubsubsection{\texorpdfstring{elm\_photo\_add()}{elm\_photo\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ elm\+\_\+photo\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{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 NULL if it cannot be created 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Elm__Photo_ga697500daaa458b968f26f3584168bbc5}\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}}
\doxysubsubsection{\texorpdfstring{elm\_photo\_file\_set()}{elm\_photo\_file\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{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 EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} otherwise
\end{DoxyReturn}
\begin{DoxyNote}{Note}
Use {\ttfamily NULL} 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{\texttt{ in}}  & {\em file} & The path to file that will be used as {\itshape obj\textquotesingle{}s} image. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Photo_ga26e06e0163cb4dd8c9ddce05a3dbdf6e}\label{group__Elm__Photo_ga26e06e0163cb4dd8c9ddce05a3dbdf6e}} 
\index{Photo@{Photo}!elm\_photo\_editable\_set@{elm\_photo\_editable\_set}}
\index{elm\_photo\_editable\_set@{elm\_photo\_editable\_set}!Photo@{Photo}}
\doxysubsubsection{\texorpdfstring{elm\_photo\_editable\_set()}{elm\_photo\_editable\_set()}}
{\footnotesize\ttfamily void elm\+\_\+photo\+\_\+editable\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{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{\texttt{ in}}  & {\em set} & To set of clear editability. \\
\hline
\end{DoxyParams}


References \mbox{\hyperlink{group__Elm__Image_gaa58c91d1c9d19647608aa463c7ac3c98}{elm\+\_\+image\+\_\+editable\+\_\+set()}}.

\mbox{\Hypertarget{group__Elm__Photo_ga2a9df2008817fad516fab4c4a065273e}\label{group__Elm__Photo_ga2a9df2008817fad516fab4c4a065273e}} 
\index{Photo@{Photo}!elm\_photo\_editable\_get@{elm\_photo\_editable\_get}}
\index{elm\_photo\_editable\_get@{elm\_photo\_editable\_get}!Photo@{Photo}}
\doxysubsubsection{\texorpdfstring{elm\_photo\_editable\_get()}{elm\_photo\_editable\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+photo\+\_\+editable\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get editability of the photo. 

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


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Elm__Image_ga773bfcf633aa798a6c428165f7b252ad}{elm\+\_\+image\+\_\+editable\+\_\+get()}}.

\mbox{\Hypertarget{group__Elm__Photo_ga9a76ae6e26cf188f12f1967930027ae1}\label{group__Elm__Photo_ga9a76ae6e26cf188f12f1967930027ae1}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_photo\_fill\_inside\_set()}{elm\_photo\_fill\_inside\_set()}}
{\footnotesize\ttfamily void elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{fill }\end{DoxyParamCaption})}



Set if the photo should be completely visible or not. 


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


References \mbox{\hyperlink{group__Elm__Image_ga4c6c2fe6f609406329e2be2011574f94}{elm\+\_\+image\+\_\+fill\+\_\+outside\+\_\+set()}}.

\mbox{\Hypertarget{group__Elm__Photo_ga7bf6ee560d0393fef0b747e4b26db5df}\label{group__Elm__Photo_ga7bf6ee560d0393fef0b747e4b26db5df}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_photo\_fill\_inside\_get()}{elm\_photo\_fill\_inside\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+photo\+\_\+fill\+\_\+inside\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get if the photo should be completely visible or not. 

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


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}.

\mbox{\Hypertarget{group__Elm__Photo_gadff7406f4138d1d4215676efa63ac68d}\label{group__Elm__Photo_gadff7406f4138d1d4215676efa63ac68d}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_photo\_aspect\_fixed\_set()}{elm\_photo\_aspect\_fixed\_set()}}
{\footnotesize\ttfamily void elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{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 \mbox{\hyperlink{group__Elm__Photo_gaf3e0cacd0efe474716fcdc0ed3f017ab}{elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get}}.


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


References \mbox{\hyperlink{group__Elm__Image_gadd748c70384fb332aba9d0f3a9da2a50}{elm\+\_\+image\+\_\+aspect\+\_\+fixed\+\_\+set()}}.

\mbox{\Hypertarget{group__Elm__Photo_gaf3e0cacd0efe474716fcdc0ed3f017ab}\label{group__Elm__Photo_gaf3e0cacd0efe474716fcdc0ed3f017ab}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_photo\_aspect\_fixed\_get()}{elm\_photo\_aspect\_fixed\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+photo\+\_\+aspect\+\_\+fixed\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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 \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Elm__Image_ga5cb21727ba0b8c1d9a2a381e51871874}{elm\+\_\+image\+\_\+aspect\+\_\+fixed\+\_\+get()}}.

\mbox{\Hypertarget{group__Elm__Photo_ga287fa3f82f8b73bc3a945d6e0a38a8f4}\label{group__Elm__Photo_ga287fa3f82f8b73bc3a945d6e0a38a8f4}} 
\index{Photo@{Photo}!elm\_photo\_size\_set@{elm\_photo\_size\_set}}
\index{elm\_photo\_size\_set@{elm\_photo\_size\_set}!Photo@{Photo}}
\doxysubsubsection{\texorpdfstring{elm\_photo\_size\_set()}{elm\_photo\_size\_set()}}
{\footnotesize\ttfamily void elm\+\_\+photo\+\_\+size\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{int}]{size }\end{DoxyParamCaption})}



Set the size that will be used on the photo. 


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


References \mbox{\hyperlink{group__Elm__Image_gafb6dd2b235e25b2bd0b93d82e205a4f6}{elm\+\_\+image\+\_\+prescale\+\_\+set()}}.

\mbox{\Hypertarget{group__Elm__Photo_ga8dff6e024e5d5a6836addc19f1f21b46}\label{group__Elm__Photo_ga8dff6e024e5d5a6836addc19f1f21b46}} 
\index{Photo@{Photo}!elm\_photo\_size\_get@{elm\_photo\_size\_get}}
\index{elm\_photo\_size\_get@{elm\_photo\_size\_get}!Photo@{Photo}}
\doxysubsubsection{\texorpdfstring{elm\_photo\_size\_get()}{elm\_photo\_size\_get()}}
{\footnotesize\ttfamily int elm\+\_\+photo\+\_\+size\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the size that will be used on the photo. 

\begin{DoxyReturn}{Returns}
The size of the photo 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Photo_ga03391e3dd28594a499712eb2b3288282}\label{group__Elm__Photo_ga03391e3dd28594a499712eb2b3288282}} 
\index{Photo@{Photo}!elm\_photo\_thumb\_set@{elm\_photo\_thumb\_set}}
\index{elm\_photo\_thumb\_set@{elm\_photo\_thumb\_set}!Photo@{Photo}}
\doxysubsubsection{\texorpdfstring{elm\_photo\_thumb\_set()}{elm\_photo\_thumb\_set()}}
{\footnotesize\ttfamily void elm\+\_\+photo\+\_\+thumb\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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{\texttt{ in}}  & {\em group} & The key used in case of an EET file. \\
\hline
\end{DoxyParams}


References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}, and \mbox{\hyperlink{group__Elm__Icon_gababcfd77a35c49ed5e988cda64cbf694}{elm\+\_\+icon\+\_\+thumb\+\_\+set()}}.

