Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Prevent GUI layout from changing?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Gabriel Genellina, post: 3533535"] En Sun, 06 Apr 2008 15:12:55 -0300, <skanemupp@yahoo.se> escribió: I can't help with your sizing problem, I don't know grids. But don't do this: You're creating a *new* Label object for each keystroke (they stack on the same place and only the newest is visible, I presume). Instead, you should change the text inside the existing widget: self.lbText.config(text=self.expr) (there is no need to reposition the widget) Label is described here [URL]http://effbot.org/tkinterbook/label.htm[/URL] and you may want to learn to use Tkinter variables: [URL]http://effbot.org/tkinterbook/variable.htm[/URL] [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Prevent GUI layout from changing?
Top