\hypertarget{group__Elm__Conformant}{}\doxysection{Conformant}
\label{group__Elm__Conformant}\index{Conformant@{Conformant}}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\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 
\mbox{\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 
\mbox{\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 
\mbox{\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 
\mbox{\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}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Conformant_ga23b343d6c6f69d34586b8b6dd55bb610}{elm\+\_\+conformant\+\_\+add}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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}} \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Conformant_ga6f82ff798fe81723cf6217f5f1851df1}{elm\+\_\+conformant\+\_\+content\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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}} \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Conformant_ga735c6f64a9eb358172a6eb6401aca930}{elm\+\_\+conformant\+\_\+content\+\_\+unset}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Unset the content of the conformant widget. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{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 \mbox{\hyperlink{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 \mbox{\hyperlink{group__Elm__Layout}{Layout}} \+: \begin{DoxyItemize}
\item \char`\"{}virtualkeypad,state,on\char`\"{}\+: if virtualkeypad state is switched to \char`\"{}on\char`\"{}. (since 1.\+8) \item \char`\"{}virtualkeypad,state,off\char`\"{}\+: if virtualkeypad state is switched to \char`\"{}off\char`\"{}. (since 1.\+8) \item \char`\"{}clipboard,state,on\char`\"{}\+: if clipboard state is switched to \char`\"{}on\char`\"{}. (since 1.\+8) \item \char`\"{}clipboard,state,off\char`\"{}\+: if clipboard state is switched to \char`\"{}off\char`\"{}. (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 \char`\"{}default\char`\"{}} 
\end{DoxyItemize}

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

\doxysubsection{Function Documentation}
\mbox{\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}}
\doxysubsubsection{\texorpdfstring{elm\_conformant\_add()}{elm\_conformant\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ elm\+\_\+conformant\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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}}.

\mbox{\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}}
\doxysubsubsection{\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[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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}
\mbox{\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}}
\doxysubsubsection{\texorpdfstring{elm\_conformant\_content\_get()}{elm\_conformant\_content\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ elm\+\_\+conformant\+\_\+content\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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}
\mbox{\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}}
\doxysubsubsection{\texorpdfstring{elm\_conformant\_content\_unset()}{elm\_conformant\_content\_unset()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ elm\+\_\+conformant\+\_\+content\+\_\+unset (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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}
