Understanding scrolling in tkinter

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2024

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

  • @carlozdel3580
    @carlozdel3580 11 หลายเดือนก่อน +2

    The best video about Tkinter scrollbar. Thank you very much!!!!

  • @darrylmabalot8699
    @darrylmabalot8699 8 หลายเดือนก่อน +2

    your is much simpler than the other vid I watched, THANKS!!!!

  • @vineetvishwakarma4584
    @vineetvishwakarma4584 9 หลายเดือนก่อน

    Thanks a lot for this crystal clear explanation. You made my day…

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

    university level explanation skills

    • @janlochman1985
      @janlochman1985 10 หลายเดือนก่อน +1

      More than. Some uni teachers are tragic.

  • @thomasoreilly6140
    @thomasoreilly6140 8 หลายเดือนก่อน +1

    This is such a good video. Thank you!

  • @ammarmohsen1471
    @ammarmohsen1471 ปีที่แล้ว

    Very wonderful explanation, thank you very much

  • @marcelgeers3263
    @marcelgeers3263 23 วันที่ผ่านมา

    What makes you choose between a Frame and a Canvas for grouping widgets?

  • @kalla103
    @kalla103 ปีที่แล้ว

    thank you for this video! it's clear and to the point

  • @James-xx2nf
    @James-xx2nf ปีที่แล้ว +1

    this is an exceptional explanation, ty. I tried to imitate this in my app and it worked well.
    In making a scrollbar for a canvas, how can i make it work with tk buttons, ttk option menus...that have the parents/master specified as the canvas ?
    canvas lines, images work well with scrolling, but the other ones(buttons...) 👆🏾 remain static during scrolling

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

      I dont understand your question well, but yview probably doesnt work on all types of widgets. It probably works on Canvas, Text, and Listbox. Have a look into documentation.

  • @CarlosMagnoAlmeida-h7b
    @CarlosMagnoAlmeida-h7b 11 หลายเดือนก่อน

    Um milhão de likes para vc. Adorei a explicação!

  • @grayfox8547
    @grayfox8547 5 หลายเดือนก่อน +1

    7:30

  • @zhenghuluo
    @zhenghuluo 5 หลายเดือนก่อน

    Thx a lot for this great video. And I have a question: What IDE do you use? How do you select the same word in different lines and edit them simultaneously? You selected three "scrollbar" in three lines and change them to "scrollbar_text" with one typing. It feels like a magic to me. I'm using Pycharm on Windows. Could you teach me with it? Thx a lot!

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

    if you want to place buttons and widgets it doesn't work

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

    Can you scroll bar a group of labels and entries?

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

      I think yview doesnt work on these widget, so the answer woudl be no.

    • @philipjdry1234
      @philipjdry1234 10 หลายเดือนก่อน +1

      @@janlochman1985 thank you. There is a lot in one group but in another group there is plenty of space, I think I'll just move them over so they fit on screen

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

      Allegedly you can put a frame on a canvas, put your widget on that frame and then scroll the canvas. But when I tried it, the frame remained in place.

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

    thanks for the video, had a question, are canvas the same as LabelFrame ?

  • @Deepjinsi
    @Deepjinsi ปีที่แล้ว

    How to add whole program in it
    I tried but scrollbar moving but program not moving

    • @Deepjinsi
      @Deepjinsi ปีที่แล้ว

      If any 1 have solution let me know asap

    • @Deepjinsi
      @Deepjinsi ปีที่แล้ว

      Thanx I fix it my self now perfectly working now

    • @dabutz21
      @dabutz21 ปีที่แล้ว

      how did you fix it? When i scroll, the i can see that the yview changes because of the diagonal line that is put there. but when i place widgets, they are always there . i can't scroll away from them. Did you have the same issue? If yes, how did you fix it? @@Deepjinsi

  • @ntcov
    @ntcov ปีที่แล้ว

    Hey, man, this helps a lot. Although, I am not looking for a window. How would I put the scrolling menu on a screen with pygame?
    Some details:
    I am working on a cookie-clicker clone, and I have buildings that you can purchase for cookies. But as of right now, they are just separated on UI on the side of the screen. I want it to be in a single UI that can scroll through the buildings (and still purchase the building when clicked). Can you help me out?

  • @slyryan5550
    @slyryan5550 ปีที่แล้ว

    I love u