\section{Button}
\label{group__Elm__Button}\index{Button@{Button}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+PI void \hyperlink{group__Elm__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\+PI double \hyperlink{group__Elm__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\+PI void \hyperlink{group__Elm__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\+PI double \hyperlink{group__Elm__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\+PI void \hyperlink{group__Elm__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\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Button_ga44dcd819fd9bbe3bd056826cd6a931c1}{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get whether the autorepeat feature is enabled (\$true if autorepeat is on, {\ttfamily false} otherwise) \end{DoxyCompactList}\item 
\mbox{\label{group__Elm__Button_gad2e6b2b5233c5f522b95f679e327c24e}} 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Button_gad2e6b2b5233c5f522b95f679e327c24e}{elm\+\_\+obj\+\_\+button\+\_\+admits\+\_\+autorepeat\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get whether the button supports autorepeat. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__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__Elm__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__Elm__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__Elm__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__Elm__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__Elm__Button_gabf9a4f5e6b81b1810e359c4c0b372bd6}{elm\+\_\+button\+\_\+autorepeat\+\_\+get} (const Elm\+\_\+\+Button $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get whether the autorepeat feature is enabled (\$true if autorepeat is on, {\ttfamily false} otherwise) \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Elm__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 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\+LL}.\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 Hoversel to give a continuous look across its options. \item hoversel\+\_\+vertical\+\_\+entry\+: Another internal for Hoversel. \item naviframe\+: Internally used by Naviframe for its back button. \item colorselector\+: Internally used by 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__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\+\_\+object\+\_\+part\+\_\+text\+\_\+set} \item \hyperlink{group__Elm__General_ga965e34858eb4b80b7a4b5feda732bf27}{elm\+\_\+object\+\_\+part\+\_\+text\+\_\+get} \item \hyperlink{group__Elm__General_ga0531ec8867c72def7c780601764ca642}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+set} \item \hyperlink{group__Elm__General_ga32413f4d59d8232cd362a922a281abf1}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+get} \item \hyperlink{group__Elm__General_gadc5a1df25fe17e31739841133b53b5fc}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+unset} \item \hyperlink{group__Elm__General_ga1beada7edf5d714c0dba5459bcc993fc}{elm\+\_\+object\+\_\+signal\+\_\+emit} \item \hyperlink{group__Elm__General_ga6f9574b798efcd454afdac6f2904f633}{elm\+\_\+object\+\_\+signal\+\_\+callback\+\_\+add} \item \hyperlink{group__Elm__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}
\mbox{\label{group__Elm__Button_ga0021b9d86d822367035843ed18bc6ea9}} 
\index{Button@{Button}!elm\+\_\+button\+\_\+add@{elm\+\_\+button\+\_\+add}}
\index{elm\+\_\+button\+\_\+add@{elm\+\_\+button\+\_\+add}!Button@{Button}}
\subsubsection{\texorpdfstring{elm\+\_\+button\+\_\+add()}{elm\_button\_add()}}
{\footnotesize\ttfamily Evas\+\_\+\+Object$\ast$ elm\+\_\+button\+\_\+add (\begin{DoxyParamCaption}\item[{Evas\+\_\+\+Object $\ast$}]{parent }\end{DoxyParamCaption})}



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\+LL if it cannot be created 
\end{DoxyReturn}


References \+\_\+\+Elm\+\_\+\+Button\+\_\+\+Data\+::ar\+\_\+gap\+\_\+timeout, \+\_\+\+Elm\+\_\+\+Button\+\_\+\+Data\+::ar\+\_\+initial\+\_\+timeout, \+\_\+\+Elm\+\_\+\+Button\+\_\+\+Data\+::autorepeat, elm\+\_\+obj\+\_\+button\+\_\+admits\+\_\+autorepeat\+\_\+get(), \+\_\+\+Elm\+\_\+\+Button\+\_\+\+Data\+::repeating, and \+\_\+\+Elm\+\_\+\+Button\+\_\+\+Data\+::timer.



Referenced by elm\+\_\+fileselector\+\_\+folder\+\_\+only\+\_\+get().

\mbox{\label{group__Elm__Button_ga60afc6f9af99eaa16c27f46947eac12a}} 
\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{\texorpdfstring{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get()}{elm\_button\_autorepeat\_gap\_timeout\_get()}}
{\footnotesize\ttfamily double elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Button $\ast$}]{obj }\end{DoxyParamCaption})}



Get the interval between each generated autorepeat event. 

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


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

\mbox{\label{group__Elm__Button_gab44a890f0a3cb85e86c6690434ebf7c2}} 
\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{\texorpdfstring{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set()}{elm\_button\_autorepeat\_gap\_timeout\_set()}}
{\footnotesize\ttfamily void elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Button $\ast$}]{obj,  }\item[{double}]{t }\end{DoxyParamCaption})}



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.

See also \hyperlink{group__Elm__Button_ga7a6ac9cc773bc852af49efce72a16769}{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set}.


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


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

\mbox{\label{group__Elm__Button_gabf9a4f5e6b81b1810e359c4c0b372bd6}} 
\index{Button@{Button}!elm\+\_\+button\+\_\+autorepeat\+\_\+get@{elm\+\_\+button\+\_\+autorepeat\+\_\+get}}
\index{elm\+\_\+button\+\_\+autorepeat\+\_\+get@{elm\+\_\+button\+\_\+autorepeat\+\_\+get}!Button@{Button}}
\subsubsection{\texorpdfstring{elm\+\_\+button\+\_\+autorepeat\+\_\+get()}{elm\_button\_autorepeat\_get()}}
{\footnotesize\ttfamily Eina\+\_\+\+Bool elm\+\_\+button\+\_\+autorepeat\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Button $\ast$}]{obj }\end{DoxyParamCaption})}



Get whether the autorepeat feature is enabled (\$true if autorepeat is on, {\ttfamily false} otherwise) 

See also \hyperlink{group__Elm__Button_gaeabe9ba3e3cf85b77015ec18fd45d13f}{elm\+\_\+button\+\_\+autorepeat\+\_\+set}.

\begin{DoxyReturn}{Returns}
A bool to turn on/off the event 
\end{DoxyReturn}


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

\mbox{\label{group__Elm__Button_ga97d37b784a816163c3a068a492aee277}} 
\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{\texorpdfstring{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get()}{elm\_button\_autorepeat\_initial\_timeout\_get()}}
{\footnotesize\ttfamily double elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Button $\ast$}]{obj }\end{DoxyParamCaption})}



Get the initial timeout before the autorepeat event is generated. 

See also \hyperlink{group__Elm__Button_ga7a6ac9cc773bc852af49efce72a16769}{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set}.

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


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

\mbox{\label{group__Elm__Button_ga7a6ac9cc773bc852af49efce72a16769}} 
\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{\texorpdfstring{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set()}{elm\_button\_autorepeat\_initial\_timeout\_set()}}
{\footnotesize\ttfamily void elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Button $\ast$}]{obj,  }\item[{double}]{t }\end{DoxyParamCaption})}



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.

See also \hyperlink{group__Elm__Button_gaeabe9ba3e3cf85b77015ec18fd45d13f}{elm\+\_\+button\+\_\+autorepeat\+\_\+set}, \hyperlink{group__Elm__Button_gab44a890f0a3cb85e86c6690434ebf7c2}{elm\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set}.


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


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

\mbox{\label{group__Elm__Button_gaeabe9ba3e3cf85b77015ec18fd45d13f}} 
\index{Button@{Button}!elm\+\_\+button\+\_\+autorepeat\+\_\+set@{elm\+\_\+button\+\_\+autorepeat\+\_\+set}}
\index{elm\+\_\+button\+\_\+autorepeat\+\_\+set@{elm\+\_\+button\+\_\+autorepeat\+\_\+set}!Button@{Button}}
\subsubsection{\texorpdfstring{elm\+\_\+button\+\_\+autorepeat\+\_\+set()}{elm\_button\_autorepeat\_set()}}
{\footnotesize\ttfamily void elm\+\_\+button\+\_\+autorepeat\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Button $\ast$}]{obj,  }\item[{Eina\+\_\+\+Bool}]{on }\end{DoxyParamCaption})}



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__Elm__Button_ga7a6ac9cc773bc852af49efce72a16769}{elm\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set}, and the time between each new emission by \hyperlink{group__Elm__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().

\mbox{\label{group__Elm__Button_gac3f14da8b993c3d4aa49eeb6182e8387}} 
\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{\texorpdfstring{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get()}{elm\_obj\_button\_autorepeat\_gap\_timeout\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI double elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the interval between each generated autorepeat event. 

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


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

\mbox{\label{group__Elm__Button_gaabf590de365d2b094e6bce3b50d3c4ea}} 
\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{\texorpdfstring{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set()}{elm\_obj\_button\_autorepeat\_gap\_timeout\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set (\begin{DoxyParamCaption}\item[{double}]{t }\end{DoxyParamCaption})}



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.

See also \hyperlink{group__Elm__Button_gadb888400bdaaabfb5d08534ae02da65d}{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set}.


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


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

\mbox{\label{group__Elm__Button_ga44dcd819fd9bbe3bd056826cd6a931c1}} 
\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{\texorpdfstring{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+get()}{elm\_obj\_button\_autorepeat\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get whether the autorepeat feature is enabled (\$true if autorepeat is on, {\ttfamily false} otherwise) 

See also \hyperlink{group__Elm__Button_ga9d7f2aed966aad1da14daa7413549e90}{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+set}.

\begin{DoxyReturn}{Returns}
A bool to turn on/off the event 
\end{DoxyReturn}


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

\mbox{\label{group__Elm__Button_ga2430c214080cc124dba93d7d846553d3}} 
\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{\texorpdfstring{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get()}{elm\_obj\_button\_autorepeat\_initial\_timeout\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI double elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the initial timeout before the autorepeat event is generated. 

See also \hyperlink{group__Elm__Button_gadb888400bdaaabfb5d08534ae02da65d}{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set}.

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


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

\mbox{\label{group__Elm__Button_gadb888400bdaaabfb5d08534ae02da65d}} 
\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{\texorpdfstring{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set()}{elm\_obj\_button\_autorepeat\_initial\_timeout\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set (\begin{DoxyParamCaption}\item[{double}]{t }\end{DoxyParamCaption})}



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.

See also \hyperlink{group__Elm__Button_ga9d7f2aed966aad1da14daa7413549e90}{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+set}, \hyperlink{group__Elm__Button_gaabf590de365d2b094e6bce3b50d3c4ea}{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+gap\+\_\+timeout\+\_\+set}.


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


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

\mbox{\label{group__Elm__Button_ga9d7f2aed966aad1da14daa7413549e90}} 
\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{\texorpdfstring{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+set()}{elm\_obj\_button\_autorepeat\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+set (\begin{DoxyParamCaption}\item[{Eina\+\_\+\+Bool}]{on }\end{DoxyParamCaption})}



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__Elm__Button_gadb888400bdaaabfb5d08534ae02da65d}{elm\+\_\+obj\+\_\+button\+\_\+autorepeat\+\_\+initial\+\_\+timeout\+\_\+set}, and the time between each new emission by \hyperlink{group__Elm__Button_gaabf590de365d2b094e6bce3b50d3c4ea}{elm\+\_\+obj\+\_\+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().

