Tkinter GUI Framework Introduction

 

Tkinter GUI Framework

                    Tkinter is a Python GUI framework for build desktop applications. Python has many framework packages, But Tkinter is one only the standard GUI framework package of Python. It is light-weighted and very easy to use. It is easy to learn for beginners. Its main advantage is it’s cross-platform so we can run the Tkinter app on windows, macOS, and Linux. Tkinter gives a powerful object-oriented interface to the Tk GUI toolkit. We can also run a Tkinter app without a Python interpreter. So you can send your project to your friends, relatives or clients. But one thing, if you want to run a Tkinter application without Python installation, then you want to download the Autopy library for that.

Creating Tkinter window:

Creating a Tkinter window is a procedure. This procedure 3 steps.

Step 1:    Import Tkinter library to the program.


Step 2:   Create an object for Tk ()     (Tk – Toolkit)

Step 3:   Call mainloop ()



 

0/Post a Comment/Comments

Previous Post Next Post