0% found this document useful (0 votes)
39 views

Day 26 Python Assignment

Tkinter creates the root window which every tkinter application must have and also creates a tcl interpreter. A frame is a widget that can contain other widgets but cannot act as a standalone window and requires an instance of Tkinter to exist. The root window manages the entire GUI application while a frame is a container for grouping and organizing other widgets.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

Day 26 Python Assignment

Tkinter creates the root window which every tkinter application must have and also creates a tcl interpreter. A frame is a widget that can contain other widgets but cannot act as a standalone window and requires an instance of Tkinter to exist. The root window manages the entire GUI application while a frame is a container for grouping and organizing other widgets.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

>> What is the difference between tkinter window and frame?

Tkinter creates the root window. Every tkinter application must have a root window. When you instantiate it you also create a
tcl interpreter that is used by tkinter.

Frame is just a widget, designed to be a container for other widgets. It cannot act as a standalone window. An instance
of Frame cannot exist without an instance of Tkinter -- if you don't explicitly create an instance of Tkinter, one will be created for
you.

You might also like