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() -> None
NativeFontInfo(info : NativeFontInfo) -> None
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)
None
__init__ (self, info : NativeFontInfo)
info (wx.NativeFontInfo) –
None
FromString
(self, s : str)¶s (string) –
bool
FromUserString
(self, s : str)¶s (string) –
bool
GetEncoding
(self)¶GetFaceName
(self)¶str
GetFamily
(self)¶GetFractionalPointSize
(self)¶float
GetNumericWeight
(self)¶int
GetPointSize
(self)¶int
GetStyle
(self)¶GetUnderlined
(self)¶bool
GetWeight
(self)¶Init
(self)¶None
SetEncoding
(self, encoding : FontEncoding)¶encoding (FontEncoding) –
None
SetFaceName
(self, *args, **kw)¶SetFaceName (self, facename : str)
facename (string) –
bool
SetFaceName (self, facenames : List[str])
facenames (list of strings) –
None
SetFamily
(self, family : FontFamily)¶family (FontFamily) –
None
SetFractionalPointSize
(self, pointsize : float)¶pointsize (float) –
None
SetNumericWeight
(self, weight : int)¶weight (int) –
None
SetPointSize
(self, pointsize : int)¶pointsize (int) –
None
SetUnderlined
(self, underlined : bool)¶underlined (bool) –
None
SetWeight
(self, weight : FontWeight)¶weight (FontWeight) –
None
ToString
(self)¶str
ToUserString
(self)¶str
__str__
(self)¶str
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