Python Forum
[Tkinter] Locking Canvas to a Window
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Locking Canvas to a Window
#3
I don't think I was really clear about what I'm trying to achieve. I'm trying to put the image on the far right of the window and when I run any of the methods, it doesn't move and the image is always visible. If I put the image at x=0, y=0, it all works; however, as each method is called (add_record, edit_record, delete_record, or show_records), the image moves around the window.

In advance, thank you!

Nick.

Thank you, deanhystad, I'll try that. What, in my code, is destroying the image?

Nick.
Reply


Messages In This Thread
Locking Canvas to a Window - by drnshaw - Jun-05-2020, 02:25 AM
RE: Locking Canvas to a Window - by deanhystad - Jun-05-2020, 02:37 AM
RE: Locking Canvas to a Window - by drnshaw - Jun-05-2020, 02:48 AM
RE: Locking Canvas to a Window - by deanhystad - Jun-05-2020, 03:39 AM
RE: Locking Canvas to a Window - by drnshaw - Jun-06-2020, 03:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Interaction between Matplotlib window, Python prompt and TKinter window NorbertMoussy 3 919 Mar-17-2024, 09:37 AM
Last Post: deanhystad
  tkinter window and turtle window error 1885 3 6,913 Nov-02-2019, 12:18 PM
Last Post: 1885
  [Tkinter] Resizing image inside Canvas (with Canvas' resize) Gupi 2 25,269 Jun-04-2019, 05:05 AM
Last Post: Gupi
  update a variable in parent window after closing its toplevel window gray 5 9,346 Mar-20-2017, 10:35 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020