\hypertarget{txt__button_8cpp}{
\section{textscreen/txt\_\-button.cpp File Reference}
\label{de/dc1/txt__button_8cpp}\index{textscreen/txt\_\-button.cpp@{textscreen/txt\_\-button.cpp}}
}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{txt__button_8cpp_a142876eb686688e40fe7a69d81356411}{TXT\_\-SetButtonLabel} (\hyperlink{structtxt__button__s}{txt\_\-button\_\-t} $\ast$button, char $\ast$label)
\begin{DoxyCompactList}\small\item\em Change the label used on a button. \end{DoxyCompactList}\item 
\hyperlink{structtxt__button__s}{txt\_\-button\_\-t} $\ast$ \hyperlink{txt__button_8cpp_a2a0e50d122dc64672bda1d04da8a6b03}{TXT\_\-NewButton} (char $\ast$label)
\begin{DoxyCompactList}\small\item\em Create a new button widget. \end{DoxyCompactList}\item 
\hyperlink{structtxt__button__s}{txt\_\-button\_\-t} $\ast$ \hyperlink{txt__button_8cpp_a5301707cecc29dc27d34a532deb14db6}{TXT\_\-NewButton2} (char $\ast$label, \hyperlink{txt__widget_8h_a5af69a833daa0a612670eb8183fcdd5e}{TxtWidgetSignalFunc} \hyperlink{d__dehacked_8cpp_a43026160f493bce5e3714d0c344fff8b}{func}, void $\ast$user\_\-data)
\begin{DoxyCompactList}\small\item\em Create a new button widget, binding the \char`\"{}pressed\char`\"{} signal to a specified callback function. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structtxt__widget__class__s}{txt\_\-widget\_\-class\_\-t} \hyperlink{txt__button_8cpp_ab988dd272ee6b8a0851a0da34cf3bf17}{txt\_\-button\_\-class}
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{txt__button_8cpp_a2a0e50d122dc64672bda1d04da8a6b03}{
\index{txt\_\-button.cpp@{txt\_\-button.cpp}!TXT\_\-NewButton@{TXT\_\-NewButton}}
\index{TXT\_\-NewButton@{TXT\_\-NewButton}!txt_button.cpp@{txt\_\-button.cpp}}
\subsubsection[{TXT\_\-NewButton}]{\setlength{\rightskip}{0pt plus 5cm}{\bf txt\_\-button\_\-t}$\ast$ TXT\_\-NewButton (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{label}
\end{DoxyParamCaption}
)}}
\label{de/dc1/txt__button_8cpp_a2a0e50d122dc64672bda1d04da8a6b03}


Create a new button widget. 


\begin{DoxyParams}{Parameters}
{\em label} & The label to use on the new button. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to the new button widget. 
\end{DoxyReturn}
\hypertarget{txt__button_8cpp_a5301707cecc29dc27d34a532deb14db6}{
\index{txt\_\-button.cpp@{txt\_\-button.cpp}!TXT\_\-NewButton2@{TXT\_\-NewButton2}}
\index{TXT\_\-NewButton2@{TXT\_\-NewButton2}!txt_button.cpp@{txt\_\-button.cpp}}
\subsubsection[{TXT\_\-NewButton2}]{\setlength{\rightskip}{0pt plus 5cm}{\bf txt\_\-button\_\-t}$\ast$ TXT\_\-NewButton2 (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{label, }
\item[{{\bf TxtWidgetSignalFunc}}]{func, }
\item[{void $\ast$}]{user\_\-data}
\end{DoxyParamCaption}
)}}
\label{de/dc1/txt__button_8cpp_a5301707cecc29dc27d34a532deb14db6}


Create a new button widget, binding the \char`\"{}pressed\char`\"{} signal to a specified callback function. 


\begin{DoxyParams}{Parameters}
{\em label} & The label to use on the new button. \\
\hline
{\em func} & The callback function to invoke. \\
\hline
{\em user\_\-data} & User-\/specified pointer to pass to the callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to the new button widget. 
\end{DoxyReturn}
\hypertarget{txt__button_8cpp_a142876eb686688e40fe7a69d81356411}{
\index{txt\_\-button.cpp@{txt\_\-button.cpp}!TXT\_\-SetButtonLabel@{TXT\_\-SetButtonLabel}}
\index{TXT\_\-SetButtonLabel@{TXT\_\-SetButtonLabel}!txt_button.cpp@{txt\_\-button.cpp}}
\subsubsection[{TXT\_\-SetButtonLabel}]{\setlength{\rightskip}{0pt plus 5cm}void TXT\_\-SetButtonLabel (
\begin{DoxyParamCaption}
\item[{{\bf txt\_\-button\_\-t} $\ast$}]{button, }
\item[{char $\ast$}]{label}
\end{DoxyParamCaption}
)}}
\label{de/dc1/txt__button_8cpp_a142876eb686688e40fe7a69d81356411}


Change the label used on a button. 


\begin{DoxyParams}{Parameters}
{\em button} & The button. \\
\hline
{\em label} & The new label. \\
\hline
\end{DoxyParams}


\subsection{Variable Documentation}
\hypertarget{txt__button_8cpp_ab988dd272ee6b8a0851a0da34cf3bf17}{
\index{txt\_\-button.cpp@{txt\_\-button.cpp}!txt\_\-button\_\-class@{txt\_\-button\_\-class}}
\index{txt\_\-button\_\-class@{txt\_\-button\_\-class}!txt_button.cpp@{txt\_\-button.cpp}}
\subsubsection[{txt\_\-button\_\-class}]{\setlength{\rightskip}{0pt plus 5cm}{\bf txt\_\-widget\_\-class\_\-t} {\bf txt\_\-button\_\-class}}}
\label{de/dc1/txt__button_8cpp_ab988dd272ee6b8a0851a0da34cf3bf17}
{\bfseries Initial value:}
\begin{DoxyCode}

{
    TXT_ButtonSizeCalc,
    TXT_ButtonDrawer,
    TXT_ButtonKeyPress,
    TXT_ButtonDestructor,
    TXT_ButtonMousePress,
    NULL,
}
\end{DoxyCode}
