Python Forum
Canvas not placing inside Grid
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Canvas not placing inside Grid
#2
The first thing you do when you instantiate your class is create a frame.
When you create your canvas, you use root as the parent. Change that to self
which is the frame. The root window is underneath the frame, and not visible.
Reply


Messages In This Thread
Canvas not placing inside Grid - by leonv - Nov-21-2017, 05:18 PM
RE: Canvas not placing inside Grid - by Larz60+ - Nov-21-2017, 05:22 PM
RE: Canvas not placing inside Grid - by leonv - Nov-21-2017, 05:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Placing a Placeholder in the entry box Nymphalys08 1 1,987 Jun-21-2021, 06:43 AM
Last Post: Yoriz
  [Tkinter] Draw a grid of Tkinter Canvas Rectangles MrTim 5 8,176 May-09-2021, 01:48 PM
Last Post: joe_momma
  align frame inside canvas ro_btz 1 1,898 Sep-11-2020, 04:38 PM
Last Post: Larz60+
  [Tkinter] Resizing image inside Canvas (with Canvas' resize) Gupi 2 25,213 Jun-04-2019, 05:05 AM
Last Post: Gupi

Forum Jump:

User Panel Messages

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