Tutorials for the wxPython community

Here are some examples for wxPython Phoenix :

Have fun !
ZigZag

linux, Python 3.6.5, wxPython 4.0.4
I did not have “wx.FFontFromPixelSize()” available. Replaced it with wx.Font() code. This applies to the Custom round buttons.

Johnf

Hello Johnf,

Ok for “Download source” —> source.zip —> Edward Sitarski folder - roundbutton.

**# The font size does not matter here - we just it for the properties.**

** # boldFont = wx.FFontFromPixelSize((0,32), wx.DEFAULT, flags=wx.FONTFLAG_BOLD) **
** boldFont = wx.Font(10, wx.FONTFAMILY_SWISS, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL)**

Cordialy,
ZigZag

New snippets for wxPython Phoenix :

Links :

Best Regards,
ZigZag