Re: [pygtk] CList get_row_data() question

2000-04-07 Thread James Henstridge
On Fri, 7 Apr 2000, lf11 wrote: > James Henstridge wrote: > > > > clist.get_row_data(row) returns the data you set with > > clist.set_row_data(row, data). If you want to get the text in a cell of > > I used clist.append(row, data). clist.get_row_data(row) returns 'None', > not the data in row

Re: [pygtk] CList get_row_data() question

2000-04-07 Thread lf11
James Henstridge wrote: > > clist.get_row_data(row) returns the data you set with > clist.set_row_data(row, data). If you want to get the text in a cell of I used clist.append(row, data). clist.get_row_data(row) returns 'None', not the data in row. Should I use clist.set_row_data(row, data)?

Re: [pygtk] CList get_row_data() question

2000-04-06 Thread James Henstridge
clist.get_row_data(row) returns the data you set with clist.set_row_data(row, data). If you want to get the text in a cell of the clist, use clist.get_text(row, col). James. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ On Thu, 6 Apr 2000, LF11 wrote: > data = clist.get_ro

[pygtk] CList get_row_data() question

2000-04-06 Thread LF11
data = clist.get_row_data(row) Grrr. data == 'None'. It doesn't return the contents of the row, _at_all_! Just 'None'. In case this helps, I used clist.append(row, (dataForColumn1, column2)) to build the clist. Should I have used clist.set_row_data()? Can anyone help? Thanks! -lf -