Python Forum
[Tkinter] Tkinter classes
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Tkinter classes
#7
(May-26-2019, 11:59 AM)Yoriz Wrote: I don't know what is the expected look of your windows, the notebook widget is set to take up all the available space by self.pack(fill=tk.BOTH, expand=1) You are creating classes just for the sake of creating classes, over complicating the code.
I'm expecting to left part (FrameLeft (yellow)) have half of the window's width and right part (FrameRight (blue frame and Notebook)) take the other half.
The blue frame and Notebook's frame should take equal size.
How can I do that?
Putting Notebook into top-right frame takes additional size, so it takes space from the other frames.
I'm not creating classes just for the sake of creating classes. I'm planning on using all these frames.
Reply


Messages In This Thread
Tkinter classes - by Gupi - May-24-2019, 11:29 AM
RE: Tkinter classes - by Yoriz - May-24-2019, 12:43 PM
RE: Tkinter classes - by Gupi - May-24-2019, 05:42 PM
RE: Tkinter classes - by Yoriz - May-24-2019, 05:59 PM
RE: Tkinter classes - by Gupi - May-25-2019, 10:39 AM
RE: Tkinter classes - by Yoriz - May-26-2019, 11:59 AM
RE: Tkinter classes - by Gupi - May-26-2019, 01:38 PM
RE: Tkinter classes - by Yoriz - May-26-2019, 02:31 PM
RE: Tkinter classes - by Gupi - May-26-2019, 05:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Tkinter & classes Heyjoe 6 3,229 Feb-13-2021, 09:17 PM
Last Post: Heyjoe
  [Tkinter] How to create multilple tabs in tkinter from different classes Rishav 5 18,570 Jul-11-2018, 11:59 AM
Last Post: CCChris91

Forum Jump:

User Panel Messages

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