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.  Should I use clist.set_row_data(row, data)?

Those two functions are used for storing arbitrary data with a row in the
clist -- not for retrieving the cell values.

> 
> > the clist, use clist.get_text(row, col).
> 
> I'd like to get the whole row, but I'll try that and see if it gets any
> text from the clist.

Then call clist.get_text for each column :)

> 
> -lf

James.

-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]



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)?

> the clist, use clist.get_text(row, col).

I'd like to get the whole row, but I'll try that and see if it gets any
text from the clist.

-lf
-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]



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_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
> 
> --
> The basis of civilization...
> 1.  Do all you have agreed to do.
> 2.  Do not encroach on others.
> 
> 
> 
> -
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
> 

-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]



[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

--
The basis of civilization...
1.  Do all you have agreed to do.
2.  Do not encroach on others.



-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]