\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{\label{struct__Elm__Widget__Smart__Class_acd93f503b6ddc9eb844406dc32437fc5}} 
Evas\+\_\+\+Smart\+\_\+\+Class \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{\label{struct__Elm__Widget__Smart__Class_a6a41f0f08a8a3f0b20f35bcdb312fb3a}} 
int \hyperlink{struct__Elm__Widget__Smart__Class_a6a41f0f08a8a3f0b20f35bcdb312fb3a}{version}
\begin{DoxyCompactList}\small\item\em Version of this smart class definition. \end{DoxyCompactList}\item 
\mbox{\label{struct__Elm__Widget__Smart__Class_a338828b9e4ad1711bab9b0d93ab161eb}} 
void($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a338828b9e4ad1711bab9b0d93ab161eb}{parent\+\_\+set} )(Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function handling parent widget attachment to new object \end{DoxyCompactList}\item 
\mbox{\label{struct__Elm__Widget__Smart__Class_af7b62d8ae98d4f31eddac73183608117}} 
Eina\+\_\+\+Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_af7b62d8ae98d4f31eddac73183608117}{on\+\_\+focus} )(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{\label{struct__Elm__Widget__Smart__Class_a5ed8f4a4cb4700c50a96960046f84d56}} 
Eina\+\_\+\+Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a5ed8f4a4cb4700c50a96960046f84d56}{disable} )(Evas\+\_\+\+Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function on the widget being disabled \end{DoxyCompactList}\item 
\mbox{\label{struct__Elm__Widget__Smart__Class_a10442f7f13914a76af04b1ea9073cdc1}} 
Eina\+\_\+\+Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a10442f7f13914a76af04b1ea9073cdc1}{theme} )(Evas\+\_\+\+Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function on the widget being re-\/themed \end{DoxyCompactList}\item 
\mbox{\label{struct__Elm__Widget__Smart__Class_aaf332d9350a2421e28062b911aa9e18c}} 
Eina\+\_\+\+Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_aaf332d9350a2421e28062b911aa9e18c}{translate} )(Evas\+\_\+\+Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function handling language changes on Elementary \end{DoxyCompactList}\item 
\mbox{\label{struct__Elm__Widget__Smart__Class_a2730e585a5b5cfac067a96e5b3149c9c}} 
Eina\+\_\+\+Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a2730e585a5b5cfac067a96e5b3149c9c}{event} )(Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Object $\ast$source, 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 
Eina\+\_\+\+Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a5c25fa057cbd24f910720a4381d0915e}{on\+\_\+focus\+\_\+region} )(const Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord $\ast$x, Evas\+\_\+\+Coord $\ast$y, Evas\+\_\+\+Coord $\ast$w, 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{\label{struct__Elm__Widget__Smart__Class_aa0ed75d3bd3469ea56b3a9157a24c218}} 
Eina\+\_\+\+Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_aa0ed75d3bd3469ea56b3a9157a24c218}{focus\+\_\+next} )(const Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Focus\+\_\+\+Direction dir, Evas\+\_\+\+Object $\ast$$\ast$next, \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{\label{struct__Elm__Widget__Smart__Class_a04454b9edae0c24c807b078eea70adb7}} 
Eina\+\_\+\+Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a04454b9edae0c24c807b078eea70adb7}{focus\+\_\+direction} )(const Evas\+\_\+\+Object $\ast$obj, const Evas\+\_\+\+Object $\ast$\hyperlink{struct__Elm__Widget__Smart__Class_acd93f503b6ddc9eb844406dc32437fc5}{base}, double degree, Evas\+\_\+\+Object $\ast$$\ast$target, \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{\label{struct__Elm__Widget__Smart__Class_a3d57990fa5c10f43bb2f1812ee69625b}} 
Eina\+\_\+\+Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a3d57990fa5c10f43bb2f1812ee69625b}{sub\+\_\+object\+\_\+add} )(Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Object $\ast$sobj)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function handling sub objects being added \end{DoxyCompactList}\item 
\mbox{\label{struct__Elm__Widget__Smart__Class_a1e9294425c489ca2c35c6a371235b760}} 
Eina\+\_\+\+Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a1e9294425c489ca2c35c6a371235b760}{sub\+\_\+object\+\_\+del} )(Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Object $\ast$sobj)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function handling sub objects being removed \end{DoxyCompactList}\item 
\mbox{\label{struct__Elm__Widget__Smart__Class_a0d5230b73aaea9ee7b9e122dc4c0aae3}} 
void($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a0d5230b73aaea9ee7b9e122dc4c0aae3}{access} )(Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool is\+\_\+access)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Virtual\textquotesingle{} function on the widget being set access \end{DoxyCompactList}\item 
\mbox{\label{struct__Elm__Widget__Smart__Class_aca980a1bc41d08d1927a084dd341f3a5}} 
Eina\+\_\+\+Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_aca980a1bc41d08d1927a084dd341f3a5}{activate} )(Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+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{\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 Eina\+\_\+\+Bool($\ast$ \+\_\+\+Elm\+\_\+\+Widget\+\_\+\+Smart\+\_\+\+Class\+::on\+\_\+focus\+\_\+region) (const Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord $\ast$x, Evas\+\_\+\+Coord $\ast$y, Evas\+\_\+\+Coord $\ast$w, 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. 