I have this wx.ListCtrl and I want to get the "Variable" name and the "Value" name, but I can only get the "Variable" name, how to get the second?
def __init__(...):
...
self.list_ctrl_1.InsertColumn(0, 'Variable')
self.list_ctrl_1.InsertColumn(1, 'Value')
self.list_ctrl_1.SetColumnWidth(0, 200)
self.list_ctrl_1.SetColumnWidth(1, 200)
for item in ls:
self.list_ctrl_1.Append((item[0],item[1]))
self.Bind(wx.EVT_LIST_ITEM_SELECTED, self.dclick)
def dclick(self, event):
print event.GetLabel() #I get the first column item, how do I get the second?