Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scrolling in Python
#3
(Nov-23-2023, 07:02 AM)Pedroski55 Wrote: I remember putting a scrollbar in a text frame, frame2, within a window, so I could scroll up and down in the text as the output grew. That looked like this:

vsb = tk.Scrollbar(frame2, orient="vertical", command=text_area.yview)
vsb.grid(row=0, column=1, sticky='ns')
text_area.configure(yscrollcommand=vsb.set)
But if you search tkinter scrollbar, I'm sure you'll find what you want!
I answered in the following post it is clearer in terms of what is needed. There is already a subwindow and I can't scroll it. (The subwindow is inside the program I want to scroll.)
Reply


Messages In This Thread
Scrolling in Python - by newpyt - Nov-23-2023, 12:51 AM
RE: Scrolling in Python - by Pedroski55 - Nov-23-2023, 07:02 AM
RE: Scrolling in Python - by newpyt - Nov-23-2023, 07:15 AM
RE: Scrolling in Python - by newpyt - Nov-23-2023, 07:27 AM
RE: Scrolling in Python - by deanhystad - Nov-23-2023, 02:39 PM
RE: Scrolling in Python - by newpyt - Nov-23-2023, 09:07 PM
RE: Scrolling in Python - by newpyt - Nov-23-2023, 09:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  help with scrolling text on RGB Matrix Foutsy 3 462 Apr-09-2024, 09:00 PM
Last Post: deanhystad
  raspberry use scrolling text two lines together fishbone 0 1,497 Sep-06-2021, 03:24 AM
Last Post: fishbone
  Can Python be used to create scrolling credits (as follows) digger 3 3,043 Aug-27-2021, 03:15 PM
Last Post: Larz60+
  How to scrolling Picture in x axis kalihotname 1 2,313 Jun-16-2020, 12:18 PM
Last Post: DeaD_EyE
  scrolling a text using loop ebolisa 1 3,392 Apr-27-2019, 02:31 PM
Last Post: ebolisa
  20 x 4 Line 2 scrolling text for LCD-I2C Display RoadieMunky 2 4,897 Mar-04-2018, 10:17 AM
Last Post: RoadieMunky

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020