Skip to main content

An ObjectListView is a wrapper around the wx.ListCtrl that makes the list control easier to use.

Project description

ObjectListView3

This is a fork of olv 1.3.2 from https://bitbucket.org/wbruhin/objectlistview/src/default/

An ObjectListView is a wrapper around the wx.ListCtrl that makes the list control easier to use. It also provides some useful extra functionality.

Larry Wall, the author of Perl, once wrote that the three essential character flaws of any good programmer were sloth, impatience and hubris. Good programmers want to do the minimum amount of work (sloth). They want their programs to run quickly (impatience). They take inordinate pride in what they have written (hubris).

ObjectListView encourages the vices of sloth and hubris, by allowing programmers to do far less work but still produce great looking results.

Without wasting my time, just tell me what it does!

OK, here's the bullet point feature list:

  • Automatically transforms a collection of model objects into a fully functional wx.ListCtrl.
  • Automatically sorts rows.
  • Easily edits the cell values.
  • Supports all ListCtrl views (report, list, large and small icons).
  • Columns can be fixed-width, have a minimum and/or maximum width, or be space-filling.
  • Displays a "list is empty" message when the list is empty (obviously).
  • Supports checkboxes in any column
  • Supports alternate rows background colors.
  • Supports custom formatting of rows.
  • Supports searching (by typing) on any column, even on massive lists.
  • Supports custom sorting
  • The FastObjectListView version can build a list of 10,000 objects in less than 0.1 seconds.
  • The VirtualObjectListView version supports millions of rows through ListCtrl's virtual mode.
  • The GroupListView version supports arranging rows into collapsible groups.
  • Effortlessly produce professional-looking reports using a ListCtrlPrinter.

Seriously, after using an ObjectListView, you will never go back to using a plain wx.ListCtrl.

OK, I'm interested. What do I do next?

As Phillip has not updated the Python version for a long time I created this fork as I want to use it with wxPython 2.9+ and wxPython 3.x Phoenix on both Python 2.x and 3.x.

To install this version, you can run the following command:

python -m pip install ObjectListView3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

objectlistview3-1.3.5.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

ObjectListView3-1.3.5-py3-none-any.whl (82.5 kB view details)

Uploaded Python 3

File details

Details for the file objectlistview3-1.3.5.tar.gz.

File metadata

  • Download URL: objectlistview3-1.3.5.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for objectlistview3-1.3.5.tar.gz
Algorithm Hash digest
SHA256 3684b653a8a7aa0586df9b0436e3e86d15648502bdc567442209628fc9f5b20b
MD5 41a8aa29390bd2fa58f4bcf05a026ab6
BLAKE2b-256 29d9a396aad2cb02fa1b55c0bcc0153b62ef17498110fa6d4357a4d9a6f9382a

See more details on using hashes here.

File details

Details for the file ObjectListView3-1.3.5-py3-none-any.whl.

File metadata

File hashes

Hashes for ObjectListView3-1.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 01841a78f2dc529b7fec09ef09a611f52e81fce7ee1a03c1806663331343a04a
MD5 60fcafe0b750e758c4b98b70c8dd8e67
BLAKE2b-256 aa3de3bca34a8a043bf2450c1c43a8e60772360324972df45cd6ab80bafa6e79

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page