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
Class API
-
class
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())
Methods
-
__init__
(self, *args, **kw)
Overloaded Implementations:
__init__ (self)
__init__ (self, info)
-
FromString
(self, s)
Parameters: | s (string) – |
Return type: | bool |
-
FromUserString
(self, s)
Parameters: | s (string) – |
Return type: | bool |
-
GetEncoding
(self)
-
-
GetFaceName
(self)
-
-
GetFamily
(self)
-
-
GetPointSize
(self)
-
-
GetStyle
(self)
-
-
GetUnderlined
(self)
-
-
GetWeight
(self)
-
-
Init
(self)
-
InitFromFont
(self, font)
-
-
SetEncoding
(self, encoding)
-
-
SetFaceName
(self, *args, **kw)
Overloaded Implementations:
SetFaceName (self, facename)
Parameters: | facename (string) – |
Return type: | bool |
SetFaceName (self, facenames)
Parameters: | facenames (list of strings) – |
-
SetFamily
(self, family)
-
-
SetPointSize
(self, pointsize)
Parameters: | pointsize (int) – |
-
SetStyle
(self, style)
-
-
SetUnderlined
(self, underlined)
Parameters: | underlined (bool) – |
-
SetWeight
(self, weight)
-
-
ToString
(self)
-
-
ToUserString
(self)
-
-
__str__
(self)
-
Properties
-
Encoding
See GetEncoding
and SetEncoding
-
FaceName
See GetFaceName
and SetFaceName
-
Family
See GetFamily
and SetFamily
-
PointSize
See GetPointSize
and SetPointSize
-
Style
See GetStyle
and SetStyle
-
Underlined
See GetUnderlined
and SetUnderlined
-
Weight
See GetWeight
and SetWeight