\hypertarget{txt__dropdown_8h}{
\section{textscreen/txt\_\-dropdown.h File Reference}
\label{dc/dc7/txt__dropdown_8h}\index{textscreen/txt\_\-dropdown.h@{textscreen/txt\_\-dropdown.h}}
}


Dropdown list widget.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structtxt__dropdown__list__s}{txt\_\-dropdown\_\-list\_\-s}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{structtxt__dropdown__list__s}{txt\_\-dropdown\_\-list\_\-s} \hyperlink{txt__dropdown_8h_a94d6a10095649d85ec8485234f5da7b1}{txt\_\-dropdown\_\-list\_\-t}
\begin{DoxyCompactList}\small\item\em Dropdown list widget. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structtxt__dropdown__list__s}{txt\_\-dropdown\_\-list\_\-t} $\ast$ \hyperlink{txt__dropdown_8h_a1ca35c1bc04422c0bb0b7449a76e5f28}{TXT\_\-NewDropdownList} (int $\ast$variable, char $\ast$$\ast$values, int num\_\-values)
\begin{DoxyCompactList}\small\item\em Create a new dropdown list widget. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Dropdown list widget. 

\subsection{Typedef Documentation}
\hypertarget{txt__dropdown_8h_a94d6a10095649d85ec8485234f5da7b1}{
\index{txt\_\-dropdown.h@{txt\_\-dropdown.h}!txt\_\-dropdown\_\-list\_\-t@{txt\_\-dropdown\_\-list\_\-t}}
\index{txt\_\-dropdown\_\-list\_\-t@{txt\_\-dropdown\_\-list\_\-t}!txt_dropdown.h@{txt\_\-dropdown.h}}
\subsubsection[{txt\_\-dropdown\_\-list\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf txt\_\-dropdown\_\-list\_\-s} {\bf txt\_\-dropdown\_\-list\_\-t}}}
\label{dc/dc7/txt__dropdown_8h_a94d6a10095649d85ec8485234f5da7b1}


Dropdown list widget. 

A dropdown list allows the user to select from a list of values, which appears when the list is selected.

When the value of a dropdown list is changed, the \char`\"{}changed\char`\"{} signal is emitted. 

\subsection{Function Documentation}
\hypertarget{txt__dropdown_8h_a1ca35c1bc04422c0bb0b7449a76e5f28}{
\index{txt\_\-dropdown.h@{txt\_\-dropdown.h}!TXT\_\-NewDropdownList@{TXT\_\-NewDropdownList}}
\index{TXT\_\-NewDropdownList@{TXT\_\-NewDropdownList}!txt_dropdown.h@{txt\_\-dropdown.h}}
\subsubsection[{TXT\_\-NewDropdownList}]{\setlength{\rightskip}{0pt plus 5cm}{\bf txt\_\-dropdown\_\-list\_\-t}$\ast$ TXT\_\-NewDropdownList (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{variable, }
\item[{char $\ast$$\ast$}]{values, }
\item[{int}]{num\_\-values}
\end{DoxyParamCaption}
)}}
\label{dc/dc7/txt__dropdown_8h_a1ca35c1bc04422c0bb0b7449a76e5f28}


Create a new dropdown list widget. 

The parameters specify a list of string labels, and a pointer to an integer variable. The variable contains the current \char`\"{}value\char`\"{} of the list, as an index within the list of labels.


\begin{DoxyParams}{Parameters}
{\em variable} & Pointer to the variable containing the list's value. \\
\hline
{\em values} & Pointer to an array of strings containing the labels to use for the list. \\
\hline
{\em num\_\-values} & The number of variables in the list. \\
\hline
\end{DoxyParams}
