wx.NativeFontInfo¶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 )
Class Hierarchy¶
Inheritance diagram for class NativeFontInfo:
Methods Summary¶
Properties Summary¶See |
|
See |
|
See |
|
See |
|
Class API¶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)
__init__ (self, info)
info (wx.NativeFontInfo) –
s (string) –
bool
s (string) –
bool
string
int
bool
encoding (FontEncoding) –
SetFaceName (self, facename)
facename (string) –
bool
SetFaceName (self, facenames)
facenames (list of strings) –
family (FontFamily) –
pointsize (int) –
underlined (bool) –
weight (FontWeight) –
string
string
string
See GetEncoding and SetEncoding
See GetFaceName and SetFaceName
See GetPointSize and SetPointSize
See GetUnderlined and SetUnderlined