Getting values from Multiple Text Entry using Pygtk and Python

Posted by Webrsk on Stack Overflow See other posts from Stack Overflow or by Webrsk
Published on 2010-03-12T11:55:29Z Indexed on 2010/03/12 11:57 UTC
Read the original article Hit count: 500

Filed under:
|
|
|
|

On a click of a button named "Add Textbox" it calls a function which creates a single textbox using (gtk.Entry) function. So each time i click that button it creates a textbox.

I have a submit button which should fetches all the values of the text boxes(say 10 textboxes) generated with the name of "entry". It works for one textbox but not for multiple.

In php we can create dynamix textboxes mentioning as an array name=entry[].
Do we have similar functionality in python ?

Enviroment : FC10 , Glade 3 , Python 2.5 , GTK.

© Stack Overflow or respective owner

Related posts about python

Related posts about gtk