new_ml_label

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

new_ml_label, ml_label_set_text, ml_label_get_text - monolith label widget

SYNOPSIS

#include <ml_label.h>

ml_label new_ml_label (pool pool, const char *text);
void ml_label_set_text (ml_label, const char *text);
const char *ml_label_get_text (ml_label);

DESCRIPTION

A label widget is a generic piece of HTML.
new_ml_label creates a new label widget.
ml_label_(set|get)_text updates the HTML associated with the label. Note that the text string must be either static, or already allocated in the label's pool, or allocated in a pool with a longer lifetime than the label. If the text is set to NULL then this has the same effect as setting the text to the empty string.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

monolith-1.0.0