3 <meta name="generator" content="groff -Thtml, see www.gnu.org">
4 <meta name="Content-Style" content="text/css">
5 <title>new_ml_text_label</title>
9 <h1 align=center>new_ml_text_label</h1>
10 <a href="#NAME">NAME</a><br>
11 <a href="#SYNOPSIS">SYNOPSIS</a><br>
12 <a href="#DESCRIPTION">DESCRIPTION</a><br>
13 <a href="#AUTHOR">AUTHOR</a><br>
14 <a href="#LICENSE">LICENSE</a><br>
15 <a href="#VERSION">VERSION</a><br>
16 <a href="#SEE ALSO">SEE ALSO</a><br>
19 <!-- Creator : groff version 1.17.2 -->
20 <!-- CreationDate: Sat Aug 31 18:06:07 2002 -->
23 <table width="100%" border=0 rules="none" frame="void"
24 cols="2" cellspacing="0" cellpadding="0">
25 <tr valign="top" align="left">
26 <td width="10%"></td><td width="90%">
27 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</td></table>
28 <a name="SYNOPSIS"></a>
31 <table width="100%" border=0 rules="none" frame="void"
32 cols="2" cellspacing="0" cellpadding="0">
33 <tr valign="top" align="left">
34 <td width="10%"></td><td width="90%">
35 <pre><b>#include <ml_text_label.h>
37 ml_text_label new_ml_text_label (pool, const char *text);
38 void ml_text_label_set_text_align (ml_text_label, const char *);
39 void ml_text_label_set_font_weight (ml_text_label, const char *);
40 void ml_text_label_set_font_size (ml_text_label, const char *);
41 void ml_text_label_set_text (ml_text_label, const char *);
42 </b></pre></td></table>
43 <a name="DESCRIPTION"></a>
46 <table width="100%" border=0 rules="none" frame="void"
47 cols="2" cellspacing="0" cellpadding="0">
48 <tr valign="top" align="left">
49 <td width="10%"></td><td width="90%">
50 Text labels are simple strings or paragraphs of text. Unlike
51 the <b>ml_label</b> widget, HTML sequences are escaped
52 before being sent to the browser, so <b>ml_text_label</b>s
53 can contain <b><</b>, <b>></b>, <b>&</b> and so on
54 and these will be displayed correctly.</td></table>
56 <table width="100%" border=0 rules="none" frame="void"
57 cols="2" cellspacing="0" cellpadding="0">
58 <tr valign="top" align="left">
59 <td width="10%"></td><td width="90%">
60 Text labels allow control over the style, size and other
61 aspects of how the text appears.</td></table>
63 <table width="100%" border=0 rules="none" frame="void"
64 cols="2" cellspacing="0" cellpadding="0">
65 <tr valign="top" align="left">
66 <td width="10%"></td><td width="90%">
67 <b>new_ml_text_label</b> creates a new text label
70 <table width="100%" border=0 rules="none" frame="void"
71 cols="2" cellspacing="0" cellpadding="0">
72 <tr valign="top" align="left">
73 <td width="10%"></td><td width="90%">
74 <b>ml_text_label_set_text_align</b> sets the text-align
75 style of the text label. Common alignments are
76 <b>"left"</b>, <b>"right"</b> and
77 <b>"justify"</b>.</td></table>
79 <table width="100%" border=0 rules="none" frame="void"
80 cols="2" cellspacing="0" cellpadding="0">
81 <tr valign="top" align="left">
82 <td width="10%"></td><td width="90%">
83 <b>ml_text_label_set_font_weight</b> sets the font-weight
84 style of the text label. Common weights are
85 <b>"normal"</b> and
86 <b>"bold"</b>.</td></table>
88 <table width="100%" border=0 rules="none" frame="void"
89 cols="2" cellspacing="0" cellpadding="0">
90 <tr valign="top" align="left">
91 <td width="10%"></td><td width="90%">
92 <b>ml_text_label_set_font_size</b> sets the font-size style
93 of the text label. Common sizes are
94 <b>"small"</b>, <b>"medium"</b> and
95 <b>"large"</b>.</td></table>
97 <table width="100%" border=0 rules="none" frame="void"
98 cols="2" cellspacing="0" cellpadding="0">
99 <tr valign="top" align="left">
100 <td width="10%"></td><td width="90%">
101 <b>ml_text_label_(set|get)_text</b> updates the text
102 displayed on the label.</td></table>
103 <a name="AUTHOR"></a>
106 <table width="100%" border=0 rules="none" frame="void"
107 cols="2" cellspacing="0" cellpadding="0">
108 <tr valign="top" align="left">
109 <td width="10%"></td><td width="90%">
110 Richard Jones <rich@annexia.org></td></table>
111 <a name="LICENSE"></a>
114 <table width="100%" border=0 rules="none" frame="void"
115 cols="2" cellspacing="0" cellpadding="0">
116 <tr valign="top" align="left">
117 <td width="10%"></td><td width="90%">
118 GNU LGPL (see http://www.gnu.org/)</td></table>
119 <a name="VERSION"></a>
122 <table width="100%" border=0 rules="none" frame="void"
123 cols="2" cellspacing="0" cellpadding="0">
124 <tr valign="top" align="left">
125 <td width="10%"></td><td width="90%">
126 monolith-1.0.0</td></table>
127 <a name="SEE ALSO"></a>
130 <table width="100%" border=0 rules="none" frame="void"
131 cols="2" cellspacing="0" cellpadding="0">
132 <tr valign="top" align="left">
133 <td width="10%"></td><td width="90%">
134 <b>new_ml_widget(3)</b>, W3C CSS2
135 recommendation.</td></table>