phoenix_title 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 Class Hierarchy

Inheritance diagram for class NativeFontInfo:

method_summary Methods Summary

__init__

FromString

FromUserString

GetEncoding

GetFaceName

GetFamily

GetFractionalPointSize

GetNumericWeight

GetPointSize

GetStyle

GetUnderlined

GetWeight

Init

InitFromFont

SetEncoding

SetFaceName

SetFamily

SetFractionalPointSize

SetNumericWeight

SetPointSize

SetStyle

SetUnderlined

SetWeight

ToString

ToUserString

__str__


property_summary Properties Summary

Encoding

See GetEncoding and SetEncoding

FaceName

See GetFaceName and SetFaceName

Family

See GetFamily and SetFamily

FractionalPointSize

See GetFractionalPointSize and SetFractionalPointSize

NumericWeight

See GetNumericWeight and SetNumericWeight

PointSize

See GetPointSize and SetPointSize

Style

See GetStyle and SetStyle

Underlined

See GetUnderlined and SetUnderlined

Weight

See GetWeight and SetWeight


api Class API

class 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())


Methods

__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)

Return type:

None



__init__ (self, info : NativeFontInfo)

Parameters:

info (wx.NativeFontInfo) –

Return type:

None





FromString(self, s : str)
Parameters:

s (string) –

Return type:

bool



FromUserString(self, s : str)
Parameters:

s (string) –

Return type:

bool



GetEncoding(self)
Return type:

wx.FontEncoding



GetFaceName(self)
Return type:

str



GetFamily(self)
Return type:

wx.FontFamily



GetFractionalPointSize(self)
Return type:

float



GetNumericWeight(self)
Return type:

int



GetPointSize(self)
Return type:

int



GetStyle(self)
Return type:

wx.FontStyle



GetUnderlined(self)
Return type:

bool



GetWeight(self)
Return type:

wx.FontWeight



Init(self)
Return type:

None



InitFromFont(self, font : Font)
Parameters:

font (wx.Font) –

Return type:

None



SetEncoding(self, encoding : FontEncoding)
Parameters:

encoding (FontEncoding) –

Return type:

None



SetFaceName(self, *args, **kw)

overload Overloaded Implementations:



SetFaceName (self, facename : str)

Parameters:

facename (string) –

Return type:

bool



SetFaceName (self, facenames : List[str])

Parameters:

facenames (list of strings) –

Return type:

None





SetFamily(self, family : FontFamily)
Parameters:

family (FontFamily) –

Return type:

None



SetFractionalPointSize(self, pointsize : float)
Parameters:

pointsize (float) –

Return type:

None



SetNumericWeight(self, weight : int)
Parameters:

weight (int) –

Return type:

None



SetPointSize(self, pointsize : int)
Parameters:

pointsize (int) –

Return type:

None



SetStyle(self, style : FontStyle)
Parameters:

style (FontStyle) –

Return type:

None



SetUnderlined(self, underlined : bool)
Parameters:

underlined (bool) –

Return type:

None



SetWeight(self, weight : FontWeight)
Parameters:

weight (FontWeight) –

Return type:

None



ToString(self)
Return type:

str



ToUserString(self)
Return type:

str



__str__(self)
Return type:

str


Properties

Encoding

See GetEncoding and SetEncoding



FaceName

See GetFaceName and SetFaceName



Family

See GetFamily and SetFamily



FractionalPointSize

See GetFractionalPointSize and SetFractionalPointSize



NumericWeight

See GetNumericWeight and SetNumericWeight



PointSize

See GetPointSize and SetPointSize



Style

See GetStyle and SetStyle



Underlined

See GetUnderlined and SetUnderlined



Weight

See GetWeight and SetWeight