[pygtk] how to clear out a comboboxentry

Arnau Sanchez arnau at ehas.org
Fri Aug 18 20:00:22 WST 2006


shawn bright escribió:

 > On 8/17/06, Johan Dahlin <jdahlin at async.com.br> wrote:
>     The preferred pythonic way of doing that is this:
> 
>     for row in model:
>       print 'value:', row[0]

Indeed, that's the good way.

> Well, i think that this is part of my problem. I am using glade and a 
> script that auto-generates a kinda starter .py script to build on, but 
> its .... less than ideal. Do you have a link to a good site that 
> documents how to use glade with python ?

I don't understand this... it's very easy to load a glade file (normally with 
gtk.glade.XML()), get the widgets (tree.get_widget()) and work with them 
directly... what's the starter for? anyway, you have a PyGTK+Glade tutorial here:

http://www.serpia.org/pygtk

arnau


More information about the pygtk mailing list