\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 
Evas\-\_\-\-Smart\-\_\-\-Class \hyperlink{struct__Elm__Widget__Smart__Class_acd93f503b6ddc9eb844406dc32437fc5}{base}\label{struct__Elm__Widget__Smart__Class_acd93f503b6ddc9eb844406dc32437fc5}

\begin{DoxyCompactList}\small\item\em Base smart class struct, needed for all smart objects. \end{DoxyCompactList}\item 
int \hyperlink{struct__Elm__Widget__Smart__Class_a6a41f0f08a8a3f0b20f35bcdb312fb3a}{version}\label{struct__Elm__Widget__Smart__Class_a6a41f0f08a8a3f0b20f35bcdb312fb3a}

\begin{DoxyCompactList}\small\item\em Version of this smart class definition. \end{DoxyCompactList}\item 
void($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_af0e2b4047f1a4af3b92531957a1ca6b7}{parent\-\_\-set} )(Evas\-\_\-\-Object $\ast$obj, Evas\-\_\-\-Object $\ast$parent)\label{struct__Elm__Widget__Smart__Class_af0e2b4047f1a4af3b92531957a1ca6b7}

\begin{DoxyCompactList}\small\item\em 'Virtual' function handling parent widget attachment to new object \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a0d55138813318265cc2584ab071f49a0}{on\-\_\-focus} )(Evas\-\_\-\-Object $\ast$obj)\label{struct__Elm__Widget__Smart__Class_a0d55138813318265cc2584ab071f49a0}

\begin{DoxyCompactList}\small\item\em 'Virtual' function handling focus in/out events on the widget \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a3b1caad065c21c4a50bc6be3c5bdcf17}{disable} )(Evas\-\_\-\-Object $\ast$obj)\label{struct__Elm__Widget__Smart__Class_a3b1caad065c21c4a50bc6be3c5bdcf17}

\begin{DoxyCompactList}\small\item\em 'Virtual' function on the widget being disabled \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_ad2c82e44bf6c096501338c113c660456}{theme} )(Evas\-\_\-\-Object $\ast$obj)\label{struct__Elm__Widget__Smart__Class_ad2c82e44bf6c096501338c113c660456}

\begin{DoxyCompactList}\small\item\em 'Virtual' function on the widget being re-\/themed \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a57e16e6e2abdb9f26c1715c17268e18f}{translate} )(Evas\-\_\-\-Object $\ast$obj)\label{struct__Elm__Widget__Smart__Class_a57e16e6e2abdb9f26c1715c17268e18f}

\begin{DoxyCompactList}\small\item\em 'Virtual' function handling language changes on Elementary \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a6ecbd7312fe87b347dac19e53f0bd6ec}{event} )(Evas\-\_\-\-Object $\ast$obj, Evas\-\_\-\-Object $\ast$source, Evas\-\_\-\-Callback\-\_\-\-Type type, void $\ast$event\-\_\-info)\label{struct__Elm__Widget__Smart__Class_a6ecbd7312fe87b347dac19e53f0bd6ec}

\begin{DoxyCompactList}\small\item\em 'Virtual' function handling input events on the widget \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_aeff362d508a416e00af7c35a846fbb79}{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 'Virtual' 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 
Eina\-\_\-\-Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a718a011729379337dd1169ed61583adb}{focus\-\_\-next} )(const Evas\-\_\-\-Object $\ast$obj, \hyperlink{group__Focus_gad59e8a839c02655863a845eaebf009ec}{Elm\-\_\-\-Focus\-\_\-\-Direction} dir, Evas\-\_\-\-Object $\ast$$\ast$next)\label{struct__Elm__Widget__Smart__Class_a718a011729379337dd1169ed61583adb}

\begin{DoxyCompactList}\small\item\em 'Virtual' function handling passing focus to sub-\/objects \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_ac5a4fa6d2166c242ba0f0b0fa649c276}{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, double $\ast$weight)\label{struct__Elm__Widget__Smart__Class_ac5a4fa6d2166c242ba0f0b0fa649c276}

\begin{DoxyCompactList}\small\item\em 'Virtual' function handling passing focus to sub-\/objects {\bfseries given a direction, in degrees} \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a2fd57a502320f1ea0be61928111a436e}{sub\-\_\-object\-\_\-add} )(Evas\-\_\-\-Object $\ast$obj, Evas\-\_\-\-Object $\ast$sobj)\label{struct__Elm__Widget__Smart__Class_a2fd57a502320f1ea0be61928111a436e}

\begin{DoxyCompactList}\small\item\em 'Virtual' function handling sub objects being added \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a438d76e1d2a1aaa117953008d32f93dd}{sub\-\_\-object\-\_\-del} )(Evas\-\_\-\-Object $\ast$obj, Evas\-\_\-\-Object $\ast$sobj)\label{struct__Elm__Widget__Smart__Class_a438d76e1d2a1aaa117953008d32f93dd}

\begin{DoxyCompactList}\small\item\em 'Virtual' function handling sub objects being removed \end{DoxyCompactList}\item 
void($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a1b93b1ce536f5747bc4f6d18eab9019a}{access} )(Evas\-\_\-\-Object $\ast$obj, Eina\-\_\-\-Bool is\-\_\-access)\label{struct__Elm__Widget__Smart__Class_a1b93b1ce536f5747bc4f6d18eab9019a}

\begin{DoxyCompactList}\small\item\em 'Virtual' function on the widget being set access \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool($\ast$ \hyperlink{struct__Elm__Widget__Smart__Class_a399ad24343927a89ad881109d009c2ef}{activate} )(Evas\-\_\-\-Object $\ast$obj, Elm\-\_\-\-Activate act)\label{struct__Elm__Widget__Smart__Class_a399ad24343927a89ad881109d009c2ef}

\begin{DoxyCompactList}\small\item\em 'Virtual' function to activate widget \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Base widget smart class. 

It has the 'virtual' functions for all general, common actions on Elementary widgets. 

\subsection{Field Documentation}
\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[{on\-\_\-focus\-\_\-region}]{\setlength{\rightskip}{0pt plus 5cm}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)}\label{struct__Elm__Widget__Smart__Class_aeff362d508a416e00af7c35a846fbb79}


'Virtual' 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's total area, so only override it if you have to. 