First wxPython version supporting RichTextCtrl tables

Hi everyone!
I’m trying to find out which is the earliest wxPython version that supports creating tables inside a RichTextCtrl (WriteTable method).
wxWidgets added the method in version 2.9.2, but it looks like wxPython had to wait until 4.0…? Am I right?

Many thanks for your time!

Yes, that appears to be correct.

Before wxPython4 it was too easy for additions to classes to go unnoticed. Now, with wxPython4, anything added to the wxWidgets docs will automatically get put into wxPython unless it is explicitly ignored or manually changed. That makes it very unlikely that new or updated items will get lost.

1 Like

I see, thanks!
Do you think it would be possible to gain access to WriteTable from wxPython Classic, somehow? :sweat_smile: Through RichTextCtrl().this maybe…?

It can probably be done via Cython and C++, similar to what is described in this post: wxPython 4 alternative for wxMemoryDC.this

1 Like