Tutorials for the wxPython community

Here are some examples for wxPython Phoenix :

Have fun !
ZigZag

1 Like

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

New samples :

Links :

ZigZag

Link error :

Sorry,
ZigZag

For information,
send me your sample on this page and I will publish it for you.
The wxpython community thanks you in advance :blush:.

ZigZag

Hi all,
Today i propose you others snippets updated or added.

Good day ! :mask:

Hi all,

I’m going to move this topic to the Newbie Help category, as the Announcements category isn’t a very good fit.

Robin