Tkinter – Separator Widget
Tkinter supports a variety of widgets to make GUI more and more attractive and functional. The Separator widget is used to partition the tkinter widgets such as label, buttons etc. Using this widget we can make our design more attractive and intuitive. Now we will see how to implement this widget.
- master: parent widget or main Tk() object
- orient: vertical or horizontal
Below are the programs which depict the use of Separator Widget in Tkinter:
In the above program, the vertical without separator output will be generated only. However, a tkinter window without separator looks like this:
In the above program, the horizontal without separator output will be generated only. However, a tkinter window without a separator looks like this:
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course