Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42370
| Date | 2013-03-31 16:33 +0300 |
|---|---|
| From | Jan Riechers <janpeterr@freenet.de> |
| Subject | Re: Python GUI questions |
| References | <4250fe44-c09c-48a8-aca2-51c1a8bc3a48@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4014.1364737881.2939.python-list@python.org> (permalink) |
On 19.03.2013 21:01, maiden129 wrote: > Hello, > > I'm using python 3.2.3 and I'm making a program that show the of occurrences of the character in the string in Tkinter. > > My questions are: > > How can I make an empty Entry object that will hold a word that a user will enter? > > How to make an empty Entry object that will hold a single character that the user will enter? > > [..] > Hello, here is a very good documentation about Tkinter and its most likely that the same principals of coding apply to Python 3.x when it comes down to the Tkinter part: http://www.pythonware.com/library/tkinter/introduction/index.htm Also as an tip, you can make use of a StringVar object for example - those are (if Im not completely wrong) meant to hold values which you can then access from the interface. Alike a binding to any element holding text. Which should take care of the updating part if you call a proper "StringVar/yourVariableName".set method of that particular class. As for the UI creation, have a look at that documentation, its very easy to navigate inside if you know what you are looking for. Regards Jan
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Python GUI questions maiden129 <sengokubasarafever@gmail.com> - 2013-03-19 12:01 -0700
Re: Python GUI questions Chris Angelico <rosuav@gmail.com> - 2013-03-20 08:39 +1100
Re: Python GUI questions maiden129 <sengokubasarafever@gmail.com> - 2013-03-19 15:50 -0700
Re: Python GUI questions maiden129 <sengokubasarafever@gmail.com> - 2013-03-19 15:50 -0700
Re: Python GUI questions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-03-19 17:57 -0700
Re: Python GUI questions maiden129 <sengokubasarafever@gmail.com> - 2013-03-19 18:25 -0700
Re: Python GUI questions Ranting Rick <rantingrickjohnson@gmail.com> - 2013-03-19 19:16 -0700
Re: Python GUI questions maiden129 <sengokubasarafever@gmail.com> - 2013-03-19 19:36 -0700
Re: Python GUI questions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-03-19 20:06 -0700
Re: Python GUI questions Terry Reedy <tjreedy@udel.edu> - 2013-03-19 23:21 -0400
Re: Python GUI questions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-03-20 10:37 -0700
Re: Python GUI questions Jason Swails <jason.swails@gmail.com> - 2013-03-19 22:14 -0400
Re: Python GUI questions Jan Riechers <janpeterr@freenet.de> - 2013-03-31 16:33 +0300
csiph-web