Understanding scrolling in tkinter

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024
  • This video covers the basics of scrolling in tkinter. You can use scrolling with the canvas, the text and the treeview widget.
    You can get the code here:
    github.com/cle...

Комментарии • 27

  • @carlozdel3580
    @carlozdel3580 9 месяцев назад +2

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

  • @darrylmabalot8699
    @darrylmabalot8699 6 месяцев назад +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…

  • @zhenghuluo
    @zhenghuluo 3 месяца назад

    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!

  • @felixw8004
    @felixw8004 11 месяцев назад +2

    university level explanation skills

    • @janlochman1985
      @janlochman1985 8 месяцев назад

      More than. Some uni teachers are tragic.

  • @ИгорьИльин-ь4ш
    @ИгорьИльин-ь4ш Месяц назад

    Amazingly simple! Unfortunately, I have a poor grasp of spoken English, but I learned more useful info from your scrollbar lesson than from all the others combined! Thank you!! 👍🎆🫂

  • @thomasoreilly6140
    @thomasoreilly6140 6 месяцев назад +1

    This is such a good video. Thank you!

  • @ammarmohsen1471
    @ammarmohsen1471 10 месяцев назад

    Very wonderful explanation, thank you very much

  • @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 8 месяцев назад

      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 6 месяцев назад

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

  • @kalla103
    @kalla103 Год назад

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

  • @CarlosMagnoAlmeida-h7b
    @CarlosMagnoAlmeida-h7b 9 месяцев назад

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

  • @GrafBazooka
    @GrafBazooka 5 месяцев назад

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

  • @philipjdry1234
    @philipjdry1234 8 месяцев назад

    Can you scroll bar a group of labels and entries?

    • @janlochman1985
      @janlochman1985 8 месяцев назад

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

    • @philipjdry1234
      @philipjdry1234 8 месяцев назад +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 11 месяцев назад

      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?

  • @grayfox8547
    @grayfox8547 3 месяца назад +1

    7:30

  • @slyryan5550
    @slyryan5550 Год назад

    I love u