Understanding scrolling in tkinter

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 26

  • @carlozdel3580
    @carlozdel3580 9 місяців тому +2

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

  • @darrylmabalot8699
    @darrylmabalot8699 7 місяців тому +2

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

  • @vineetvishwakarma4584
    @vineetvishwakarma4584 7 місяців тому

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

  • @felixw8004
    @felixw8004 11 місяців тому +2

    university level explanation skills

    • @janlochman1985
      @janlochman1985 9 місяців тому +1

      More than. Some uni teachers are tragic.

  • @zhenghuluo
    @zhenghuluo 4 місяці тому

    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!

  • @thomasoreilly6140
    @thomasoreilly6140 6 місяців тому +1

    This is such a good video. Thank you!

  • @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 9 місяців тому

      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.

  • @wildergomez9181
    @wildergomez9181 7 місяців тому

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

  • @ammarmohsen1471
    @ammarmohsen1471 11 місяців тому

    Very wonderful explanation, thank you very much

  • @kalla103
    @kalla103 Рік тому

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

  • @CarlosMagnoAlmeida-h7b
    @CarlosMagnoAlmeida-h7b 10 місяців тому

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

  • @grayfox8547
    @grayfox8547 4 місяці тому +1

    7:30

  • @GrafBazooka
    @GrafBazooka 6 місяців тому

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

  • @philipjdry1234
    @philipjdry1234 9 місяців тому

    Can you scroll bar a group of labels and entries?

    • @janlochman1985
      @janlochman1985 9 місяців тому

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

    • @philipjdry1234
      @philipjdry1234 9 місяців тому +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 6 місяців тому

      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.

  • @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