Frage

How to add gauge or progress bar to ObjectListView in wxPython?

You can see "Upload Status" column need to be with gauge or progress bar.

Music UPloader

War es hilfreich?

Lösung

If you are creating a download-type manager application and want to show the progress of each item in the ListCtrl, then I would recommend the UltimateListCtrl. It is a widget written in pure Python and the wxPython demo for it already shows an example of how to add a progress bar to it.

The ObjectListView is a wrapper of the wx.ListCtrl. I don't believe the ListCtrl supports adding other widgets to it very easily. You would probably have to create a custom widget that is a combination of the two if you decided you didn't want to use the UltimateListCtrl.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top