Creating responsive layouts

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ม.ค. 2025

ความคิดเห็น • 11

  • @kingoffire9373
    @kingoffire9373 ปีที่แล้ว +1

    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

  • @sergioernestotostadosanche2509
    @sergioernestotostadosanche2509 6 หลายเดือนก่อน

    Bro, this is a stunning workaround! Thanks for your knowledge sharing, regards from Mexico!

  • @PidginPlays-yb2vp
    @PidginPlays-yb2vp 4 วันที่ผ่านมา

    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.

  • @sarv4265
    @sarv4265 ปีที่แล้ว +1

    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

  • @RichardTrocino-v1l
    @RichardTrocino-v1l 10 หลายเดือนก่อน

    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. ;-)

  • @RichardTrocino-v1l
    @RichardTrocino-v1l 10 หลายเดือนก่อน

    Very helpful and timely. Thank you.

  • @blackphoenix9680
    @blackphoenix9680 10 หลายเดือนก่อน +2

    clear code?

  • @thatonehatedweeb278
    @thatonehatedweeb278 2 ปีที่แล้ว +6

    You should make a tutorial with custom tkinter, it’s just a modern tk

    • @janlochman1985
      @janlochman1985 7 หลายเดือนก่อน

      Which doesn't work on Linux well.

  • @Akrasiel8
    @Akrasiel8 10 หลายเดือนก่อน

    Simply great

  • @darrenlefcoe
    @darrenlefcoe 8 หลายเดือนก่อน

    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...