Add to git.
[monolith.git] / doc / ml_text_label_set_text_align.3.html
1 <html>
2 <head>
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>
6 </head>
7 <body>
8
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>
17
18 <hr>
19 <!-- Creator     : groff version 1.17.2 -->
20 <!-- CreationDate: Sat Aug 31 18:06:07 2002 -->
21 <a name="NAME"></a>
22 <h2>NAME</h2>
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>
29 <h2>SYNOPSIS</h2>
30
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 &lt;ml_text_label.h&gt;
36
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>
44 <h2>DESCRIPTION</h2>
45
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>&lt;</b>, <b>&gt;</b>, <b>&amp;</b> and so on
54 and these will be displayed correctly.</td></table>
55
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>
62
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
68 widget.</td></table>
69
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>&quot;left&quot;</b>, <b>&quot;right&quot;</b> and
77 <b>&quot;justify&quot;</b>.</td></table>
78
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>&quot;normal&quot;</b> and
86 <b>&quot;bold&quot;</b>.</td></table>
87
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>&quot;small&quot;</b>, <b>&quot;medium&quot;</b> and
95 <b>&quot;large&quot;</b>.</td></table>
96
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>
104 <h2>AUTHOR</h2>
105
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 &lt;rich@annexia.org&gt;</td></table>
111 <a name="LICENSE"></a>
112 <h2>LICENSE</h2>
113
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>
120 <h2>VERSION</h2>
121
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>
128 <h2>SEE ALSO</h2>
129
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>
136 <hr>
137 </body>
138 </html>