If I make an entry box on a window, then change the coordinates, the box stays put like I want. Now is there a way to set new text in that box after the coordinate change? I can't figure it out for my code
1337RAM1337
0
Newbie Poster
Recommended Answers
Jump to PostI do not understand what you mean:
import Tkinter as tk def entry_down(event): frame.forget() frame.pack() entry.forget() entry.pack() entry.bind('<Return>', entry_up) print('Value: %s, from top to down' % entry.get()) def entry_up(event): frame.forget() frame.pack(side=tk.TOP) entry.bind('<Return>', entry_down) print('Value: %s, from down to top' % entry.get()) root = tk.Tk() frame = tk.Frame(root, …
All 3 Replies
TrustyTony
888
pyMod
Team Colleague
Featured Poster
TrustyTony
888
pyMod
Team Colleague
Featured Poster
1337RAM1337
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.