wxFont(3erl) | Erlang Module Definition | wxFont(3erl) |
wxFont - See external documentation: wxFont.
See external documentation: wxFont.
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.
new() -> wxFont()
See external documentation.
new(Fontname) -> wxFont()
Types:
See external documentation.
new(Size, Family, Style, Weight) -> wxFont()
Types:
Equivalent to new(Size, Family, Style, Weight, []).
new(Size, Family, Style, Weight, Options::[Option]) ->
wxFont()
Types:
See external documentation.
Encoding = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT |
?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 |
?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 |
?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 |
?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 |
?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 |
?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 |
?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 |
?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX |
?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE
| ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850
| ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 |
?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 |
?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 |
?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 |
?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 |
?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 |
?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE |
?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE
| ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE |
?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN |
?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW |
?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC |
?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI |
?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA |
?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL |
?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA |
?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE |
?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER |
?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN |
?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN |
?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN |
?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC |
?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE |
?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL |
?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH |
?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC |
?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC |
?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD |
?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX |
?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE |
?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS
Family = ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE |
?wxFONTFAMILY_ROMAN | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS |
?wxFONTFAMILY_MODERN | ?wxFONTFAMILY_TELETYPE | ?wxFONTFAMILY_MAX |
?wxFONTFAMILY_UNKNOWN
Style = ?wxFONTSTYLE_NORMAL | ?wxFONTSTYLE_ITALIC | ?wxFONTSTYLE_SLANT |
?wxFONTSTYLE_MAX
isFixedWidth(This) -> boolean()
Types:
See external documentation.
getDefaultEncoding() -> wx:wx_enum()
See external documentation.
Res = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT |
?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 |
?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 |
?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 |
?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 |
?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 |
?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 |
?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 |
?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX |
?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE
| ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850
| ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 |
?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 |
?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 |
?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 |
?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 |
?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 |
?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE |
?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE
| ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE |
?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN |
?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW |
?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC |
?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI |
?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA |
?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL |
?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA |
?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE |
?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER |
?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN |
?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN |
?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN |
?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC |
?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE |
?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL |
?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH |
?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC |
?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC |
?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD |
?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX |
?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE |
?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 |
?wxFONTENCODING_SHIFT_JIS
getFaceName(This) -> unicode:charlist()
Types:
See external documentation.
getFamily(This) -> wx:wx_enum()
Types:
See external documentation.
Res = ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE | ?wxFONTFAMILY_ROMAN |
?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS | ?wxFONTFAMILY_MODERN |
?wxFONTFAMILY_TELETYPE | ?wxFONTFAMILY_MAX | ?wxFONTFAMILY_UNKNOWN
getNativeFontInfoDesc(This) -> unicode:charlist()
Types:
See external documentation.
getNativeFontInfoUserDesc(This) ->
unicode:charlist()
Types:
See external documentation.
getPointSize(This) -> integer()
Types:
See external documentation.
getStyle(This) -> wx:wx_enum()
Types:
See external documentation.
Res = ?wxFONTSTYLE_NORMAL | ?wxFONTSTYLE_ITALIC | ?wxFONTSTYLE_SLANT |
?wxFONTSTYLE_MAX
getUnderlined(This) -> boolean()
Types:
See external documentation.
getWeight(This) -> integer()
Types:
See external documentation.
ok(This) -> boolean()
Types:
See external documentation.
setDefaultEncoding(Encoding) -> ok
Types:
See external documentation.
Encoding = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT |
?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 |
?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 |
?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 |
?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 |
?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 |
?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 |
?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 |
?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX |
?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE
| ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850
| ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 |
?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 |
?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 |
?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 |
?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 |
?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 |
?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE |
?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE
| ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE |
?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN |
?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW |
?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC |
?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI |
?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA |
?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL |
?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA |
?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE |
?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER |
?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN |
?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN |
?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN |
?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC |
?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE |
?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL |
?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH |
?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC |
?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC |
?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD |
?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX |
?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE |
?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 |
?wxFONTENCODING_SHIFT_JIS
setFaceName(This, FaceName) -> boolean()
Types:
See external documentation.
setFamily(This, Family) -> ok
Types:
See external documentation.
Family = ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE |
?wxFONTFAMILY_ROMAN | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS |
?wxFONTFAMILY_MODERN | ?wxFONTFAMILY_TELETYPE | ?wxFONTFAMILY_MAX |
?wxFONTFAMILY_UNKNOWN
setPointSize(This, PointSize) -> ok
Types:
See external documentation.
setStyle(This, Style) -> ok
Types:
See external documentation.
Style = ?wxFONTSTYLE_NORMAL | ?wxFONTSTYLE_ITALIC | ?wxFONTSTYLE_SLANT |
?wxFONTSTYLE_MAX
setUnderlined(This, Underlined) -> ok
Types:
See external documentation.
setWeight(This, Weight) -> ok
Types:
See external documentation.
destroy(This::wxFont()) -> ok
Destroys this object, do not use object again
<>
wx 1.8.6 |