\hypertarget{txt__window__action_8cpp}{
\section{textscreen/txt\_\-window\_\-action.cpp File Reference}
\label{dd/d1f/txt__window__action_8cpp}\index{textscreen/txt\_\-window\_\-action.cpp@{textscreen/txt\_\-window\_\-action.cpp}}
}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structtxt__window__action__s}{txt\_\-window\_\-action\_\-t} $\ast$ \hyperlink{txt__window__action_8cpp_a8910b0db893a371cd327fad70c58d2fb}{TXT\_\-NewWindowAction} (int key, const char $\ast$label)
\begin{DoxyCompactList}\small\item\em Create a new window action. \end{DoxyCompactList}\item 
\hyperlink{structtxt__window__action__s}{txt\_\-window\_\-action\_\-t} $\ast$ \hyperlink{txt__window__action_8cpp_a56183de8eca9b29a555b60cd0cf7921e}{TXT\_\-NewWindowEscapeAction} (\hyperlink{structtxt__window__s}{txt\_\-window\_\-t} $\ast$window)
\begin{DoxyCompactList}\small\item\em Create a new window action that closes the window when the escape key is pressed. \end{DoxyCompactList}\item 
\hyperlink{structtxt__window__action__s}{txt\_\-window\_\-action\_\-t} $\ast$ \hyperlink{txt__window__action_8cpp_a3200841fe4ca8c21ec43fd8785b89a1c}{TXT\_\-NewWindowAbortAction} (\hyperlink{structtxt__window__s}{txt\_\-window\_\-t} $\ast$window)
\begin{DoxyCompactList}\small\item\em Create a new window action that closes the window when the escape key is pressed. \end{DoxyCompactList}\item 
\hyperlink{structtxt__window__action__s}{txt\_\-window\_\-action\_\-t} $\ast$ \hyperlink{txt__window__action_8cpp_ac8d25cd8d622ff0bc72681c614cbf953}{TXT\_\-NewWindowSelectAction} (\hyperlink{structtxt__window__s}{txt\_\-window\_\-t} $\ast$window)
\begin{DoxyCompactList}\small\item\em Create a new \char`\"{}select\char`\"{} window action. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structtxt__widget__class__s}{txt\_\-widget\_\-class\_\-t} \hyperlink{txt__window__action_8cpp_af3a2472a0f06f06a2dded20711ebde8d}{txt\_\-window\_\-action\_\-class}
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{txt__window__action_8cpp_a3200841fe4ca8c21ec43fd8785b89a1c}{
\index{txt\_\-window\_\-action.cpp@{txt\_\-window\_\-action.cpp}!TXT\_\-NewWindowAbortAction@{TXT\_\-NewWindowAbortAction}}
\index{TXT\_\-NewWindowAbortAction@{TXT\_\-NewWindowAbortAction}!txt_window_action.cpp@{txt\_\-window\_\-action.cpp}}
\subsubsection[{TXT\_\-NewWindowAbortAction}]{\setlength{\rightskip}{0pt plus 5cm}{\bf txt\_\-window\_\-action\_\-t}$\ast$ TXT\_\-NewWindowAbortAction (
\begin{DoxyParamCaption}
\item[{{\bf txt\_\-window\_\-t} $\ast$}]{window}
\end{DoxyParamCaption}
)}}
\label{dd/d1f/txt__window__action_8cpp_a3200841fe4ca8c21ec43fd8785b89a1c}


Create a new window action that closes the window when the escape key is pressed. 

The label \char`\"{}Abort\char`\"{} is used.


\begin{DoxyParams}{Parameters}
{\em window} & The window to close. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to the new window action widget. 
\end{DoxyReturn}
\hypertarget{txt__window__action_8cpp_a8910b0db893a371cd327fad70c58d2fb}{
\index{txt\_\-window\_\-action.cpp@{txt\_\-window\_\-action.cpp}!TXT\_\-NewWindowAction@{TXT\_\-NewWindowAction}}
\index{TXT\_\-NewWindowAction@{TXT\_\-NewWindowAction}!txt_window_action.cpp@{txt\_\-window\_\-action.cpp}}
\subsubsection[{TXT\_\-NewWindowAction}]{\setlength{\rightskip}{0pt plus 5cm}{\bf txt\_\-window\_\-action\_\-t}$\ast$ TXT\_\-NewWindowAction (
\begin{DoxyParamCaption}
\item[{int}]{key, }
\item[{const char $\ast$}]{label}
\end{DoxyParamCaption}
)}}
\label{dd/d1f/txt__window__action_8cpp_a8910b0db893a371cd327fad70c58d2fb}


Create a new window action. 


\begin{DoxyParams}{Parameters}
{\em key} & The keyboard key that triggers this action. \\
\hline
{\em label} & Label to display for this action in the tray at the bottom of the window. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to the new window action widget. 
\end{DoxyReturn}
\hypertarget{txt__window__action_8cpp_a56183de8eca9b29a555b60cd0cf7921e}{
\index{txt\_\-window\_\-action.cpp@{txt\_\-window\_\-action.cpp}!TXT\_\-NewWindowEscapeAction@{TXT\_\-NewWindowEscapeAction}}
\index{TXT\_\-NewWindowEscapeAction@{TXT\_\-NewWindowEscapeAction}!txt_window_action.cpp@{txt\_\-window\_\-action.cpp}}
\subsubsection[{TXT\_\-NewWindowEscapeAction}]{\setlength{\rightskip}{0pt plus 5cm}{\bf txt\_\-window\_\-action\_\-t}$\ast$ TXT\_\-NewWindowEscapeAction (
\begin{DoxyParamCaption}
\item[{{\bf txt\_\-window\_\-t} $\ast$}]{window}
\end{DoxyParamCaption}
)}}
\label{dd/d1f/txt__window__action_8cpp_a56183de8eca9b29a555b60cd0cf7921e}


Create a new window action that closes the window when the escape key is pressed. 

The label \char`\"{}Close\char`\"{} is used.


\begin{DoxyParams}{Parameters}
{\em window} & The window to close. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to the new window action widget. 
\end{DoxyReturn}
\hypertarget{txt__window__action_8cpp_ac8d25cd8d622ff0bc72681c614cbf953}{
\index{txt\_\-window\_\-action.cpp@{txt\_\-window\_\-action.cpp}!TXT\_\-NewWindowSelectAction@{TXT\_\-NewWindowSelectAction}}
\index{TXT\_\-NewWindowSelectAction@{TXT\_\-NewWindowSelectAction}!txt_window_action.cpp@{txt\_\-window\_\-action.cpp}}
\subsubsection[{TXT\_\-NewWindowSelectAction}]{\setlength{\rightskip}{0pt plus 5cm}{\bf txt\_\-window\_\-action\_\-t}$\ast$ TXT\_\-NewWindowSelectAction (
\begin{DoxyParamCaption}
\item[{{\bf txt\_\-window\_\-t} $\ast$}]{window}
\end{DoxyParamCaption}
)}}
\label{dd/d1f/txt__window__action_8cpp_ac8d25cd8d622ff0bc72681c614cbf953}


Create a new \char`\"{}select\char`\"{} window action. 

This does not really do anything, but reminds the user that \char`\"{}enter\char`\"{} can be pressed to activate the currently-\/selected widget.


\begin{DoxyParams}{Parameters}
{\em window} & The window. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to the new window action widget. 
\end{DoxyReturn}


\subsection{Variable Documentation}
\hypertarget{txt__window__action_8cpp_af3a2472a0f06f06a2dded20711ebde8d}{
\index{txt\_\-window\_\-action.cpp@{txt\_\-window\_\-action.cpp}!txt\_\-window\_\-action\_\-class@{txt\_\-window\_\-action\_\-class}}
\index{txt\_\-window\_\-action\_\-class@{txt\_\-window\_\-action\_\-class}!txt_window_action.cpp@{txt\_\-window\_\-action.cpp}}
\subsubsection[{txt\_\-window\_\-action\_\-class}]{\setlength{\rightskip}{0pt plus 5cm}{\bf txt\_\-widget\_\-class\_\-t} {\bf txt\_\-window\_\-action\_\-class}}}
\label{dd/d1f/txt__window__action_8cpp_af3a2472a0f06f06a2dded20711ebde8d}
{\bfseries Initial value:}
\begin{DoxyCode}

{
    TXT_WindowActionSizeCalc,
    TXT_WindowActionDrawer,
    TXT_WindowActionKeyPress,
    TXT_WindowActionDestructor,
    TXT_WindowActionMousePress,
    NULL,
}
\end{DoxyCode}
