Paths is a reffer to a row, as an example, if you have a model with 100
rows, the path 10 will ref to the row number 11, no matter if you insert
rows before, the row will ref only to the row number 11.

Iters are another kind of ref. they ref to the row and keep the ref with
the row even if you insert another rows before, or if you reorder them.

On Mon, 2007-12-03 at 17:45 -0500, Caleb Marcus wrote:
> I'm just starting to learn PyGTK and GUI programming in general, and
> Tree/ListViews confuse me tremendously. One question I have is, what's
> the difference between iters and paths? It seems like paths are much
> easier to use, because I can simply use model[path][column] to access
> any part of the ListStore. Is there any way to get the current
> selection as a path rather than an iter? 
> _______________________________________________
> pygtk mailing list   pygtk@daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-- 
<--Linux... Because I'm Free-->
Marco Antonio Islas Cruz
"Markuz"
Linux User #280229
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.islascruz.org
http://sourceforge.net/projects/gpkg/
http://www.linuxpozarica.com

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to