[pygtk] get_selection

Aaron Optimizer Digulla digulla@hepe.com
Tue, 08 Aug 2000 17:54:18 +0200 (CEST)


Quoting Javi Roman <javi@esware.com>:

> Good, that seems that it works, but I talk about to a GtkList and not a
> GtkCList.

Two possible solutions:

- Use a CList instead
- Try to apply what you now know about the CList :-) I guess the
behaviour is pretty much the same but you have to use list.get_selection()
instead of clist.selection (note the "()").

Try to read the tutorial on www.gtk.org, too.

-- 
==============================================
Sowatec AG,       CH-8330 Pfäffikon (ZH)
Witzbergstr. 7,   http://www.sowatec.com
Tel: +41-(0)1-952 55 55
Fax: +41-(0)1-952 55 66
----------------------------------------------
Aaron "Optimizer" Digulla, digulla@sowatec.com
==============================================