\doxysubsection{Conformant}
\hypertarget{group__Elm__Conformant}{}\label{group__Elm__Conformant}\index{Conformant@{Conformant}}
\doxysubsubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{group__Elm__Conformant_ga9bbdce9c0ef8f5bbe42ec6baeaa05b2b}\label{group__Elm__Conformant_ga9bbdce9c0ef8f5bbe42ec6baeaa05b2b} 
\#define {\bfseries ELM\+\_\+\+CONFORMANT\+\_\+\+CLASS}~elm\+\_\+conformant\+\_\+class\+\_\+get()
\begin{DoxyCompactList}\small\item\em Elementary conformant class. \end{DoxyCompactList}\item 
\Hypertarget{group__Elm__Conformant_ga93e14de2c15d85b7d744583de635bd07}\label{group__Elm__Conformant_ga93e14de2c15d85b7d744583de635bd07} 
\#define {\bfseries ELM\+\_\+\+CONFORMANT\+\_\+\+EVENT\+\_\+\+VIRTUALKEYPAD\+\_\+\+STATE\+\_\+\+ON}~(\&(\+\_\+\+ELM\+\_\+\+CONFORMANT\+\_\+\+EVENT\+\_\+\+VIRTUALKEYPAD\+\_\+\+STATE\+\_\+\+ON))
\begin{DoxyCompactList}\small\item\em Called when virtualkeypad was enabled. \end{DoxyCompactList}\item 
\Hypertarget{group__Elm__Conformant_ga11da78bb201b710cd4be0b1ade84fa0f}\label{group__Elm__Conformant_ga11da78bb201b710cd4be0b1ade84fa0f} 
\#define {\bfseries ELM\+\_\+\+CONFORMANT\+\_\+\+EVENT\+\_\+\+VIRTUALKEYPAD\+\_\+\+STATE\+\_\+\+OFF}~(\&(\+\_\+\+ELM\+\_\+\+CONFORMANT\+\_\+\+EVENT\+\_\+\+VIRTUALKEYPAD\+\_\+\+STATE\+\_\+\+OFF))
\begin{DoxyCompactList}\small\item\em Called when virtualkeypad was disabled. \end{DoxyCompactList}\item 
\Hypertarget{group__Elm__Conformant_ga9852ce5674ac659713db2710350ced13}\label{group__Elm__Conformant_ga9852ce5674ac659713db2710350ced13} 
\#define {\bfseries ELM\+\_\+\+CONFORMANT\+\_\+\+EVENT\+\_\+\+CLIPBOARD\+\_\+\+STATE\+\_\+\+ON}~(\&(\+\_\+\+ELM\+\_\+\+CONFORMANT\+\_\+\+EVENT\+\_\+\+CLIPBOARD\+\_\+\+STATE\+\_\+\+ON))
\begin{DoxyCompactList}\small\item\em Called when clipboard was enabled. \end{DoxyCompactList}\item 
\Hypertarget{group__Elm__Conformant_gaceae3d4deea4c72909f9791cb5e320bb}\label{group__Elm__Conformant_gaceae3d4deea4c72909f9791cb5e320bb} 
\#define {\bfseries ELM\+\_\+\+CONFORMANT\+\_\+\+EVENT\+\_\+\+CLIPBOARD\+\_\+\+STATE\+\_\+\+OFF}~(\&(\+\_\+\+ELM\+\_\+\+CONFORMANT\+\_\+\+EVENT\+\_\+\+CLIPBOARD\+\_\+\+STATE\+\_\+\+OFF))
\begin{DoxyCompactList}\small\item\em Called when clipboard was disabled. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Elm__Conformant_ga23b343d6c6f69d34586b8b6dd55bb610}{elm\+\_\+conformant\+\_\+add}} (Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}parent)
\begin{DoxyCompactList}\small\item\em Add a new conformant widget to the given parent Elementary (container) object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} void \mbox{\hyperlink{group__Elm__Conformant_gadcb351c8d9d575897ac4c55eae14375e}{elm\+\_\+conformant\+\_\+content\+\_\+set}} (Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}obj, Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}content)
\begin{DoxyCompactList}\small\item\em Set the content of the conformant widget. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Elm__Conformant_ga6f82ff798fe81723cf6217f5f1851df1}{elm\+\_\+conformant\+\_\+content\+\_\+get}} (const Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}obj)
\begin{DoxyCompactList}\small\item\em Get the content of the conformant widget. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Elm__Conformant_ga735c6f64a9eb358172a6eb6401aca930}{elm\+\_\+conformant\+\_\+content\+\_\+unset}} (Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}obj)
\begin{DoxyCompactList}\small\item\em Unset the content of the conformant widget. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}


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


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth]{img/widget/conformant/preview-00}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth]{conformant}}
\end{DoxyImageNoCaption}


The aim is to provide a widget that can be used in elementary apps to account for space taken up by the indicator, virtual keypad \& softkey windows when running the illume2 module of E17.

So conformant content will be sized and positioned considering the space required for such stuff, and when they popup, as a keyboard shows when an entry is selected, conformant content won\textquotesingle{}t change.

This widget inherits from the \doxylink{group__Elm__Layout}{Layout} one, so that all the functions acting on it also work for conformant objects.

This widget emits the following signals, besides the ones sent from \doxylink{group__Elm__Layout}{Layout} \+: \begin{DoxyItemize}
\item "{}virtualkeypad,state,on"{}\+: if virtualkeypad state is switched to "{}on"{}. (since 1.\+8) \item "{}virtualkeypad,state,off"{}\+: if virtualkeypad state is switched to "{}off"{}. (since 1.\+8) \item "{}clipboard,state,on"{}\+: if clipboard state is switched to "{}on"{}. (since 1.\+8) \item "{}clipboard,state,off"{}\+: if clipboard state is switched to "{}off"{}. (since 1.\+8) In all cases, the {\ttfamily event} parameter of the callback will be {\ttfamily NULL}.\end{DoxyItemize}
Available styles for it\+:
\begin{DoxyItemize}
\item {\ttfamily "{}default"{}} 
\end{DoxyItemize}

Default content parts of the conformant widget that you can use for are\+: \begin{DoxyItemize}
\item "{}default"{} -\/ A content of the conformant\end{DoxyItemize}
See how to use this widget in this example\+: \doxysectlink{conformant_example}{Conformant Example.}{0} 

\doxysubsubsection{Function Documentation}
\Hypertarget{group__Elm__Conformant_ga23b343d6c6f69d34586b8b6dd55bb610}\label{group__Elm__Conformant_ga23b343d6c6f69d34586b8b6dd55bb610} 
\index{Conformant@{Conformant}!elm\_conformant\_add@{elm\_conformant\_add}}
\index{elm\_conformant\_add@{elm\_conformant\_add}!Conformant@{Conformant}}
\doxysubsubsubsection{\texorpdfstring{elm\_conformant\_add()}{elm\_conformant\_add()}}
{\footnotesize\ttfamily Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} elm\+\_\+conformant\+\_\+add (\begin{DoxyParamCaption}\item[{Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}}]{parent }\end{DoxyParamCaption})}



Add a new conformant widget to the given parent Elementary (container) object. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new conformant widget handle or {\ttfamily NULL}, on errors.
\end{DoxyReturn}
This function inserts a new conformant widget on the canvas. 

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

\Hypertarget{group__Elm__Conformant_gadcb351c8d9d575897ac4c55eae14375e}\label{group__Elm__Conformant_gadcb351c8d9d575897ac4c55eae14375e} 
\index{Conformant@{Conformant}!elm\_conformant\_content\_set@{elm\_conformant\_content\_set}}
\index{elm\_conformant\_content\_set@{elm\_conformant\_content\_set}!Conformant@{Conformant}}
\doxysubsubsubsection{\texorpdfstring{elm\_conformant\_content\_set()}{elm\_conformant\_content\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} void elm\+\_\+conformant\+\_\+content\+\_\+set (\begin{DoxyParamCaption}\item[{Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}}]{obj,  }\item[{Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}}]{content }\end{DoxyParamCaption})}



Set the content of the conformant widget. 


\begin{DoxyParams}{Parameters}
{\em obj} & The conformant object. \\
\hline
{\em content} & The content to be displayed by the conformant.\\
\hline
\end{DoxyParams}
Content will be sized and positioned considering the space required to display a virtual keyboard. So it won\textquotesingle{}t fill all the conformant size. This way is possible to be sure that content won\textquotesingle{}t resize or be re-\/positioned after the keyboard is displayed.

Once the content object is set, a previously set one will be deleted. If you want to keep that old content object, use the elm\+\_\+object\+\_\+content\+\_\+unset() function.

\begin{DoxySeeAlso}{See also}
elm\+\_\+object\+\_\+content\+\_\+unset() 

elm\+\_\+object\+\_\+content\+\_\+get()
\end{DoxySeeAlso}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000290}{Deprecated}}]use elm\+\_\+object\+\_\+content\+\_\+set() instead\end{DoxyRefDesc}
\Hypertarget{group__Elm__Conformant_ga6f82ff798fe81723cf6217f5f1851df1}\label{group__Elm__Conformant_ga6f82ff798fe81723cf6217f5f1851df1} 
\index{Conformant@{Conformant}!elm\_conformant\_content\_get@{elm\_conformant\_content\_get}}
\index{elm\_conformant\_content\_get@{elm\_conformant\_content\_get}!Conformant@{Conformant}}
\doxysubsubsubsection{\texorpdfstring{elm\_conformant\_content\_get()}{elm\_conformant\_content\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} elm\+\_\+conformant\+\_\+content\+\_\+get (\begin{DoxyParamCaption}\item[{const Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}}]{obj }\end{DoxyParamCaption})}



Get the content of the conformant widget. 


\begin{DoxyParams}{Parameters}
{\em obj} & The conformant object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The content that is being used.
\end{DoxyReturn}
Return the content object which is set for this widget. It won\textquotesingle{}t be unparent from conformant. For that, use elm\+\_\+object\+\_\+content\+\_\+unset().

\begin{DoxySeeAlso}{See also}
elm\+\_\+object\+\_\+content\+\_\+set(). 

elm\+\_\+object\+\_\+content\+\_\+unset()
\end{DoxySeeAlso}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000291}{Deprecated}}]use elm\+\_\+object\+\_\+content\+\_\+get() instead\end{DoxyRefDesc}
\Hypertarget{group__Elm__Conformant_ga735c6f64a9eb358172a6eb6401aca930}\label{group__Elm__Conformant_ga735c6f64a9eb358172a6eb6401aca930} 
\index{Conformant@{Conformant}!elm\_conformant\_content\_unset@{elm\_conformant\_content\_unset}}
\index{elm\_conformant\_content\_unset@{elm\_conformant\_content\_unset}!Conformant@{Conformant}}
\doxysubsubsubsection{\texorpdfstring{elm\_conformant\_content\_unset()}{elm\_conformant\_content\_unset()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} elm\+\_\+conformant\+\_\+content\+\_\+unset (\begin{DoxyParamCaption}\item[{Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}}]{obj }\end{DoxyParamCaption})}



Unset the content of the conformant widget. 


\begin{DoxyParams}{Parameters}
{\em obj} & The conformant object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The content that was being used.
\end{DoxyReturn}
Unparent and return the content object which was set for this widget.

\begin{DoxySeeAlso}{See also}
elm\+\_\+object\+\_\+content\+\_\+set().
\end{DoxySeeAlso}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000292}{Deprecated}}]use elm\+\_\+object\+\_\+content\+\_\+unset() instead\end{DoxyRefDesc}
