\hypertarget{struct__Elm__Widget__Smart__Class}{}\section{\+\_\+\+Elm\+\_\+\+Widget\+\_\+\+Smart\+\_\+\+Class Struct Reference}
\label{struct__Elm__Widget__Smart__Class}\index{\+\_\+\+Elm\+\_\+\+Widget\+\_\+\+Smart\+\_\+\+Class@{\+\_\+\+Elm\+\_\+\+Widget\+\_\+\+Smart\+\_\+\+Class}}


Base widget smart class.  


\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_acd93f503b6ddc9eb844406dc32437fc5}\label{struct__Elm__Widget__Smart__Class_acd93f503b6ddc9eb844406dc32437fc5}} 
\mbox{\hyperlink{group__Evas__Smart__Group_gaea15f67e901bf5380cdb67dc1bb43391}{Evas\+\_\+\+Smart\+\_\+\+Class}} \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_acd93f503b6ddc9eb844406dc32437fc5}{base}}
\begin{DoxyCompactList}\small\item\em Base smart class struct, needed for all smart objects. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_a6a41f0f08a8a3f0b20f35bcdb312fb3a}\label{struct__Elm__Widget__Smart__Class_a6a41f0f08a8a3f0b20f35bcdb312fb3a}} 
int \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_a6a41f0f08a8a3f0b20f35bcdb312fb3a}{version}}
\begin{DoxyCompactList}\small\item\em Version of this smart class definition. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_a338828b9e4ad1711bab9b0d93ab161eb}\label{struct__Elm__Widget__Smart__Class_a338828b9e4ad1711bab9b0d93ab161eb}} 
void($\ast$ \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_a338828b9e4ad1711bab9b0d93ab161eb}{parent\+\_\+set}} )(\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$parent)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function handling parent widget attachment to new object \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_af7b62d8ae98d4f31eddac73183608117}\label{struct__Elm__Widget__Smart__Class_af7b62d8ae98d4f31eddac73183608117}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_af7b62d8ae98d4f31eddac73183608117}{on\+\_\+focus}} )(\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function handling focus in/out events on the widget \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_a5ed8f4a4cb4700c50a96960046f84d56}\label{struct__Elm__Widget__Smart__Class_a5ed8f4a4cb4700c50a96960046f84d56}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_a5ed8f4a4cb4700c50a96960046f84d56}{disable}} )(\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function on the widget being disabled \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_a10442f7f13914a76af04b1ea9073cdc1}\label{struct__Elm__Widget__Smart__Class_a10442f7f13914a76af04b1ea9073cdc1}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_a10442f7f13914a76af04b1ea9073cdc1}{theme}} )(\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function on the widget being re-\/themed \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_aaf332d9350a2421e28062b911aa9e18c}\label{struct__Elm__Widget__Smart__Class_aaf332d9350a2421e28062b911aa9e18c}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_aaf332d9350a2421e28062b911aa9e18c}{translate}} )(\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function handling language changes on Elementary \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_a2730e585a5b5cfac067a96e5b3149c9c}\label{struct__Elm__Widget__Smart__Class_a2730e585a5b5cfac067a96e5b3149c9c}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_a2730e585a5b5cfac067a96e5b3149c9c}{event}} )(\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$source, \mbox{\hyperlink{Evas__Common_8h_ad64cde0da38a60e7cb7905b3ab216968}{Evas\+\_\+\+Callback\+\_\+\+Type}} type, void $\ast$event\+\_\+info)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function handling input events on the widget \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_a5c25fa057cbd24f910720a4381d0915e}{on\+\_\+focus\+\_\+region}} )(const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$x, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$y, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$w, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$h)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function returning an inner area of a widget that should be brought into the visible area of a broader viewport, may this context arise. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_aa0ed75d3bd3469ea56b3a9157a24c218}\label{struct__Elm__Widget__Smart__Class_aa0ed75d3bd3469ea56b3a9157a24c218}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_aa0ed75d3bd3469ea56b3a9157a24c218}{focus\+\_\+next}} )(const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, Elm\+\_\+\+Focus\+\_\+\+Direction dir, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$$\ast$next, \mbox{\hyperlink{group__Elm__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item}} $\ast$$\ast$next\+\_\+item)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function handling passing focus to sub-\/objects \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_a04454b9edae0c24c807b078eea70adb7}\label{struct__Elm__Widget__Smart__Class_a04454b9edae0c24c807b078eea70adb7}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_a04454b9edae0c24c807b078eea70adb7}{focus\+\_\+direction}} )(const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$\mbox{\hyperlink{struct__Elm__Widget__Smart__Class_acd93f503b6ddc9eb844406dc32437fc5}{base}}, double degree, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$$\ast$target, \mbox{\hyperlink{group__Elm__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item}} $\ast$$\ast$target\+\_\+item, double $\ast$weight)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function handling passing focus to sub-\/objects {\bfseries given a direction, in degrees} \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_aa94ab7d98ed5f9bbac47d2c86a8e7545}\label{struct__Elm__Widget__Smart__Class_aa94ab7d98ed5f9bbac47d2c86a8e7545}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_aa94ab7d98ed5f9bbac47d2c86a8e7545}{widget\+\_\+sub\+\_\+object\+\_\+add}} )(\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$sobj)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function handling sub objects being added \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_aba76c0c5af2ce94128a70e2b3fc9c26c}\label{struct__Elm__Widget__Smart__Class_aba76c0c5af2ce94128a70e2b3fc9c26c}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_aba76c0c5af2ce94128a70e2b3fc9c26c}{widget\+\_\+sub\+\_\+object\+\_\+del}} )(\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$sobj)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function handling sub objects being removed \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_a0d5230b73aaea9ee7b9e122dc4c0aae3}\label{struct__Elm__Widget__Smart__Class_a0d5230b73aaea9ee7b9e122dc4c0aae3}} 
void($\ast$ \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_a0d5230b73aaea9ee7b9e122dc4c0aae3}{access}} )(\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} is\+\_\+access)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function on the widget being set access \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_a9d5af59d5dd2e9dee77c2e19d416e330}\label{struct__Elm__Widget__Smart__Class_a9d5af59d5dd2e9dee77c2e19d416e330}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{struct__Elm__Widget__Smart__Class_a9d5af59d5dd2e9dee77c2e19d416e330}{activate}} )(\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, Efl\+\_\+\+Ui\+\_\+\+Activate act)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function to activate widget \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Base widget smart class. 

It has the \textquotesingle{}virtual\textquotesingle{} functions for all general, common actions on Elementary widgets. 

\subsection{Field Documentation}
\mbox{\Hypertarget{struct__Elm__Widget__Smart__Class_a5c25fa057cbd24f910720a4381d0915e}\label{struct__Elm__Widget__Smart__Class_a5c25fa057cbd24f910720a4381d0915e}} 
\index{\+\_\+\+Elm\+\_\+\+Widget\+\_\+\+Smart\+\_\+\+Class@{\+\_\+\+Elm\+\_\+\+Widget\+\_\+\+Smart\+\_\+\+Class}!on\+\_\+focus\+\_\+region@{on\+\_\+focus\+\_\+region}}
\index{on\+\_\+focus\+\_\+region@{on\+\_\+focus\+\_\+region}!\+\_\+\+Elm\+\_\+\+Widget\+\_\+\+Smart\+\_\+\+Class@{\+\_\+\+Elm\+\_\+\+Widget\+\_\+\+Smart\+\_\+\+Class}}
\subsubsection{\texorpdfstring{on\+\_\+focus\+\_\+region}{on\_focus\_region}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \+\_\+\+Elm\+\_\+\+Widget\+\_\+\+Smart\+\_\+\+Class\+::on\+\_\+focus\+\_\+region) (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$x, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$y, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$w, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$h)}



\textquotesingle{}Virtual\textquotesingle{} function returning an inner area of a widget that should be brought into the visible area of a broader viewport, may this context arise. 

On the base Elementary widget class, it defaults to the object\textquotesingle{}s total area, so only override it if you have to. 