Connect One Scrollbar To Multiple TextBoxes - Python Tkinter GUI Tutorial 196
9.2 هزار بار بازدید -
3 سال پیش
-
In this video I'll show
In this video I'll show you how to link multiple widgets, like text boxes, with one scrollbar.
This method will work with anything that uses a Scrollbar with Tkinter (listboxes, frames, textboxes, anything at all).
We'll create a custom function and pass in some *args to make this all work.
#tkinter #codemy #JohnElder
Timecodes
0:00 - Introduction
0:49 - Create Frame
1:06 - Create Two TextBoxes
2:29 - Add Scrollbar yscrollcommand To Text Boxes
3:06 - Create Scrollbar
3:38 - Configure The Scrollbar
4:11 - Create Multiple_yview Function
5:02 - Test It Out!
5:53 - Print Out *args For Fun
6:55 - Conclusion
This method will work with anything that uses a Scrollbar with Tkinter (listboxes, frames, textboxes, anything at all).
We'll create a custom function and pass in some *args to make this all work.
#tkinter #codemy #JohnElder
Timecodes
0:00 - Introduction
0:49 - Create Frame
1:06 - Create Two TextBoxes
2:29 - Add Scrollbar yscrollcommand To Text Boxes
3:06 - Create Scrollbar
3:38 - Configure The Scrollbar
4:11 - Create Multiple_yview Function
5:02 - Test It Out!
5:53 - Print Out *args For Fun
6:55 - Conclusion
3 سال پیش
در تاریخ 1400/08/11 منتشر شده
است.
9,283
بـار بازدید شده