wx.NativeFontInfo is platform-specific font representation: this class should be considered as an opaque font description only used by the native functions, the user code can only get the objects of this type from somewhere and pass it somewhere else (possibly save them somewhere using wx.ToString and restore them using wx.FromString )
See |
|
See |
|
See |
|
See |
|
See |
|
wx.
NativeFontInfo
(object)¶Possible constructors:
NativeFontInfo()
NativeFontInfo(info)
NativeFontInfo is platform-specific font representation: this class should be considered as an opaque font description only used by the native functions, the user code can only get the objects of this type from somewhere and pass it somewhere else (possibly save them somewhere using ToString() and restore them using FromString())
__init__
(self, *args, **kw)¶__init__ (self)
__init__ (self, info)
info (wx.NativeFontInfo) –
FromString
(self, s)¶s (string) –
bool
FromUserString
(self, s)¶s (string) –
bool
GetEncoding
(self)¶GetFaceName
(self)¶string
GetFamily
(self)¶GetFractionalPointSize
(self)¶float
GetNumericWeight
(self)¶int
GetPointSize
(self)¶int
GetStyle
(self)¶GetUnderlined
(self)¶bool
GetWeight
(self)¶Init
(self)¶SetEncoding
(self, encoding)¶encoding (FontEncoding) –
SetFaceName
(self, *args, **kw)¶SetFaceName (self, facename)
facename (string) –
bool
SetFaceName (self, facenames)
facenames (list of strings) –
SetFamily
(self, family)¶family (FontFamily) –
SetFractionalPointSize
(self, pointsize)¶pointsize (float) –
SetNumericWeight
(self, weight)¶weight (int) –
SetPointSize
(self, pointsize)¶pointsize (int) –
SetUnderlined
(self, underlined)¶underlined (bool) –
SetWeight
(self, weight)¶weight (FontWeight) –
ToString
(self)¶string
ToUserString
(self)¶string
__str__
(self)¶string
Encoding
¶See GetEncoding
and SetEncoding
FaceName
¶See GetFaceName
and SetFaceName
FractionalPointSize
¶NumericWeight
¶See GetNumericWeight
and SetNumericWeight
PointSize
¶See GetPointSize
and SetPointSize
Underlined
¶See GetUnderlined
and SetUnderlined