\hypertarget{group__Elm__Bg}{}\section{Background}
\label{group__Elm__Bg}\index{Background@{Background}}


Background object, used for setting a solid color, image or Edje group as a background to a window or any container object.  


\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Elm__Bg_ga42d782dd003db385149508ae323279f3}{E\+L\+M\+\_\+\+B\+G\+\_\+\+C\+L\+A\+SS}~elm\+\_\+bg\+\_\+class\+\_\+get()
\begin{DoxyCompactList}\small\item\em The bg (background) widget is used for setting (solid) background decorations. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option} \{ \newline
{\bfseries E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+C\+E\+N\+T\+ER} = 0, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE}, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26ab6da4402f66e31e15d30b7b79bf7478b}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH}, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a95d3970cc20d64547bf76b9aba606002}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE}, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a714632e623be7b2e82c96aea6aba5ce3}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST}, 
\newline
{\bfseries E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+C\+E\+N\+T\+ER} = 0, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE}, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26ab6da4402f66e31e15d30b7b79bf7478b}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH}, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a95d3970cc20d64547bf76b9aba606002}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE}, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a714632e623be7b2e82c96aea6aba5ce3}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST}
 \}\begin{DoxyCompactList}\small\item\em Identifiers on how a background widget is to display its image. \end{DoxyCompactList}
\item 
enum \hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option} \{ \newline
{\bfseries E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+C\+E\+N\+T\+ER} = 0, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE}, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26ab6da4402f66e31e15d30b7b79bf7478b}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH}, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a95d3970cc20d64547bf76b9aba606002}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE}, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a714632e623be7b2e82c96aea6aba5ce3}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST}, 
\newline
{\bfseries E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+C\+E\+N\+T\+ER} = 0, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE}, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26ab6da4402f66e31e15d30b7b79bf7478b}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH}, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a95d3970cc20d64547bf76b9aba606002}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE}, 
\newline
\hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a714632e623be7b2e82c96aea6aba5ce3}{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST}
 \}\begin{DoxyCompactList}\small\item\em Identifiers on how a background widget is to display its image. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Bg_gadb98a147e3453df4e292f1fd079699d4}{elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+set} (\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$obj, \hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option} option)
\begin{DoxyCompactList}\small\item\em The mode of display for a given background widget\textquotesingle{}s image. \end{DoxyCompactList}\item 
E\+O\+A\+PI \hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option} \hyperlink{group__Elm__Bg_gaf9cecb1669655ebfccd9dd36fe983cda}{elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+get} (const \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$obj)
\begin{DoxyCompactList}\small\item\em The mode of display for a given background widget\textquotesingle{}s image. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Bg_gafacd8f09a1f9efff87c7027b1bb9e207}{elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+set} (\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$obj, int r, int g, int b, int a)
\begin{DoxyCompactList}\small\item\em The color on a given background widget. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Bg_ga42fdcdf5b5f6d679a082fbbc1fa26e5d}{elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+get} (const \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$obj, int $\ast$r, int $\ast$g, int $\ast$b, int $\ast$a)
\begin{DoxyCompactList}\small\item\em The color on a given background widget. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Bg_gac7fe3ad5541dc15e8dbfd9d9c0d30c46}{elm\+\_\+obj\+\_\+bg\+\_\+load\+\_\+size\+\_\+set} (\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$obj, \hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} w, \hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} h)
\begin{DoxyCompactList}\small\item\em Set the size of the pixmap representation of the image set on a given background widget. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Bg_gab079cb5e5f770be10ddb4acb00434f57}{elm\+\_\+bg\+\_\+option\+\_\+set} (Elm\+\_\+\+Bg $\ast$obj, \hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option} option)
\begin{DoxyCompactList}\small\item\em The bg (background) widget is used for setting (solid) background decorations. \end{DoxyCompactList}\item 
\hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option} \hyperlink{group__Elm__Bg_gacaf91f944846418cee118e198b2c1c66}{elm\+\_\+bg\+\_\+option\+\_\+get} (const Elm\+\_\+\+Bg $\ast$obj)
\begin{DoxyCompactList}\small\item\em The mode of display for a given background widget\textquotesingle{}s image. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Bg_ga6828b88b1b5fe31bbb94d48d77362b34}{elm\+\_\+bg\+\_\+load\+\_\+size\+\_\+set} (Elm\+\_\+\+Bg $\ast$obj, \hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} w, \hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} h)
\begin{DoxyCompactList}\small\item\em Set the size of the pixmap representation of the image set on a given background widget. \end{DoxyCompactList}\item 
\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$ \hyperlink{group__Elm__Bg_gaeec8f79ac62ce0cf607cfe330008a63f}{elm\+\_\+bg\+\_\+add} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new background to the parent. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Bg_ga9431af239574a212be6988d618be5ae8}{elm\+\_\+bg\+\_\+color\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int r, int g, int b)
\begin{DoxyCompactList}\small\item\em Set the color on a given background widget. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Bg_ga7ebcf30b15b9610380101a26b240b711}{elm\+\_\+bg\+\_\+color\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int $\ast$r, int $\ast$g, int $\ast$b)
\begin{DoxyCompactList}\small\item\em Get the color set on a given background widget. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Elm__Bg_ga0b11c11879de61126414adfbfe3e431c}{elm\+\_\+bg\+\_\+file\+\_\+set} (\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$obj, const char $\ast$file, const char $\ast$group)
\begin{DoxyCompactList}\small\item\em Set the file (image or edje collection) to give life for the background. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Bg_gafd923c1eb9d78db9f4b50fcfec7c74ae}{elm\+\_\+bg\+\_\+file\+\_\+get} (const \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$obj, const char $\ast$$\ast$file, const char $\ast$$\ast$group)
\begin{DoxyCompactList}\small\item\em Get the file (image or edje collection) set on a given background widget. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Background object, used for setting a solid color, image or Edje group as a background to a window or any container object. 

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


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{img/widget/bg/preview-00}}
\end{DoxyImageNoCaption}


The bg (background) widget is used for setting (solid) background decorations to a window (unless it has transparency enabled) or to any container object. It works just like an image, but has some properties useful to a background, like setting it to tiled, centered, scaled or stretched.

This widget inherits from the Layout one, so that all the functions acting on it also work for background objects.

Default content parts of the bg widget that you can use for are\+: \begin{DoxyItemize}
\item {\ttfamily \char`\"{}overlay\char`\"{}} -\/ overlay of the bg\end{DoxyItemize}
Here is some sample code using it\+: \begin{DoxyItemize}
\item bg\+\_\+01\+\_\+example\+\_\+page \item bg\+\_\+02\+\_\+example\+\_\+page \item bg\+\_\+03\+\_\+example\+\_\+page \end{DoxyItemize}


\subsection{Macro Definition Documentation}
\hypertarget{group__Elm__Bg_ga42d782dd003db385149508ae323279f3}{}\label{group__Elm__Bg_ga42d782dd003db385149508ae323279f3} 
\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+C\+L\+A\+SS@{E\+L\+M\+\_\+\+B\+G\+\_\+\+C\+L\+A\+SS}}
\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+C\+L\+A\+SS@{E\+L\+M\+\_\+\+B\+G\+\_\+\+C\+L\+A\+SS}!Background@{Background}}
\subsubsection{\texorpdfstring{E\+L\+M\+\_\+\+B\+G\+\_\+\+C\+L\+A\+SS}{ELM\_BG\_CLASS}}
{\footnotesize\ttfamily \#define E\+L\+M\+\_\+\+B\+G\+\_\+\+C\+L\+A\+SS~elm\+\_\+bg\+\_\+class\+\_\+get()}



The bg (background) widget is used for setting (solid) background decorations. 

to a window (unless it has transparency enabled) or to any container object. It works just like an image, but has some properties useful to a background, like setting it to tiled, centered, scaled or stretched. 

\subsection{Enumeration Type Documentation}
\hypertarget{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{}\label{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26} 
\index{Background@{Background}!Elm\+\_\+\+Bg\+\_\+\+Option@{Elm\+\_\+\+Bg\+\_\+\+Option}}
\index{Elm\+\_\+\+Bg\+\_\+\+Option@{Elm\+\_\+\+Bg\+\_\+\+Option}!Background@{Background}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Bg\+\_\+\+Option}{Elm\_Bg\_Option}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily enum \hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option}}



Identifiers on how a background widget is to display its image. 

-- if it was set to use an image file.

See also \hyperlink{group__Elm__Bg_gadb98a147e3453df4e292f1fd079699d4}{elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+set}, \hyperlink{group__Elm__Bg_gaf9cecb1669655ebfccd9dd36fe983cda}{elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+get}. \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE&Center the background image. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26ab6da4402f66e31e15d30b7b79bf7478b}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26ab6da4402f66e31e15d30b7b79bf7478b} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH&Scale the background image, retaining aspect ratio (default). \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a95d3970cc20d64547bf76b9aba606002}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a95d3970cc20d64547bf76b9aba606002} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE&Stretch the background image to fill the widget\textquotesingle{}s area. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a714632e623be7b2e82c96aea6aba5ce3}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a714632e623be7b2e82c96aea6aba5ce3} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST&Tile background image at its original size. Sentinel value, also used to indicate errors. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE&Center the background image. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26ab6da4402f66e31e15d30b7b79bf7478b}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26ab6da4402f66e31e15d30b7b79bf7478b} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH&Scale the background image, retaining aspect ratio (default). \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a95d3970cc20d64547bf76b9aba606002}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a95d3970cc20d64547bf76b9aba606002} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE&Stretch the background image to fill the widget\textquotesingle{}s area. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a714632e623be7b2e82c96aea6aba5ce3}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a714632e623be7b2e82c96aea6aba5ce3} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST&Tile background image at its original size. Sentinel value, also used to indicate errors. \\
\hline

\end{DoxyEnumFields}
\hypertarget{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{}\label{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26} 
\index{Background@{Background}!Elm\+\_\+\+Bg\+\_\+\+Option@{Elm\+\_\+\+Bg\+\_\+\+Option}}
\index{Elm\+\_\+\+Bg\+\_\+\+Option@{Elm\+\_\+\+Bg\+\_\+\+Option}!Background@{Background}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Bg\+\_\+\+Option}{Elm\_Bg\_Option}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily enum \hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option}}



Identifiers on how a background widget is to display its image. 

-- if it was set to use an image file.

See also \hyperlink{group__Elm__Bg_gab079cb5e5f770be10ddb4acb00434f57}{elm\+\_\+bg\+\_\+option\+\_\+set}, \hyperlink{group__Elm__Bg_gacaf91f944846418cee118e198b2c1c66}{elm\+\_\+bg\+\_\+option\+\_\+get}. \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE&Center the background image. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26ab6da4402f66e31e15d30b7b79bf7478b}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26ab6da4402f66e31e15d30b7b79bf7478b} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH&Scale the background image, retaining aspect ratio (default). \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a95d3970cc20d64547bf76b9aba606002}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a95d3970cc20d64547bf76b9aba606002} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE&Stretch the background image to fill the widget\textquotesingle{}s area. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a714632e623be7b2e82c96aea6aba5ce3}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a714632e623be7b2e82c96aea6aba5ce3} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST&Tile background image at its original size. Sentinel value, also used to indicate errors. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE&Center the background image. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26ab6da4402f66e31e15d30b7b79bf7478b}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26ab6da4402f66e31e15d30b7b79bf7478b} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+T\+R\+E\+T\+CH&Scale the background image, retaining aspect ratio (default). \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a95d3970cc20d64547bf76b9aba606002}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a95d3970cc20d64547bf76b9aba606002} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+T\+I\+LE&Stretch the background image to fill the widget\textquotesingle{}s area. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST}!Background@{Background}}\index{Background@{Background}!E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST@{E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST}}}\hypertarget{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a714632e623be7b2e82c96aea6aba5ce3}{}\label{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a714632e623be7b2e82c96aea6aba5ce3} 
E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+L\+A\+ST&Tile background image at its original size. Sentinel value, also used to indicate errors. \\
\hline

\end{DoxyEnumFields}


\subsection{Function Documentation}
\hypertarget{group__Elm__Bg_gadb98a147e3453df4e292f1fd079699d4}{}\label{group__Elm__Bg_gadb98a147e3453df4e292f1fd079699d4} 
\index{Background@{Background}!elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+set@{elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+set}}
\index{elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+set@{elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+set}!Background@{Background}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+set()}{elm\_obj\_bg\_option\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$}]{obj,  }\item[{\hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option}}]{option }\end{DoxyParamCaption})}



The mode of display for a given background widget\textquotesingle{}s image. 

This sets how the background widget will display its image. This will only work if the efl\+\_\+file\+\_\+set was previously called with an image file on {\ttfamily obj}. The image can be display tiled, scaled, centered or stretched. \hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261}{Elm\+\_\+\+Bg\+\_\+\+Option\+::\+E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE} by default.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em option} & The desired background option(See \hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option}) \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+bg\+\_\+option\+\_\+set().

\hypertarget{group__Elm__Bg_gaf9cecb1669655ebfccd9dd36fe983cda}{}\label{group__Elm__Bg_gaf9cecb1669655ebfccd9dd36fe983cda} 
\index{Background@{Background}!elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+get@{elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+get}}
\index{elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+get@{elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+get}!Background@{Background}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+get()}{elm\_obj\_bg\_option\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI \hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option} elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$}]{obj }\end{DoxyParamCaption})}



The mode of display for a given background widget\textquotesingle{}s image. 

\begin{DoxyReturn}{Returns}
The desired background option(See \hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option}) 
\end{DoxyReturn}


Referenced by elm\+\_\+bg\+\_\+option\+\_\+get().

\hypertarget{group__Elm__Bg_gafacd8f09a1f9efff87c7027b1bb9e207}{}\label{group__Elm__Bg_gafacd8f09a1f9efff87c7027b1bb9e207} 
\index{Background@{Background}!elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+set@{elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+set}}
\index{elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+set@{elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+set}!Background@{Background}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+set()}{elm\_obj\_bg\_color\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$}]{obj,  }\item[{int}]{r,  }\item[{int}]{g,  }\item[{int}]{b,  }\item[{int}]{a }\end{DoxyParamCaption})}



The color on a given background widget. 

This sets the color used for the background rectangle, in R\+GB format. Each color component\textquotesingle{}s range is from 0 to 255.

\begin{DoxyNote}{Note}
You probably only want to use this function if you haven\textquotesingle{}t previously called efl\+\_\+file\+\_\+set, so that you just want a solid color background.

You can reset the color by setting {\ttfamily r}, {\ttfamily g}, {\ttfamily b} as -\/1, -\/1, -\/1.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em r} & The red color component\textquotesingle{}s value \\
\hline
\mbox{\tt in}  & {\em g} & The green color component\textquotesingle{}s value \\
\hline
\mbox{\tt in}  & {\em b} & The blue color component\textquotesingle{}s value \\
\hline
\mbox{\tt in}  & {\em a} & The alpha color component\textquotesingle{}s value \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+bg\+\_\+color\+\_\+set().

\hypertarget{group__Elm__Bg_ga42fdcdf5b5f6d679a082fbbc1fa26e5d}{}\label{group__Elm__Bg_ga42fdcdf5b5f6d679a082fbbc1fa26e5d} 
\index{Background@{Background}!elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+get@{elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+get}}
\index{elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+get@{elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+get}!Background@{Background}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+get()}{elm\_obj\_bg\_color\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$}]{obj,  }\item[{int $\ast$}]{r,  }\item[{int $\ast$}]{g,  }\item[{int $\ast$}]{b,  }\item[{int $\ast$}]{a }\end{DoxyParamCaption})}



The color on a given background widget. 

\begin{DoxyNote}{Note}
Use {\ttfamily null} pointers on the file components you\textquotesingle{}re not interested in\+: they\textquotesingle{}ll be ignored by the function.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em r} & The red color component\textquotesingle{}s value \\
\hline
\mbox{\tt out}  & {\em g} & The green color component\textquotesingle{}s value \\
\hline
\mbox{\tt out}  & {\em b} & The blue color component\textquotesingle{}s value \\
\hline
\mbox{\tt out}  & {\em a} & The alpha color component\textquotesingle{}s value \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+bg\+\_\+color\+\_\+get().

\hypertarget{group__Elm__Bg_gac7fe3ad5541dc15e8dbfd9d9c0d30c46}{}\label{group__Elm__Bg_gac7fe3ad5541dc15e8dbfd9d9c0d30c46} 
\index{Background@{Background}!elm\+\_\+obj\+\_\+bg\+\_\+load\+\_\+size\+\_\+set@{elm\+\_\+obj\+\_\+bg\+\_\+load\+\_\+size\+\_\+set}}
\index{elm\+\_\+obj\+\_\+bg\+\_\+load\+\_\+size\+\_\+set@{elm\+\_\+obj\+\_\+bg\+\_\+load\+\_\+size\+\_\+set}!Background@{Background}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+bg\+\_\+load\+\_\+size\+\_\+set()}{elm\_obj\_bg\_load\_size\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+bg\+\_\+load\+\_\+size\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$}]{obj,  }\item[{\hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}]{w,  }\item[{\hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}]{h }\end{DoxyParamCaption})}



Set the size of the pixmap representation of the image set on a given background widget. 

\begin{DoxyWarning}{Warning}
This function just makes sense if an image file was set on {\ttfamily obj}, with efl\+\_\+file\+\_\+set
\end{DoxyWarning}
This function sets a new size for pixmap representation of the given bg image. It allows for the image to be loaded already in the specified size, reducing the memory usage and load time (for example, when loading a big image file with its load size set to a smaller size)

\begin{DoxyNote}{Note}
This is just a hint for the underlying system. The real size of the pixmap may differ depending on the type of image being loaded, being bigger than requested.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em w} & The new width of the image pixmap representation. \\
\hline
\mbox{\tt in}  & {\em h} & The new height of the image pixmap representation. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+bg\+\_\+load\+\_\+size\+\_\+set().

\hypertarget{group__Elm__Bg_gab079cb5e5f770be10ddb4acb00434f57}{}\label{group__Elm__Bg_gab079cb5e5f770be10ddb4acb00434f57} 
\index{Background@{Background}!elm\+\_\+bg\+\_\+option\+\_\+set@{elm\+\_\+bg\+\_\+option\+\_\+set}}
\index{elm\+\_\+bg\+\_\+option\+\_\+set@{elm\+\_\+bg\+\_\+option\+\_\+set}!Background@{Background}}
\subsubsection{\texorpdfstring{elm\+\_\+bg\+\_\+option\+\_\+set()}{elm\_bg\_option\_set()}}
{\footnotesize\ttfamily void elm\+\_\+bg\+\_\+option\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Bg $\ast$}]{obj,  }\item[{\hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option}}]{option }\end{DoxyParamCaption})}



The bg (background) widget is used for setting (solid) background decorations. 

to a window (unless it has transparency enabled) or to any container object. It works just like an image, but has some properties useful to a background, like setting it to tiled, centered, scaled or stretched. The mode of display for a given background widget\textquotesingle{}s image

This sets how the background widget will display its image. This will only work if the Efl.\+File.\+file.\+set was previously called with an image file on {\ttfamily obj}. The image can be display tiled, scaled, centered or stretched. \hyperlink{group__Elm__Bg_ggac13a24993e39fac3484bd29a9bfeea26a02ef6a9e93a4d4fe3a5a69bdc94b9261}{Elm\+\_\+\+Bg\+\_\+\+Option\+::\+E\+L\+M\+\_\+\+B\+G\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+S\+C\+A\+LE} by default.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em option} & The desired background option(See \hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option}) \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+set().

\hypertarget{group__Elm__Bg_gacaf91f944846418cee118e198b2c1c66}{}\label{group__Elm__Bg_gacaf91f944846418cee118e198b2c1c66} 
\index{Background@{Background}!elm\+\_\+bg\+\_\+option\+\_\+get@{elm\+\_\+bg\+\_\+option\+\_\+get}}
\index{elm\+\_\+bg\+\_\+option\+\_\+get@{elm\+\_\+bg\+\_\+option\+\_\+get}!Background@{Background}}
\subsubsection{\texorpdfstring{elm\+\_\+bg\+\_\+option\+\_\+get()}{elm\_bg\_option\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option} elm\+\_\+bg\+\_\+option\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Bg $\ast$}]{obj }\end{DoxyParamCaption})}



The mode of display for a given background widget\textquotesingle{}s image. 

\begin{DoxyReturn}{Returns}
The desired background option(See \hyperlink{group__Elm__Bg_gac13a24993e39fac3484bd29a9bfeea26}{Elm\+\_\+\+Bg\+\_\+\+Option}) 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+bg\+\_\+option\+\_\+get().

\hypertarget{group__Elm__Bg_ga6828b88b1b5fe31bbb94d48d77362b34}{}\label{group__Elm__Bg_ga6828b88b1b5fe31bbb94d48d77362b34} 
\index{Background@{Background}!elm\+\_\+bg\+\_\+load\+\_\+size\+\_\+set@{elm\+\_\+bg\+\_\+load\+\_\+size\+\_\+set}}
\index{elm\+\_\+bg\+\_\+load\+\_\+size\+\_\+set@{elm\+\_\+bg\+\_\+load\+\_\+size\+\_\+set}!Background@{Background}}
\subsubsection{\texorpdfstring{elm\+\_\+bg\+\_\+load\+\_\+size\+\_\+set()}{elm\_bg\_load\_size\_set()}}
{\footnotesize\ttfamily void elm\+\_\+bg\+\_\+load\+\_\+size\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Bg $\ast$}]{obj,  }\item[{\hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}]{w,  }\item[{\hyperlink{group__Evas_ga2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}]{h }\end{DoxyParamCaption})}



Set the size of the pixmap representation of the image set on a given background widget. 

\begin{DoxyWarning}{Warning}
This function just makes sense if an image file was set on {\ttfamily obj}, with Efl.\+File.\+file.\+set
\end{DoxyWarning}
This function sets a new size for pixmap representation of the given bg image. It allows for the image to be loaded already in the specified size, reducing the memory usage and load time (for example, when loading a big image file with its load size set to a smaller size)

\begin{DoxyNote}{Note}
This is just a hint for the underlying system. The real size of the pixmap may differ depending on the type of image being loaded, being bigger than requested.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em w} & The new width of the image pixmap representation. \\
\hline
\mbox{\tt in}  & {\em h} & The new height of the image pixmap representation. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+bg\+\_\+load\+\_\+size\+\_\+set().

\hypertarget{group__Elm__Bg_gaeec8f79ac62ce0cf607cfe330008a63f}{}\label{group__Elm__Bg_gaeec8f79ac62ce0cf607cfe330008a63f} 
\index{Background@{Background}!elm\+\_\+bg\+\_\+add@{elm\+\_\+bg\+\_\+add}}
\index{elm\+\_\+bg\+\_\+add@{elm\+\_\+bg\+\_\+add}!Background@{Background}}
\subsubsection{\texorpdfstring{elm\+\_\+bg\+\_\+add()}{elm\_bg\_add()}}
{\footnotesize\ttfamily \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}$\ast$ elm\+\_\+bg\+\_\+add (\begin{DoxyParamCaption}\item[{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{parent }\end{DoxyParamCaption})}



Add a new background to the parent. 


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


Referenced by elm\+\_\+quicklaunch\+\_\+seed(), elm\+\_\+win\+\_\+util\+\_\+dialog\+\_\+add(), and elm\+\_\+win\+\_\+util\+\_\+standard\+\_\+add().

\hypertarget{group__Elm__Bg_ga9431af239574a212be6988d618be5ae8}{}\label{group__Elm__Bg_ga9431af239574a212be6988d618be5ae8} 
\index{Background@{Background}!elm\+\_\+bg\+\_\+color\+\_\+set@{elm\+\_\+bg\+\_\+color\+\_\+set}}
\index{elm\+\_\+bg\+\_\+color\+\_\+set@{elm\+\_\+bg\+\_\+color\+\_\+set}!Background@{Background}}
\subsubsection{\texorpdfstring{elm\+\_\+bg\+\_\+color\+\_\+set()}{elm\_bg\_color\_set()}}
{\footnotesize\ttfamily void elm\+\_\+bg\+\_\+color\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{int}]{r,  }\item[{int}]{g,  }\item[{int}]{b }\end{DoxyParamCaption})}



Set the color on a given background widget. 


\begin{DoxyParams}{Parameters}
{\em obj} & The background object handle \\
\hline
{\em r} & The red color component\textquotesingle{}s value \\
\hline
{\em g} & The green color component\textquotesingle{}s value \\
\hline
{\em b} & The blue color component\textquotesingle{}s value\\
\hline
\end{DoxyParams}
This sets the color used for the background rectangle, in R\+GB format. Each color component\textquotesingle{}s range is from 0 to 255.

\begin{DoxyNote}{Note}
You probably only want to use this function if you haven\textquotesingle{}t previously called \hyperlink{group__Elm__Bg_ga0b11c11879de61126414adfbfe3e431c}{elm\+\_\+bg\+\_\+file\+\_\+set()}, so that you just want a solid color background.

You can reset the color by setting {\ttfamily r}, {\ttfamily g}, {\ttfamily b} as -\/1, -\/1, -\/1.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Bg_ga7ebcf30b15b9610380101a26b240b711}{elm\+\_\+bg\+\_\+color\+\_\+get()} 
\end{DoxySeeAlso}


References elm\+\_\+layout\+\_\+content\+\_\+set(), elm\+\_\+layout\+\_\+sizing\+\_\+eval(), elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+set(), evas\+\_\+object\+\_\+color\+\_\+set(), evas\+\_\+object\+\_\+del(), evas\+\_\+object\+\_\+evas\+\_\+get(), and evas\+\_\+object\+\_\+rectangle\+\_\+add().

\hypertarget{group__Elm__Bg_ga7ebcf30b15b9610380101a26b240b711}{}\label{group__Elm__Bg_ga7ebcf30b15b9610380101a26b240b711} 
\index{Background@{Background}!elm\+\_\+bg\+\_\+color\+\_\+get@{elm\+\_\+bg\+\_\+color\+\_\+get}}
\index{elm\+\_\+bg\+\_\+color\+\_\+get@{elm\+\_\+bg\+\_\+color\+\_\+get}!Background@{Background}}
\subsubsection{\texorpdfstring{elm\+\_\+bg\+\_\+color\+\_\+get()}{elm\_bg\_color\_get()}}
{\footnotesize\ttfamily void elm\+\_\+bg\+\_\+color\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{int $\ast$}]{r,  }\item[{int $\ast$}]{g,  }\item[{int $\ast$}]{b }\end{DoxyParamCaption})}



Get the color set on a given background widget. 


\begin{DoxyParams}{Parameters}
{\em obj} & The background object handle \\
\hline
{\em r} & Where to store the red color component\textquotesingle{}s value \\
\hline
{\em g} & Where to store the green color component\textquotesingle{}s value \\
\hline
{\em b} & Where to store the blue color component\textquotesingle{}s value\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
Use {\ttfamily N\+U\+LL} pointers on the file components you\textquotesingle{}re not interested in\+: they\textquotesingle{}ll be ignored by the function.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Bg_ga7ebcf30b15b9610380101a26b240b711}{elm\+\_\+bg\+\_\+color\+\_\+get()} for more details 
\end{DoxySeeAlso}


References elm\+\_\+obj\+\_\+bg\+\_\+color\+\_\+get(), evas\+\_\+object\+\_\+color\+\_\+get(), and evas\+\_\+smart\+\_\+legacy\+\_\+type\+\_\+register().

\hypertarget{group__Elm__Bg_ga0b11c11879de61126414adfbfe3e431c}{}\label{group__Elm__Bg_ga0b11c11879de61126414adfbfe3e431c} 
\index{Background@{Background}!elm\+\_\+bg\+\_\+file\+\_\+set@{elm\+\_\+bg\+\_\+file\+\_\+set}}
\index{elm\+\_\+bg\+\_\+file\+\_\+set@{elm\+\_\+bg\+\_\+file\+\_\+set}!Background@{Background}}
\subsubsection{\texorpdfstring{elm\+\_\+bg\+\_\+file\+\_\+set()}{elm\_bg\_file\_set()}}
{\footnotesize\ttfamily \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} elm\+\_\+bg\+\_\+file\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$}]{obj,  }\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{group }\end{DoxyParamCaption})}



Set the file (image or edje collection) to give life for the background. 

\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}
This sets the image file used in the background object. If the image comes from an Edje group, it will be stretched to completely fill the background object. If it comes from a traditional image file, it will by default be centered in this widget\textquotesingle{}s area (thus retaining its aspect), what could lead to some parts being not visible. You may change the mode of exhibition for a real image file with \hyperlink{group__Elm__Bg_gab079cb5e5f770be10ddb4acb00434f57}{elm\+\_\+bg\+\_\+option\+\_\+set()}.

\begin{DoxyNote}{Note}
Once the image of {\ttfamily obj} is set, a previously set one will be deleted, even if {\ttfamily file} is {\ttfamily N\+U\+LL}.

This will only affect the contents of one of the background\textquotesingle{}s swallow spots, namely {\ttfamily \char`\"{}elm.\+swallow.\+background\char`\"{}}. If you want to achieve the {\ttfamily Layout\textquotesingle{}s} file setting behavior, you\textquotesingle{}ll have to call that method on this object.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em file} & The file path \\
\hline
\mbox{\tt in}  & {\em group} & Optional key (group in Edje) within the file \\
\hline
\end{DoxyParams}
\hypertarget{group__Elm__Bg_gafd923c1eb9d78db9f4b50fcfec7c74ae}{}\label{group__Elm__Bg_gafd923c1eb9d78db9f4b50fcfec7c74ae} 
\index{Background@{Background}!elm\+\_\+bg\+\_\+file\+\_\+get@{elm\+\_\+bg\+\_\+file\+\_\+get}}
\index{elm\+\_\+bg\+\_\+file\+\_\+get@{elm\+\_\+bg\+\_\+file\+\_\+get}!Background@{Background}}
\subsubsection{\texorpdfstring{elm\+\_\+bg\+\_\+file\+\_\+get()}{elm\_bg\_file\_get()}}
{\footnotesize\ttfamily void elm\+\_\+bg\+\_\+file\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$}]{obj,  }\item[{const char $\ast$$\ast$}]{file,  }\item[{const char $\ast$$\ast$}]{group }\end{DoxyParamCaption})}



Get the file (image or edje collection) set on a given background widget. 

\begin{DoxyNote}{Note}
Use {\ttfamily N\+U\+LL} pointers on the file components you\textquotesingle{}re not interested in\+: they\textquotesingle{}ll be ignored by the function.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em file} & The file path \\
\hline
\mbox{\tt out}  & {\em group} & Optional key (group in Edje) within the file \\
\hline
\end{DoxyParams}
