[pygtk] PyGTK New User

2011-01-22 Thread Soumyaroop Roy
Hi there: I am a PyGTK newbie and I want to know if it is possible to attach labels to entry widgets. For e.g., if I were to assign a token to an argument switch (foo -arg1 value1), I am contemplating that value1 will be entered through the entry widget (by the user) and -arg1 will be its label.

Re: [pygtk] PyGTK New User

2011-01-22 Thread Giuseppe Penone
Hi Soumyaroop, yes you have to create a container object that contains a label widget and the entry widget. I advice you to read the official pygtk tutorial: http://www.pygtk.org/pygtk2tutorial/index.html or this also is not bad: http://zetcode.com/tutorials/pygtktutorial/ Regards, Giuseppe.