Are you saying you have a bunch of entries, and need to read the text of all of them in response to an event? If so, you could use a set of entries and just iterate through them, like:
for entries in entry_set: dict[key] = entries.get_text() Or you could try a dict of entries, iterate through the keys (which would be the entries) and store the text in the values, something like: for entries in entry_dict.keys(): entry_dict[entries] = entries.get_text() --Seth On Tue, Apr 29, 2008 at 12:03 PM, Andrea Caminiti <[EMAIL PROTECTED]> wrote: > hi: > > i was trying to figure how to read text from the entry widget. but i need > to read them all "at the same time" and store the value of each different > entry in a dictionary. this action need to be performed or when the text is > inserted or clicking on a button. any suggestions? > > i know that gtk.Entry has an "activate" signal, but it uses the "enter" as > a signal. is there any way to modify the value of the signal to use? > > thanks for your help and support. > > andrea caminiti > > > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > _______________________________________________ > 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/ > >
_______________________________________________ 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/