On Fri, 26 Oct 2001, mallum wrote:

> > AFAICT you need to either query the row for the object, or use the
> > "selection" member of the CTree in the same manner.
> >
> What do you mean by selection member - could you give an example ?

>>> c = gtk.GtkCList(cols=2)
>>> c.append("foo","bar")

[click on line]

>>> c.selection
[0]

selection returns a list of selected rows - if the selection policy is
browse or single, it will contain a single element, of course.

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 272 3330 | NMFL

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to