Python Forum
[PyGUI] Create a scrollbar in GUI to add test cases - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: [PyGUI] Create a scrollbar in GUI to add test cases (/thread-13094.html)



Create a scrollbar in GUI to add test cases - mamta_parida - Sep-27-2018

Hello

Actually i created a GUI to test some of the devices now the frame geometry i fixed to (1176x768) in same all the test cases want to accommodate but its not possible. So want to add scroll bar inside the frame. So any body having any idea how to add scroll bar inside a frame using class than please help me which will be very helpful for me.


RE: Create a scrollbar in GUI to add test cases - Larz60+ - Sep-27-2018

Assuming you are using tkinter (as you don't say) you can look at a program that I wrote:
I have an example here: https://github.com/Larz60p/CaliforniaPublicSalaries/blob/master/src/CaCompGui.py
search for self.txscroll