Hi all,
I'm sure I'm overlooking something simple. I've got a couple of
listboxes where the user will doubleclick an entry to move it from one
listbox to the other listbox. Right now the code snippet looks like
this:
def EvtListBoxDClick(self, event):
print ('EvtListBoxDClick: %s\n' % self.lb2.GetSelection())
my_temp2 = self.lb2.GetString(self.lb2.GetSelection())
print "temp2 is", my_temp2
self.lb1.InsertItems([my_temp2], 0)
self.lb2.Delete(self.lb2.GetSelection())
print self.lb2
What I'd like to do is instead of sticking the item at index '0', stick
it at the bottom of the list. Is there a way I can get the number of
items in the list so I can put the new entry at the bottom?
Thanks in advance,
···
--
Travis Smith
Unix Systems Manager
Tyco Electronics PCG
Logan, Utah
435-753-4700 x3030