wxPython custom list drawing?

I

Ivan Voras

Does wxPython (actually, the wx toolkit) support setting up ListCtrls or
similar to allow custom element drawing?

Something like generating an 'OnPaint()' event in which I could paint
whatever I like in a listbox element. (example from some other toolkits)
 
W

Will McGugan

Ivan said:
Does wxPython (actually, the wx toolkit) support setting up ListCtrls or
similar to allow custom element drawing?

Something like generating an 'OnPaint()' event in which I could paint
whatever I like in a listbox element. (example from some other toolkits)


wx.VListBox allows you to render whatever you want for each item. You
could also do something similar with a wx.Grid


Will McGugan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,016
Latest member
TatianaCha

Latest Threads

Top