CppCMS
|
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>
Public Member Functions | |
int | rows () |
int | cols () |
void | rows (int n) |
void | cols (int n) |
virtual void | render_input (form_context &context) |
This text widget behaves similarly to the text widget but uses the textarea
HTML tag rather than the input
HTML tag.
int cppcms::widgets::textarea::cols | ( | ) |
Get the number of columns in the textarea. The default is -1 -- undefined.
void cppcms::widgets::textarea::cols | ( | int | n | ) |
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.
int cppcms::widgets::textarea::rows | ( | ) |
Get the number of rows in the textarea. The default is -1 -- undefined.
void cppcms::widgets::textarea::rows | ( | int | n | ) |
Set the number of rows in the textarea.