WxListBox

LutherRevisited lutherrevisited at aol.com
Sat Dec 25 23:13:35 EST 2004


I'm wanting to put a listbox in the place of a textctrl I'm using in my
application because I'm running out of space in my textctrl.  The online
documentation is down at wxpython.org so I have no idea how to construct this
control or anything.  Can someone help me out.  Here's what I'm doing with the
WxTextCtrl:

self.text_ctrl_4 = wx.TextCtrl(self, -1, "", style=wx.TE_MULTILINE)
sizer_1.Add(self.text_ctrl_4, 6, wx.LEFT|wx.RIGHT|wx.EXPAND, 80)
self.text_ctrl_4.AppendText(str(count) + '\t\t' + str(address) + '\t\t'
            + str(pageNumber) + '\t\t' + str(pageArray[pageNumber, 1]) +'\r\n')

I'm wanting to implement something similar with a listbox, any thoughts?



More information about the Python-list mailing list