Adding a DB regs to a wx listbox

M

Marcpp

Hi, I need add to a listbox a list of items extracted from a database.
This is that I've do:

class tasques(wx.Frame):
def __init__(self, *args, **kwds):
.....
self.list_box_1_copy = wx.ListBox(self, -1, choices=[],
style=wx.LB_SINGLE|wx.LB_ALWAYS_SB)
....

How I add the list to choices?
 

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

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,832
Latest member
GlennSmall

Latest Threads

Top