1wxFont(3)                  Erlang Module Definition                  wxFont(3)
2
3
4

NAME

6       wxFont - See external documentation: wxFont.
7

DESCRIPTION

9       See external documentation: wxFont.
10

DATA TYPES

12         wxFont():
13
14
15           An  object  reference,  The  representation  is internal and can be
16           changed without notice. It can't be used for comparsion  stored  on
17           disc or distributed for use on other nodes.
18

EXPORTS

20       new() -> wxFont()
21
22              See external documentation.
23
24       new(Fontname) -> wxFont()
25
26              Types:
27
28                 Fontname = unicode:chardata()
29
30              See external documentation.
31
32       new(Size, Family, Style, Weight) -> wxFont()
33
34              Types:
35
36                 Size = integer()
37                 Family = wx:wx_enum()
38                 Style = wx:wx_enum()
39                 Weight = integer()
40
41              Equivalent to new(Size, Family, Style, Weight, []).
42
43       new(Size, Family, Style, Weight, Options::[Option]) -> wxFont()
44
45              Types:
46
47                 Size = integer()
48                 Family = wx:wx_enum()
49                 Style = wx:wx_enum()
50                 Weight = integer()
51                 Option = {underlined, boolean()} | {face, unicode:chardata()}
52                 | {encoding, wx:wx_enum()}
53
54              See external documentation.
55              Encoding = ?wxFONTENCODING_SYSTEM  |  ?wxFONTENCODING_DEFAULT  |
56              ?wxFONTENCODING_ISO8859_1  |  ?wxFONTENCODING_ISO8859_2  |  ?wx‐
57              FONTENCODING_ISO8859_3  |   ?wxFONTENCODING_ISO8859_4   |   ?wx‐
58              FONTENCODING_ISO8859_5   |   ?wxFONTENCODING_ISO8859_6   |  ?wx‐
59              FONTENCODING_ISO8859_7  |   ?wxFONTENCODING_ISO8859_8   |   ?wx‐
60              FONTENCODING_ISO8859_9   |   ?wxFONTENCODING_ISO8859_10  |  ?wx‐
61              FONTENCODING_ISO8859_11  |  ?wxFONTENCODING_ISO8859_12  |   ?wx‐
62              FONTENCODING_ISO8859_13   |  ?wxFONTENCODING_ISO8859_14  |  ?wx‐
63              FONTENCODING_ISO8859_15  |  ?wxFONTENCODING_ISO8859_MAX  |  ?wx‐
64              FONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_AL‐
65              TERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437  |
66              ?wxFONTENCODING_CP850  |  ?wxFONTENCODING_CP852  | ?wxFONTENCOD‐
67              ING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wx‐
68              FONTENCODING_CP932   |   ?wxFONTENCODING_CP936  |  ?wxFONTENCOD‐
69              ING_CP949 |  ?wxFONTENCODING_CP950  |  ?wxFONTENCODING_CP1250  |
70              ?wxFONTENCODING_CP1251  | ?wxFONTENCODING_CP1252 | ?wxFONTENCOD‐
71              ING_CP1253 | ?wxFONTENCODING_CP1254 |  ?wxFONTENCODING_CP1255  |
72              ?wxFONTENCODING_CP1256  | ?wxFONTENCODING_CP1257 | ?wxFONTENCOD‐
73              ING_CP12_MAX |  ?wxFONTENCODING_UTF7  |  ?wxFONTENCODING_UTF8  |
74              ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCOD‐
75              ING_UTF16LE | ?wxFONTENCODING_UTF32BE |  ?wxFONTENCODING_UTF32LE
76              |  ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wx‐
77              FONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN  |  ?wx‐
78              FONTENCODING_MACARABIC   |   ?wxFONTENCODING_MACHEBREW   |  ?wx‐
79              FONTENCODING_MACGREEK  |  ?wxFONTENCODING_MACCYRILLIC   |   ?wx‐
80              FONTENCODING_MACDEVANAGARI  | ?wxFONTENCODING_MACGURMUKHI | ?wx‐
81              FONTENCODING_MACGUJARATI  |  ?wxFONTENCODING_MACORIYA   |   ?wx‐
82              FONTENCODING_MACBENGALI   |   ?wxFONTENCODING_MACTAMIL   |  ?wx‐
83              FONTENCODING_MACTELUGU  |  ?wxFONTENCODING_MACKANNADA   |   ?wx‐
84              FONTENCODING_MACMALAJALAM  | ?wxFONTENCODING_MACSINHALESE | ?wx‐
85              FONTENCODING_MACBURMESE  |   ?wxFONTENCODING_MACKHMER   |   ?wx‐
86              FONTENCODING_MACTHAI   |   ?wxFONTENCODING_MACLAOTIAN   |   ?wx‐
87              FONTENCODING_MACGEORGIAN |  ?wxFONTENCODING_MACARMENIAN  |  ?wx‐
88              FONTENCODING_MACCHINESESIMP  | ?wxFONTENCODING_MACTIBETAN | ?wx‐
89              FONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC  |  ?wx‐
90              FONTENCODING_MACCENTRALEUR   |  ?wxFONTENCODING_MACVIATNAMESE  |
91              ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL |  ?wx‐
92              FONTENCODING_MACDINGBATS  |  ?wxFONTENCODING_MACTURKISH  |  ?wx‐
93              FONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC  |  ?wx‐
94              FONTENCODING_MACROMANIAN   |  ?wxFONTENCODING_MACCELTIC  |  ?wx‐
95              FONTENCODING_MACGAELIC  |  ?wxFONTENCODING_MACKEYBOARD  |   ?wx‐
96              FONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MAC‐
97              MAX  |  ?wxFONTENCODING_UTF16  |  ?wxFONTENCODING_UTF32  |  ?wx‐
98              FONTENCODING_UNICODE  |  ?wxFONTENCODING_GB2312  | ?wxFONTENCOD‐
99              ING_BIG5 | ?wxFONTENCODING_SHIFT_JIS
100              Family = ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE | ?wx‐
101              FONTFAMILY_ROMAN  | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS |
102              ?wxFONTFAMILY_MODERN  |  ?wxFONTFAMILY_TELETYPE  |   ?wxFONTFAM‐
103              ILY_MAX | ?wxFONTFAMILY_UNKNOWN
104              Style   =   ?wxFONTSTYLE_NORMAL  |  ?wxFONTSTYLE_ITALIC  |  ?wx‐
105              FONTSTYLE_SLANT | ?wxFONTSTYLE_MAX
106
107       isFixedWidth(This) -> boolean()
108
109              Types:
110
111                 This = wxFont()
112
113              See external documentation.
114
115       getDefaultEncoding() -> wx:wx_enum()
116
117              See external documentation.
118              Res = ?wxFONTENCODING_SYSTEM |  ?wxFONTENCODING_DEFAULT  |  ?wx‐
119              FONTENCODING_ISO8859_1   |   ?wxFONTENCODING_ISO8859_2   |  ?wx‐
120              FONTENCODING_ISO8859_3  |   ?wxFONTENCODING_ISO8859_4   |   ?wx‐
121              FONTENCODING_ISO8859_5   |   ?wxFONTENCODING_ISO8859_6   |  ?wx‐
122              FONTENCODING_ISO8859_7  |   ?wxFONTENCODING_ISO8859_8   |   ?wx‐
123              FONTENCODING_ISO8859_9   |   ?wxFONTENCODING_ISO8859_10  |  ?wx‐
124              FONTENCODING_ISO8859_11  |  ?wxFONTENCODING_ISO8859_12  |   ?wx‐
125              FONTENCODING_ISO8859_13   |  ?wxFONTENCODING_ISO8859_14  |  ?wx‐
126              FONTENCODING_ISO8859_15  |  ?wxFONTENCODING_ISO8859_MAX  |  ?wx‐
127              FONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_AL‐
128              TERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437  |
129              ?wxFONTENCODING_CP850  |  ?wxFONTENCODING_CP852  | ?wxFONTENCOD‐
130              ING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wx‐
131              FONTENCODING_CP932   |   ?wxFONTENCODING_CP936  |  ?wxFONTENCOD‐
132              ING_CP949 |  ?wxFONTENCODING_CP950  |  ?wxFONTENCODING_CP1250  |
133              ?wxFONTENCODING_CP1251  | ?wxFONTENCODING_CP1252 | ?wxFONTENCOD‐
134              ING_CP1253 | ?wxFONTENCODING_CP1254 |  ?wxFONTENCODING_CP1255  |
135              ?wxFONTENCODING_CP1256  | ?wxFONTENCODING_CP1257 | ?wxFONTENCOD‐
136              ING_CP12_MAX |  ?wxFONTENCODING_UTF7  |  ?wxFONTENCODING_UTF8  |
137              ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCOD‐
138              ING_UTF16LE | ?wxFONTENCODING_UTF32BE |  ?wxFONTENCODING_UTF32LE
139              |  ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wx‐
140              FONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN  |  ?wx‐
141              FONTENCODING_MACARABIC   |   ?wxFONTENCODING_MACHEBREW   |  ?wx‐
142              FONTENCODING_MACGREEK  |  ?wxFONTENCODING_MACCYRILLIC   |   ?wx‐
143              FONTENCODING_MACDEVANAGARI  | ?wxFONTENCODING_MACGURMUKHI | ?wx‐
144              FONTENCODING_MACGUJARATI  |  ?wxFONTENCODING_MACORIYA   |   ?wx‐
145              FONTENCODING_MACBENGALI   |   ?wxFONTENCODING_MACTAMIL   |  ?wx‐
146              FONTENCODING_MACTELUGU  |  ?wxFONTENCODING_MACKANNADA   |   ?wx‐
147              FONTENCODING_MACMALAJALAM  | ?wxFONTENCODING_MACSINHALESE | ?wx‐
148              FONTENCODING_MACBURMESE  |   ?wxFONTENCODING_MACKHMER   |   ?wx‐
149              FONTENCODING_MACTHAI   |   ?wxFONTENCODING_MACLAOTIAN   |   ?wx‐
150              FONTENCODING_MACGEORGIAN |  ?wxFONTENCODING_MACARMENIAN  |  ?wx‐
151              FONTENCODING_MACCHINESESIMP  | ?wxFONTENCODING_MACTIBETAN | ?wx‐
152              FONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC  |  ?wx‐
153              FONTENCODING_MACCENTRALEUR   |  ?wxFONTENCODING_MACVIATNAMESE  |
154              ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL |  ?wx‐
155              FONTENCODING_MACDINGBATS  |  ?wxFONTENCODING_MACTURKISH  |  ?wx‐
156              FONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC  |  ?wx‐
157              FONTENCODING_MACROMANIAN   |  ?wxFONTENCODING_MACCELTIC  |  ?wx‐
158              FONTENCODING_MACGAELIC  |  ?wxFONTENCODING_MACKEYBOARD  |   ?wx‐
159              FONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MAC‐
160              MAX  |  ?wxFONTENCODING_UTF16  |  ?wxFONTENCODING_UTF32  |  ?wx‐
161              FONTENCODING_UNICODE  |  ?wxFONTENCODING_GB2312  | ?wxFONTENCOD‐
162              ING_BIG5 | ?wxFONTENCODING_SHIFT_JIS
163
164       getFaceName(This) -> unicode:charlist()
165
166              Types:
167
168                 This = wxFont()
169
170              See external documentation.
171
172       getFamily(This) -> wx:wx_enum()
173
174              Types:
175
176                 This = wxFont()
177
178              See external documentation.
179              Res = ?wxFONTFAMILY_DEFAULT |  ?wxFONTFAMILY_DECORATIVE  |  ?wx‐
180              FONTFAMILY_ROMAN  | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS |
181              ?wxFONTFAMILY_MODERN  |  ?wxFONTFAMILY_TELETYPE  |   ?wxFONTFAM‐
182              ILY_MAX | ?wxFONTFAMILY_UNKNOWN
183
184       getNativeFontInfoDesc(This) -> unicode:charlist()
185
186              Types:
187
188                 This = wxFont()
189
190              See external documentation.
191
192       getNativeFontInfoUserDesc(This) -> unicode:charlist()
193
194              Types:
195
196                 This = wxFont()
197
198              See external documentation.
199
200       getPointSize(This) -> integer()
201
202              Types:
203
204                 This = wxFont()
205
206              See external documentation.
207
208       getStyle(This) -> wx:wx_enum()
209
210              Types:
211
212                 This = wxFont()
213
214              See external documentation.
215              Res   =   ?wxFONTSTYLE_NORMAL   |   ?wxFONTSTYLE_ITALIC  |  ?wx‐
216              FONTSTYLE_SLANT | ?wxFONTSTYLE_MAX
217
218       getUnderlined(This) -> boolean()
219
220              Types:
221
222                 This = wxFont()
223
224              See external documentation.
225
226       getWeight(This) -> integer()
227
228              Types:
229
230                 This = wxFont()
231
232              See external documentation.
233
234       ok(This) -> boolean()
235
236              Types:
237
238                 This = wxFont()
239
240              See external documentation.
241
242       setDefaultEncoding(Encoding) -> ok
243
244              Types:
245
246                 Encoding = wx:wx_enum()
247
248              See external documentation.
249              Encoding = ?wxFONTENCODING_SYSTEM  |  ?wxFONTENCODING_DEFAULT  |
250              ?wxFONTENCODING_ISO8859_1  |  ?wxFONTENCODING_ISO8859_2  |  ?wx‐
251              FONTENCODING_ISO8859_3  |   ?wxFONTENCODING_ISO8859_4   |   ?wx‐
252              FONTENCODING_ISO8859_5   |   ?wxFONTENCODING_ISO8859_6   |  ?wx‐
253              FONTENCODING_ISO8859_7  |   ?wxFONTENCODING_ISO8859_8   |   ?wx‐
254              FONTENCODING_ISO8859_9   |   ?wxFONTENCODING_ISO8859_10  |  ?wx‐
255              FONTENCODING_ISO8859_11  |  ?wxFONTENCODING_ISO8859_12  |   ?wx‐
256              FONTENCODING_ISO8859_13   |  ?wxFONTENCODING_ISO8859_14  |  ?wx‐
257              FONTENCODING_ISO8859_15  |  ?wxFONTENCODING_ISO8859_MAX  |  ?wx‐
258              FONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_AL‐
259              TERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437  |
260              ?wxFONTENCODING_CP850  |  ?wxFONTENCODING_CP852  | ?wxFONTENCOD‐
261              ING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wx‐
262              FONTENCODING_CP932   |   ?wxFONTENCODING_CP936  |  ?wxFONTENCOD‐
263              ING_CP949 |  ?wxFONTENCODING_CP950  |  ?wxFONTENCODING_CP1250  |
264              ?wxFONTENCODING_CP1251  | ?wxFONTENCODING_CP1252 | ?wxFONTENCOD‐
265              ING_CP1253 | ?wxFONTENCODING_CP1254 |  ?wxFONTENCODING_CP1255  |
266              ?wxFONTENCODING_CP1256  | ?wxFONTENCODING_CP1257 | ?wxFONTENCOD‐
267              ING_CP12_MAX |  ?wxFONTENCODING_UTF7  |  ?wxFONTENCODING_UTF8  |
268              ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCOD‐
269              ING_UTF16LE | ?wxFONTENCODING_UTF32BE |  ?wxFONTENCODING_UTF32LE
270              |  ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wx‐
271              FONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN  |  ?wx‐
272              FONTENCODING_MACARABIC   |   ?wxFONTENCODING_MACHEBREW   |  ?wx‐
273              FONTENCODING_MACGREEK  |  ?wxFONTENCODING_MACCYRILLIC   |   ?wx‐
274              FONTENCODING_MACDEVANAGARI  | ?wxFONTENCODING_MACGURMUKHI | ?wx‐
275              FONTENCODING_MACGUJARATI  |  ?wxFONTENCODING_MACORIYA   |   ?wx‐
276              FONTENCODING_MACBENGALI   |   ?wxFONTENCODING_MACTAMIL   |  ?wx‐
277              FONTENCODING_MACTELUGU  |  ?wxFONTENCODING_MACKANNADA   |   ?wx‐
278              FONTENCODING_MACMALAJALAM  | ?wxFONTENCODING_MACSINHALESE | ?wx‐
279              FONTENCODING_MACBURMESE  |   ?wxFONTENCODING_MACKHMER   |   ?wx‐
280              FONTENCODING_MACTHAI   |   ?wxFONTENCODING_MACLAOTIAN   |   ?wx‐
281              FONTENCODING_MACGEORGIAN |  ?wxFONTENCODING_MACARMENIAN  |  ?wx‐
282              FONTENCODING_MACCHINESESIMP  | ?wxFONTENCODING_MACTIBETAN | ?wx‐
283              FONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC  |  ?wx‐
284              FONTENCODING_MACCENTRALEUR   |  ?wxFONTENCODING_MACVIATNAMESE  |
285              ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL |  ?wx‐
286              FONTENCODING_MACDINGBATS  |  ?wxFONTENCODING_MACTURKISH  |  ?wx‐
287              FONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC  |  ?wx‐
288              FONTENCODING_MACROMANIAN   |  ?wxFONTENCODING_MACCELTIC  |  ?wx‐
289              FONTENCODING_MACGAELIC  |  ?wxFONTENCODING_MACKEYBOARD  |   ?wx‐
290              FONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MAC‐
291              MAX  |  ?wxFONTENCODING_UTF16  |  ?wxFONTENCODING_UTF32  |  ?wx‐
292              FONTENCODING_UNICODE  |  ?wxFONTENCODING_GB2312  | ?wxFONTENCOD‐
293              ING_BIG5 | ?wxFONTENCODING_SHIFT_JIS
294
295       setFaceName(This, FaceName) -> boolean()
296
297              Types:
298
299                 This = wxFont()
300                 FaceName = unicode:chardata()
301
302              See external documentation.
303
304       setFamily(This, Family) -> ok
305
306              Types:
307
308                 This = wxFont()
309                 Family = wx:wx_enum()
310
311              See external documentation.
312              Family = ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE | ?wx‐
313              FONTFAMILY_ROMAN  | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS |
314              ?wxFONTFAMILY_MODERN  |  ?wxFONTFAMILY_TELETYPE  |   ?wxFONTFAM‐
315              ILY_MAX | ?wxFONTFAMILY_UNKNOWN
316
317       setPointSize(This, PointSize) -> ok
318
319              Types:
320
321                 This = wxFont()
322                 PointSize = integer()
323
324              See external documentation.
325
326       setStyle(This, Style) -> ok
327
328              Types:
329
330                 This = wxFont()
331                 Style = wx:wx_enum()
332
333              See external documentation.
334              Style   =   ?wxFONTSTYLE_NORMAL  |  ?wxFONTSTYLE_ITALIC  |  ?wx‐
335              FONTSTYLE_SLANT | ?wxFONTSTYLE_MAX
336
337       setUnderlined(This, Underlined) -> ok
338
339              Types:
340
341                 This = wxFont()
342                 Underlined = boolean()
343
344              See external documentation.
345
346       setWeight(This, Weight) -> ok
347
348              Types:
349
350                 This = wxFont()
351                 Weight = integer()
352
353              See external documentation.
354
355       destroy(This::wxFont()) -> ok
356
357              Destroys this object, do not use object again
358

AUTHORS

360       <>
361
362
363
364                                  wx 1.9.3.1                         wxFont(3)
Impressum