new_ml_text_label, ml_text_label_set_text_align, ml_text_label_set_font_weight, ml_text_label_set_font_size, ml_text_label_set_text - monolith text label widget |
#include <ml_text_label.h> ml_text_label new_ml_text_label (pool, const char *text); void ml_text_label_set_text_align (ml_text_label, const char *); void ml_text_label_set_font_weight (ml_text_label, const char *); void ml_text_label_set_font_size (ml_text_label, const char *); void ml_text_label_set_text (ml_text_label, const char *); |
Text labels are simple strings or paragraphs of text. Unlike the ml_label widget, HTML sequences are escaped before being sent to the browser, so ml_text_labels can contain <, >, & and so on and these will be displayed correctly. |
Text labels allow control over the style, size and other aspects of how the text appears. |
new_ml_text_label creates a new text label widget. |
ml_text_label_set_text_align sets the text-align style of the text label. Common alignments are "left", "right" and "justify". |
ml_text_label_set_font_weight sets the font-weight style of the text label. Common weights are "normal" and "bold". |
ml_text_label_set_font_size sets the font-size style of the text label. Common sizes are "small", "medium" and "large". |
ml_text_label_(set|get)_text updates the text displayed on the label. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
monolith-1.0.0 |
new_ml_widget(3), W3C CSS2 recommendation. |