What is the difference between wx.Font and wx.FFont?

I’ve seen examples of both wx.Font and wx.FFont being used. Is there a difference between the two?

Sorry I should have read the documentation

http://wxpython.org/docs/api/wx-module.html#FFont

A bit of a simpler way to create a wx.Font using flags instead of individual attribute settings. The value of flags can be a combination of the following:

···

On Saturday, February 15, 2014 3:30:28 PM UTC-5, RedHotChiliPepper wrote:

I’ve seen examples of both wx.Font and wx.FFont being used. Is there a difference between the two?

I once had the same question in my head. Thanks for answering my question I never had time/will to look it up in the docs.

RedHotChiliPepper wrote:

Sorry I should have read the documentation

wxPython API Documentation — wxPython Phoenix 4.2.2 documentation
A bit of a simpler way to create a |wx.Font|
<wxPython API Documentation — wxPython Phoenix 4.2.2 documentation flags instead of
individual attribute settings. The value of flags can be a combination
of the following:

The extra F stands for "Fast" in that it doesn't take as long to type the parameters. :wink:

···

--
Robin Dunn
Software Craftsman