ANN: ObjectListView3


I noticed that ObjectListView doesn’t seem to be getting any support any longer and the current version is broken with the following error:

line 1752, in _HandleSize
    self.stEmptyListMsg.SetSize(0, sz.GetHeight() / 3,

TypeError: Window.SetSize(): arguments did not match any overloaded call:
  overload 1: argument 2 has unexpected type 'float'
  overload 2: argument 1 has unexpected type 'int'
  overload 3: argument 1 has unexpected type 'int'
  overload 4: argument 2 has unexpected type 'float'

I see there are one or two PRs to fix that issue, but the current maintainer doesn’t seem to be doing anything, so I forked it and fixed it myself here:

The widget works again with my code examples anyway, but by changing the name, I now have to import it as ObjectListView3 which isn’t exactly what I wanted.

If you’d like to help or you had some open PRs on the original project, feel free to re-open them with me and I will try to take a look at them. If you are more current with the ways of publishing ti PyPI, let me know. I haven’t done that in years.


I figured out how to get the project on PyPI:

You should now be able to pip install it like this:

python -m pip install ObjectListView3