Python Tkinter LabelFrame

Tkinter LabelFrame

Tkinter is a Python module which is used to create GUI (Graphical User Interface) applications.

The LabelFrame widget is used to draw a border around its child widgets. We can also display the title for the LabelFrame widget.

To create widgets inside a LabelFrame widget, one creates the new widgets relative to the frame subwidget and manage them inside the frame subwidget.

Syntax:

                   
 w = LabelFrame( master, option, ... )


Example:

Output: