\section{cppcms\+:\+:widgets\+:\+:textarea Class Reference}
\label{classcppcms_1_1widgets_1_1textarea}\index{cppcms\+::widgets\+::textarea@{cppcms\+::widgets\+::textarea}}


This text widget behaves similarly to the text widget but uses the {\ttfamily textarea} H\+T\+ML tag rather than the {\ttfamily input} H\+T\+ML tag.  




{\ttfamily \#include $<$cppcms/form.\+h$>$}

Inheritance diagram for cppcms\+:\+:widgets\+:\+:textarea\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{classcppcms_1_1widgets_1_1textarea}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
int {\bf rows} ()
\item 
int {\bf cols} ()
\item 
void {\bf rows} (int n)
\item 
void {\bf cols} (int n)
\item 
virtual void {\bf render\+\_\+input} ({\bf form\+\_\+context} \&context)
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
This text widget behaves similarly to the text widget but uses the {\ttfamily textarea} H\+T\+ML tag rather than the {\ttfamily input} H\+T\+ML tag. 

\subsection{Member Function Documentation}
\index{cppcms\+::widgets\+::textarea@{cppcms\+::widgets\+::textarea}!cols@{cols}}
\index{cols@{cols}!cppcms\+::widgets\+::textarea@{cppcms\+::widgets\+::textarea}}
\subsubsection[{cols()}]{\setlength{\rightskip}{0pt plus 5cm}int cppcms\+::widgets\+::textarea\+::cols (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1widgets_1_1textarea_a5ff6cfb943de509f9943de53a141ad86}
Get the number of columns in the textarea. The default is -\/1 -- undefined. \index{cppcms\+::widgets\+::textarea@{cppcms\+::widgets\+::textarea}!cols@{cols}}
\index{cols@{cols}!cppcms\+::widgets\+::textarea@{cppcms\+::widgets\+::textarea}}
\subsubsection[{cols(int n)}]{\setlength{\rightskip}{0pt plus 5cm}void cppcms\+::widgets\+::textarea\+::cols (
\begin{DoxyParamCaption}
\item[{int}]{n}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1widgets_1_1textarea_ace6c82cf777afa3c6d25c8b5673e9475}
Set the number of columns in the textarea. \index{cppcms\+::widgets\+::textarea@{cppcms\+::widgets\+::textarea}!render\+\_\+input@{render\+\_\+input}}
\index{render\+\_\+input@{render\+\_\+input}!cppcms\+::widgets\+::textarea@{cppcms\+::widgets\+::textarea}}
\subsubsection[{render\+\_\+input(form\+\_\+context \&context)}]{\setlength{\rightskip}{0pt plus 5cm}virtual void cppcms\+::widgets\+::textarea\+::render\+\_\+input (
\begin{DoxyParamCaption}
\item[{{\bf form\+\_\+context} \&}]{context}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classcppcms_1_1widgets_1_1textarea_ac7fac283b705a87071f013edd286ed31}
This is a virtual member function that should be implemented by each widget. It executes the actual rendering of the H\+T\+ML form. 

Implements {\bf cppcms\+::widgets\+::base\+\_\+widget} \doxyref{}{p.}{classcppcms_1_1widgets_1_1base__widget_a03394613be620bb0d6aeb62818f56b8f}.

\index{cppcms\+::widgets\+::textarea@{cppcms\+::widgets\+::textarea}!rows@{rows}}
\index{rows@{rows}!cppcms\+::widgets\+::textarea@{cppcms\+::widgets\+::textarea}}
\subsubsection[{rows()}]{\setlength{\rightskip}{0pt plus 5cm}int cppcms\+::widgets\+::textarea\+::rows (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1widgets_1_1textarea_a8432fcb41345e9c113d42cd213fb4145}
Get the number of rows in the textarea. The default is -\/1 -- undefined. \index{cppcms\+::widgets\+::textarea@{cppcms\+::widgets\+::textarea}!rows@{rows}}
\index{rows@{rows}!cppcms\+::widgets\+::textarea@{cppcms\+::widgets\+::textarea}}
\subsubsection[{rows(int n)}]{\setlength{\rightskip}{0pt plus 5cm}void cppcms\+::widgets\+::textarea\+::rows (
\begin{DoxyParamCaption}
\item[{int}]{n}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1widgets_1_1textarea_a33af9aadafb38b8554cff7c8da2457e1}
Set the number of rows in the textarea. 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
cppcms/form.\+h\end{DoxyCompactItemize}
