CppCMS
Public Member Functions
cppcms::widgets::textarea Class Reference

This text widget behaves similarly to the text widget but uses the textarea HTML tag rather than the input HTML tag. More...

#include <cppcms/form.h>

Inheritance diagram for cppcms::widgets::textarea:
cppcms::widgets::base_text cppcms::widgets::base_widget cppcms::base_form booster::noncopyable cppcms::form_flags

List of all members.

Public Member Functions

int rows ()
int cols ()
void rows (int n)
void cols (int n)
virtual void render_input (form_context &context)

Detailed Description

This text widget behaves similarly to the text widget but uses the textarea HTML tag rather than the input HTML tag.


Member Function Documentation

Get the number of columns in the textarea. The default is -1 -- undefined.

Set the number of columns in the textarea.

virtual void cppcms::widgets::textarea::render_input ( form_context context) [virtual]

This is a virtual member function that should be implemented by each widget. It executes the actual rendering of the HTML form.

Implements cppcms::widgets::base_widget.

Get the number of rows in the textarea. The default is -1 -- undefined.

Set the number of rows in the textarea.


The documentation for this class was generated from the following file: