This series is so helpful, after my first few tries with tkinter in recent months i just found it to be quite unwieldy. I could sorta do what i want but half the time had to settle for whatever came out. Now ive got a nuch better understanding
Great video. Whenever the window is resized, you should call self.frame.destroy() instead of self.frame.pack_forget(). pack_forget does not destroy the frame, it just hides it.
wow man, that's so helpful! I thought I can't make it responsive using Tkinter. But what you done there at 0:16 That was great, I didn't imagine that. Thankyou
I came to the same conclusion. The best strategy for this type of responsive interface is to monitor the size of the window then respond with "pre-fab" layouts to match. I was going to check the window size every second or so, then use semaphores to tell me which layout was currently in use. If the correct one wasn't in use then change it. My experience is that users aren''t always changing their window size willy-nilly so a "real-time" interrupt driven monitoring strategy isn't necessary. We aren't controlling a Mars landing craft, after all. I am very impressed with your complexity of knowledge and overall strategy. I can't help but think it's a little over-kill and probably beyond the knowledge scope of most Python developers. ;-)
An excellent video. Presented and explained amazingly well, the creator clearly has a deep knowledge of Python and programming. However, i have to agree with the first two comments. Tkinter can be a bit unwieldy and the coder can spend a lot of time mucking about with trivial bits. The productivity to effort gain is diminishing at this point...
This series is so helpful, after my first few tries with tkinter in recent months i just found it to be quite unwieldy. I could sorta do what i want but half the time had to settle for whatever came out. Now ive got a nuch better understanding
Bro, this is a stunning workaround! Thanks for your knowledge sharing, regards from Mexico!
Great video. Whenever the window is resized, you should call self.frame.destroy() instead of self.frame.pack_forget(). pack_forget does not destroy the frame, it just hides it.
wow man, that's so helpful! I thought I can't make it responsive using Tkinter. But what you done there at 0:16 That was great, I didn't imagine that.
Thankyou
I came to the same conclusion. The best strategy for this type of responsive interface is to monitor the size of the window then respond with "pre-fab" layouts to match. I was going to check the window size every second or so, then use semaphores to tell me which layout was currently in use. If the correct one wasn't in use then change it. My experience is that users aren''t always changing their window size willy-nilly so a "real-time" interrupt driven monitoring strategy isn't necessary. We aren't controlling a Mars landing craft, after all. I am very impressed with your complexity of knowledge and overall strategy. I can't help but think it's a little over-kill and probably beyond the knowledge scope of most Python developers. ;-)
Very helpful and timely. Thank you.
clear code?
You should make a tutorial with custom tkinter, it’s just a modern tk
Which doesn't work on Linux well.
Simply great
An excellent video. Presented and explained amazingly well, the creator clearly has a deep knowledge of Python and programming. However, i have to agree with the first two comments. Tkinter can be a bit unwieldy and the coder can spend a lot of time mucking about with trivial bits. The productivity to effort gain is diminishing at this point...