VOOZH about

URL: https://www.geeksforgeeks.org/python/python-panedwindow-widget-in-tkinter/

⇱ Python | PanedWindow Widget in Tkinter - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Python | PanedWindow Widget in Tkinter

Last Updated : 7 Jun, 2019
Tkinter supports a variety of widgets to make GUI more and more attractive and functional. The PanedWindow widget is a geometry manager widget, which can contain one or more child widgets panes. The child widgets can be resized by the user, by moving separator lines sashes using the mouse.
Syntax: PanedWindow(master, **options) Parameters: master: parent widget or main Tk() object options: which are passed in config method or directly in the constructor
PanedWindow can be used to implement common 2-panes or 3-panes but multiple panes can be used. Code #1:PanedWindow with only two panes Output: 👁 Image
  Code #2: PanedWindow with multiple panes
Output: 👁 Image
Comment
Article Tags: