\hypertarget{structedje_1_1edit}{\section{edje\+:\+:edit Struct Reference}
\label{structedje_1_1edit}\index{edje\+::edit@{edje\+::edit}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structedje_1_1edit_a6eb4ce7373a1504446a3c0f369b6a33a}{edit} (\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$eo)
\begin{DoxyCompactList}\small\item\em Eo Constructor. \end{DoxyCompactList}\item 
\hyperlink{structedje_1_1edit_a6caed94dcdb008ba24d2339c6a7344eb}{edit} (std\+::nullptr\+\_\+t)
\begin{DoxyCompactList}\small\item\em nullptr\+\_\+t Constructor. \end{DoxyCompactList}\item 
\hyperlink{structedje_1_1edit_a0fcca2adfba4fe5a25bb3ff1fa78ed0a}{edit} (\hyperlink{structefl_1_1eo_1_1parent__type}{efl\+::eo\+::parent\+\_\+type} \+\_\+p=(efl\+::eo\+::parent=nullptr))
\begin{DoxyCompactList}\small\item\em Call the object's constructor. \end{DoxyCompactList}\item 
\hypertarget{structedje_1_1edit_ae688e97e991709c537e5a31fc8aa536d}{\hyperlink{structedje_1_1edit_ae688e97e991709c537e5a31fc8aa536d}{edit} (\hyperlink{structedje_1_1edit}{edit} const \&other)}\label{structedje_1_1edit_ae688e97e991709c537e5a31fc8aa536d}

\begin{DoxyCompactList}\small\item\em Copy Constructor. \end{DoxyCompactList}\item 
\hypertarget{structedje_1_1edit_adb3cbe6bc983dec5f5a86570d884933e}{void \hyperlink{structedje_1_1edit_adb3cbe6bc983dec5f5a86570d884933e}{del} () const }\label{structedje_1_1edit_adb3cbe6bc983dec5f5a86570d884933e}

\begin{DoxyCompactList}\small\item\em Deletes a smart object. \end{DoxyCompactList}\item 
bool \hyperlink{structedje_1_1edit_a3dbbd0908e75c7d5a015868fad4c0305}{file\+\_\+set} (std\+::string file\+\_\+, std\+::string key\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the source file from where an image object must fetch the real image data (it may be an Eet file, besides pure image ones). \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structedje_1_1edit_a3579f27fc8e4410c88cd541319a5b750}{static \hyperlink{group__Eo_ga88d29df76a2921aa5478803156d83be5}{Eo\+\_\+\+Class} const $\ast$ {\bfseries \+\_\+eo\+\_\+class} ()}\label{structedje_1_1edit_a3579f27fc8e4410c88cd541319a5b750}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{structedje_1_1edit_a6eb4ce7373a1504446a3c0f369b6a33a}{\index{edje\+::edit@{edje\+::edit}!edit@{edit}}
\index{edit@{edit}!edje\+::edit@{edje\+::edit}}
\subsubsection[{edit}]{\setlength{\rightskip}{0pt plus 5cm}edje\+::edit\+::edit (
\begin{DoxyParamCaption}
\item[{{\bf Eo} $\ast$}]{eo}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}}\label{structedje_1_1edit_a6eb4ce7373a1504446a3c0f369b6a33a}


Eo Constructor. 

Constructs the object from an Eo$\ast$ pointer stealing its ownership.


\begin{DoxyParams}{Parameters}
{\em eo} & The Eo object pointer. \\
\hline
\end{DoxyParams}
\hypertarget{structedje_1_1edit_a6caed94dcdb008ba24d2339c6a7344eb}{\index{edje\+::edit@{edje\+::edit}!edit@{edit}}
\index{edit@{edit}!edje\+::edit@{edje\+::edit}}
\subsubsection[{edit}]{\setlength{\rightskip}{0pt plus 5cm}edje\+::edit\+::edit (
\begin{DoxyParamCaption}
\item[{std\+::nullptr\+\_\+t}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}}\label{structedje_1_1edit_a6caed94dcdb008ba24d2339c6a7344eb}


nullptr\+\_\+t Constructor. 

Constructs an empty (null) object. \hypertarget{structedje_1_1edit_a0fcca2adfba4fe5a25bb3ff1fa78ed0a}{\index{edje\+::edit@{edje\+::edit}!edit@{edit}}
\index{edit@{edit}!edje\+::edit@{edje\+::edit}}
\subsubsection[{edit}]{\setlength{\rightskip}{0pt plus 5cm}edje\+::edit\+::edit (
\begin{DoxyParamCaption}
\item[{{\bf efl\+::eo\+::parent\+\_\+type}}]{\+\_\+p = {\ttfamily (efl\+:\+:eo\+:\+:parent~=~nullptr)}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{structedje_1_1edit_a0fcca2adfba4fe5a25bb3ff1fa78ed0a}


Call the object's constructor. 

Should not be used with \#eo\+\_\+do. Only use it with \#eo\+\_\+do\+\_\+super. 

\subsection{Member Function Documentation}
\hypertarget{structedje_1_1edit_a3dbbd0908e75c7d5a015868fad4c0305}{\index{edje\+::edit@{edje\+::edit}!file\+\_\+set@{file\+\_\+set}}
\index{file\+\_\+set@{file\+\_\+set}!edje\+::edit@{edje\+::edit}}
\subsubsection[{file\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}bool edje\+::edit\+::file\+\_\+set (
\begin{DoxyParamCaption}
\item[{std\+::string}]{file\+\_\+, }
\item[{std\+::string}]{key\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structedje_1_1edit_a3dbbd0908e75c7d5a015868fad4c0305}


Set the source file from where an image object must fetch the real image data (it may be an Eet file, besides pure image ones). 

If the file supports multiple data stored in it (as Eet files do), you can specify the key to be used as the index of the image in this file.

Example\+: 
\begin{DoxyCode}
img = \hyperlink{group__Evas__Object__Image_gadd901a6b181c38dc040537b3fd76fcc6}{evas\_object\_image\_add}(canvas);
\hyperlink{group__Evas__Object__Image_gac27fd0ceabe5f56607b7a86d71577df1}{evas\_object\_image\_file\_set}(img, \textcolor{stringliteral}{"/path/to/img"}, NULL);
err = evas\_object\_image\_load\_error\_get(img);
\textcolor{keywordflow}{if} (err != EVAS\_LOAD\_ERROR\_NONE)
\{
fprintf(stderr, \textcolor{stringliteral}{"could not load image '%s'. error string is \(\backslash\)"%s\(\backslash\)"\(\backslash\)n"},
valid\_path, \hyperlink{group__Evas__Utils_gaca3384642e5ebb32cfeab24c760c739a}{evas\_load\_error\_str}(err));
\}
\textcolor{keywordflow}{else}
\{
evas\_object\_image\_fill\_set(img, 0, 0, w, h);
evas\_object\_resize(img, w, h);
\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\_object\_show}(img);
\}
\end{DoxyCode}



\begin{DoxyParams}{Parameters}
{\em file} & The image file path. \\
\hline
{\em key} & The image key in {\ttfamily file} (if its an Eet one), or {\ttfamily N\+U\+L\+L}, otherwise. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

