![]() To change the name of the window, you can change the className to the desired one. Tk(screenName=None, baseName=None, className=’Tk’, useTk=1) To create a main window, tkinter offers a method There are two main methods used you the user need to remember while creating the Python application with GUI.ġ. Note that the name of the module in Python 2.x is ‘ Tkinter’ and in Python 3.x is ‘ tkinter’. Importing tkinter is same as importing any other module in the python code. Add any number of widgets to the main windowĤ. Creating a GUI using tkinter is an easy task. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |