\section{Button}
\label{group__Button}\index{Button@{Button}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+P\+I void \hyperlink{group__Button_gadb888400bdaaabfb5d08534ae02da65d}{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set} (double t)
\begin{DoxyCompactList}\small\item\em Set the initial timeout before the autorepeat event is generated. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I double \hyperlink{group__Button_ga2430c214080cc124dba93d7d846553d3}{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the initial timeout before the autorepeat event is generated. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Button_gaabf590de365d2b094e6bce3b50d3c4ea}{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set} (double t)
\begin{DoxyCompactList}\small\item\em Set the interval between each generated autorepeat event. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I double \hyperlink{group__Button_gac3f14da8b993c3d4aa49eeb6182e8387}{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the interval between each generated autorepeat event. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Button_ga9d7f2aed966aad1da14daa7413549e90}{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+set} (Eina\+\_\+\+Bool on)
\begin{DoxyCompactList}\small\item\em Turn on/off the autorepeat event generated when the button is kept pressed. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Eina\+\_\+\+Bool \hyperlink{group__Button_ga44dcd819fd9bbe3bd056826cd6a931c1}{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get whether the autorepeat feature is enabled. \end{DoxyCompactList}\item 
void \hyperlink{group__Button_ga7a6ac9cc773bc852af49efce72a16769}{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set} (Elm\+\_\+\+Button $\ast$obj, double t)
\begin{DoxyCompactList}\small\item\em Set the initial timeout before the autorepeat event is generated. \end{DoxyCompactList}\item 
double \hyperlink{group__Button_ga97d37b784a816163c3a068a492aee277}{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get} (const Elm\+\_\+\+Button $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the initial timeout before the autorepeat event is generated. \end{DoxyCompactList}\item 
void \hyperlink{group__Button_gab44a890f0a3cb85e86c6690434ebf7c2}{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set} (Elm\+\_\+\+Button $\ast$obj, double t)
\begin{DoxyCompactList}\small\item\em Set the interval between each generated autorepeat event. \end{DoxyCompactList}\item 
double \hyperlink{group__Button_ga60afc6f9af99eaa16c27f46947eac12a}{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get} (const Elm\+\_\+\+Button $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the interval between each generated autorepeat event. \end{DoxyCompactList}\item 
void \hyperlink{group__Button_gaeabe9ba3e3cf85b77015ec18fd45d13f}{elm\+\_\+button\+\_\+autorepeat\+\_\+set} (Elm\+\_\+\+Button $\ast$obj, Eina\+\_\+\+Bool on)
\begin{DoxyCompactList}\small\item\em Turn on/off the autorepeat event generated when the button is kept pressed. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Button_gabf9a4f5e6b81b1810e359c4c0b372bd6}{elm\+\_\+button\+\_\+autorepeat\+\_\+get} (const Elm\+\_\+\+Button $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get whether the autorepeat feature is enabled. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Button_ga0021b9d86d822367035843ed18bc6ea9}{elm\+\_\+button\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new button to the parent\textquotesingle{}s canvas. \end{DoxyCompactList}\end{DoxyCompactItemize}


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


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{img/widget/button/preview-00}}
\end{DoxyImageNoCaption}
  
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{img/widget/button/preview-01}}
\end{DoxyImageNoCaption}
  
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{img/widget/button/preview-02}}
\end{DoxyImageNoCaption}


This is a push-\/button. Press it and run some function. It can contain a simple label and icon object and it also has an autorepeat feature.

This widget inherits from the \hyperlink{group__Layout}{Layout} one, so that all the functions acting on it also work for button objects.

This widget emits the following signals, besides the ones sent from Layout\+: \begin{DoxyItemize}
\item \char`\"{}clicked\char`\"{}\+: the user clicked the button (press/release). \item \char`\"{}repeated\char`\"{}\+: the user pressed the button without releasing it. \item \char`\"{}pressed\char`\"{}\+: button was pressed. \item \char`\"{}unpressed\char`\"{}\+: button was released after being pressed. \item {\ttfamily \char`\"{}focused\char`\"{}} \+: When the button has received focus. (since 1.\+8) \item {\ttfamily \char`\"{}unfocused\char`\"{}} \+: When the button has lost focus. (since 1.\+8) In all cases, the {\ttfamily event} parameter of the callback will be {\ttfamily N\+U\+L\+L}.\end{DoxyItemize}
Also, defined in the default theme, the button has the following styles available\+: \begin{DoxyItemize}
\item default\+: a normal button. \item anchor\+: Like default, but the button fades away when the mouse is not over it, leaving only the text or icon. \item hoversel\+\_\+vertical\+: Internally used by \hyperlink{group__Hoversel}{Hoversel} to give a continuous look across its options. \item hoversel\+\_\+vertical\+\_\+entry\+: Another internal for \hyperlink{group__Hoversel}{Hoversel}. \item naviframe\+: Internally used by \hyperlink{group__Naviframe}{Naviframe} for its back button. \item colorselector\+: Internally used by \hyperlink{group__Colorselector}{Colorselector} for its left and right buttons.\end{DoxyItemize}
Default content parts of the button widget that you can use for are\+: \begin{DoxyItemize}
\item \char`\"{}icon\char`\"{} -\/ An icon of the button\end{DoxyItemize}
Default text parts of the button widget that you can use for are\+: \begin{DoxyItemize}
\item \char`\"{}default\char`\"{} -\/ A label of the button\end{DoxyItemize}
Supported elm\+\_\+object common A\+P\+Is. \begin{DoxyItemize}
\item \hyperlink{group__General_ga9c088563c442670796564d2e5158f154}{elm\+\_\+object\+\_\+part\+\_\+text\+\_\+set} \item \hyperlink{group__General_ga965e34858eb4b80b7a4b5feda732bf27}{elm\+\_\+object\+\_\+part\+\_\+text\+\_\+get} \item \hyperlink{group__General_ga0531ec8867c72def7c780601764ca642}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+set} \item \hyperlink{group__General_ga32413f4d59d8232cd362a922a281abf1}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+get} \item \hyperlink{group__General_gadc5a1df25fe17e31739841133b53b5fc}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+unset} \item \hyperlink{group__General_ga1beada7edf5d714c0dba5459bcc993fc}{elm\+\_\+object\+\_\+signal\+\_\+emit} \item \hyperlink{group__General_ga6f9574b798efcd454afdac6f2904f633}{elm\+\_\+object\+\_\+signal\+\_\+callback\+\_\+add} \item \hyperlink{group__General_ga3c76b5447be522d647e352cb7ff7c9e6}{elm\+\_\+object\+\_\+signal\+\_\+callback\+\_\+del}\end{DoxyItemize}
Here is some sample code using it\+: \begin{DoxyItemize}
\item \hyperlink{button_example_00}{Button -\/ Hello, Button!} \item \hyperlink{button_example_01}{Button -\/ Complete example} \end{DoxyItemize}


\subsection{Function Documentation}
\index{Button@{Button}!elm\+\_\+button\+\_\+add@{elm\+\_\+button\+\_\+add}}
\index{elm\+\_\+button\+\_\+add@{elm\+\_\+button\+\_\+add}!Button@{Button}}
\subsubsection[{elm\+\_\+button\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+button\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Button_ga0021b9d86d822367035843ed18bc6ea9}


Add a new button to the parent\textquotesingle{}s canvas. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new object or N\+U\+L\+L if it cannot be created 
\end{DoxyReturn}


Referenced by elm\+\_\+quicklaunch\+\_\+seed().

\index{Button@{Button}!elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get@{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get}}
\index{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get@{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get}!Button@{Button}}
\subsubsection[{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}double elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Button $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Button_ga60afc6f9af99eaa16c27f46947eac12a}


Get the interval between each generated autorepeat event. 

\begin{DoxyReturn}{Returns}
Interval in seconds 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get().

\index{Button@{Button}!elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set@{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set}}
\index{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set@{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set}!Button@{Button}}
\subsubsection[{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Button $\ast$}]{obj, }
\item[{double}]{t}
\end{DoxyParamCaption}
)}\label{group__Button_gab44a890f0a3cb85e86c6690434ebf7c2}


Set the interval between each generated autorepeat event. 

After the first {\ttfamily repeated} event is fired, all subsequent ones will follow after a delay of {\ttfamily t} seconds for each.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Button_ga7a6ac9cc773bc852af49efce72a16769}{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em t} & Interval in seconds \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set().

\index{Button@{Button}!elm\+\_\+button\+\_\+autorepeat\+\_\+get@{elm\+\_\+button\+\_\+autorepeat\+\_\+get}}
\index{elm\+\_\+button\+\_\+autorepeat\+\_\+get@{elm\+\_\+button\+\_\+autorepeat\+\_\+get}!Button@{Button}}
\subsubsection[{elm\+\_\+button\+\_\+autorepeat\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+button\+\_\+autorepeat\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Button $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Button_gabf9a4f5e6b81b1810e359c4c0b372bd6}


Get whether the autorepeat feature is enabled. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if autorepeat is on, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Button_gaeabe9ba3e3cf85b77015ec18fd45d13f}{elm\+\_\+button\+\_\+autorepeat\+\_\+set()} 
\end{DoxySeeAlso}


References elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+get().

\index{Button@{Button}!elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get@{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get}}
\index{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get@{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get}!Button@{Button}}
\subsubsection[{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}double elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Button $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Button_ga97d37b784a816163c3a068a492aee277}


Get the initial timeout before the autorepeat event is generated. 

\begin{DoxyReturn}{Returns}
Timeout in seconds
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Button_ga7a6ac9cc773bc852af49efce72a16769}{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set()} 
\end{DoxySeeAlso}


References elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get().

\index{Button@{Button}!elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set@{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set}}
\index{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set@{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set}!Button@{Button}}
\subsubsection[{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Button $\ast$}]{obj, }
\item[{double}]{t}
\end{DoxyParamCaption}
)}\label{group__Button_ga7a6ac9cc773bc852af49efce72a16769}


Set the initial timeout before the autorepeat event is generated. 

Sets the timeout, in seconds, since the button is pressed until the first {\ttfamily repeated} signal is emitted. If {\ttfamily t} is 0.\+0 or less, there won\textquotesingle{}t be any delay and the event will be fired the moment the button is pressed.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Button_gaeabe9ba3e3cf85b77015ec18fd45d13f}{elm\+\_\+button\+\_\+autorepeat\+\_\+set()} 

\hyperlink{group__Button_gab44a890f0a3cb85e86c6690434ebf7c2}{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em t} & Timeout in seconds \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set().

\index{Button@{Button}!elm\+\_\+button\+\_\+autorepeat\+\_\+set@{elm\+\_\+button\+\_\+autorepeat\+\_\+set}}
\index{elm\+\_\+button\+\_\+autorepeat\+\_\+set@{elm\+\_\+button\+\_\+autorepeat\+\_\+set}!Button@{Button}}
\subsubsection[{elm\+\_\+button\+\_\+autorepeat\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+button\+\_\+autorepeat\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Button $\ast$}]{obj, }
\item[{Eina\+\_\+\+Bool}]{on}
\end{DoxyParamCaption}
)}\label{group__Button_gaeabe9ba3e3cf85b77015ec18fd45d13f}


Turn on/off the autorepeat event generated when the button is kept pressed. 

When off, no autorepeat is performed and buttons emit a normal {\ttfamily clicked} signal when they are clicked.

When on, keeping a button pressed will continuously emit a {\ttfamily repeated} signal until the button is released. The time it takes until it starts emitting the signal is given by \hyperlink{group__Button_ga7a6ac9cc773bc852af49efce72a16769}{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set()}, and the time between each new emission by \hyperlink{group__Button_gab44a890f0a3cb85e86c6690434ebf7c2}{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set()}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em on} & A bool to turn on/off the event \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+set().

\index{Button@{Button}!elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get@{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get}}
\index{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get@{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get}!Button@{Button}}
\subsubsection[{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I double elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Button_gac3f14da8b993c3d4aa49eeb6182e8387}


Get the interval between each generated autorepeat event. 

\begin{DoxyReturn}{Returns}
Interval in seconds 
\end{DoxyReturn}


Referenced by elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get().

\index{Button@{Button}!elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set@{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set}}
\index{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set@{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set}!Button@{Button}}
\subsubsection[{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set (
\begin{DoxyParamCaption}
\item[{double}]{t}
\end{DoxyParamCaption}
)}\label{group__Button_gaabf590de365d2b094e6bce3b50d3c4ea}


Set the interval between each generated autorepeat event. 

After the first {\ttfamily repeated} event is fired, all subsequent ones will follow after a delay of {\ttfamily t} seconds for each.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Button_ga7a6ac9cc773bc852af49efce72a16769}{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em t} & Interval in seconds \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set().

\index{Button@{Button}!elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+get@{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+get}}
\index{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+get@{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+get}!Button@{Button}}
\subsubsection[{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Button_ga44dcd819fd9bbe3bd056826cd6a931c1}


Get whether the autorepeat feature is enabled. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if autorepeat is on, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Button_gaeabe9ba3e3cf85b77015ec18fd45d13f}{elm\+\_\+button\+\_\+autorepeat\+\_\+set()} 
\end{DoxySeeAlso}


Referenced by elm\+\_\+button\+\_\+autorepeat\+\_\+get().

\index{Button@{Button}!elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get@{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get}}
\index{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get@{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get}!Button@{Button}}
\subsubsection[{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I double elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Button_ga2430c214080cc124dba93d7d846553d3}


Get the initial timeout before the autorepeat event is generated. 

\begin{DoxyReturn}{Returns}
Timeout in seconds
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Button_ga7a6ac9cc773bc852af49efce72a16769}{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set()} 
\end{DoxySeeAlso}


Referenced by elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get().

\index{Button@{Button}!elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set@{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set}}
\index{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set@{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set}!Button@{Button}}
\subsubsection[{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set (
\begin{DoxyParamCaption}
\item[{double}]{t}
\end{DoxyParamCaption}
)}\label{group__Button_gadb888400bdaaabfb5d08534ae02da65d}


Set the initial timeout before the autorepeat event is generated. 

Sets the timeout, in seconds, since the button is pressed until the first {\ttfamily repeated} signal is emitted. If {\ttfamily t} is 0.\+0 or less, there won\textquotesingle{}t be any delay and the event will be fired the moment the button is pressed.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Button_gaeabe9ba3e3cf85b77015ec18fd45d13f}{elm\+\_\+button\+\_\+autorepeat\+\_\+set()} 

\hyperlink{group__Button_gab44a890f0a3cb85e86c6690434ebf7c2}{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em t} & Timeout in seconds \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set().

\index{Button@{Button}!elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+set@{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+set}}
\index{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+set@{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+set}!Button@{Button}}
\subsubsection[{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+set (
\begin{DoxyParamCaption}
\item[{Eina\+\_\+\+Bool}]{on}
\end{DoxyParamCaption}
)}\label{group__Button_ga9d7f2aed966aad1da14daa7413549e90}


Turn on/off the autorepeat event generated when the button is kept pressed. 

When off, no autorepeat is performed and buttons emit a normal {\ttfamily clicked} signal when they are clicked.

When on, keeping a button pressed will continuously emit a {\ttfamily repeated} signal until the button is released. The time it takes until it starts emitting the signal is given by \hyperlink{group__Button_ga7a6ac9cc773bc852af49efce72a16769}{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set()}, and the time between each new emission by \hyperlink{group__Button_gab44a890f0a3cb85e86c6690434ebf7c2}{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set()}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em on} & A bool to turn on/off the event \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+button\+\_\+autorepeat\+\_\+set().

