listbox_manager.py
listbox_manager.zip (22.6 KB)
A new control for managing lists designed as an alternative to wx.adv.EditableListBox.
It is entirely coded in python, it offers additional options and it is fully customizable.
This list manager is intended for use with .ini files and relies on a structure that configparser can parse.
Tested:
-
Windows 10/11 | Python 3.11.9 |
-
wxPython 4.2.2 | wxWidgets 3.2.3
-
Linux Mint 21 | Python 3.10.12 |
-
wxPython 4.2.1 gtk3 | wxWidgets 3.2.2.1
Bug fixes, improvements, suggestions and derivative versions are welcome.
Regards
1 Like
Very nice.
The only observation I have is that on my Mint22 PC, the bitmap buttons are smaller than on your screen dumps, causing some of their bitmaps to be cropped:
Platform : Linux 6.8.0
Encoding : utf-8
Python : 3.12.3
wxPython : 4.2.1
wxWidgets : wxWidgets 3.2.4
Name : ListBox manager widget
Version : 0.0.5
Thank you for your comments.
As is often the case, I published the source before testing one last time.
Here is the corrected version which I hope will resolve the issue.
listbox_manager.zip (22.6 KB)
Here’s the widget update with the latest improvements:
listbox_manager_v1.0.zip (23.5 KB)
This control is cross-platform compatible and has been successfully tested on the following operating systems:
-
Windows 10/11 | Python 3.11.9 |
wxPython 4.2.2 | wxWidgets 3.2.3
-
Linux Mint 21 | Python 3.10.12 |
wxPython 4.2.1 gtk3 | wxWidgets 3.2.2.1
-
MacOS Sequoia 15 | Python 3.12.4 |
wxPython 4.2.2 | wxWidgets 3.2.6
Regards