introduction to gui programming in python

introduction-gui-programming-python
introduction to GUI programming in python

    Introduction to GUI Programming in Python

    Tkinter is the standard GUI library for Python. Python when combined with Tkinter provides a fast and easy way to create GUI applications. Tkinter provides a powerful object-oriented interface to the Tk GUI toolkit.

    Creating a GUI application using Tkinter is an easy task. All you need to do is perform the following steps.

    1. Import the Tkinter module.

    2. Create the GUI application main window.

    3. Add one or more widgets to the GUI application.

    4. Enter the main event loop to take action against each event triggered by the user.

    How to use python Tkinter GUI application.

    from tkinter import *

    win = Tk()

    win.title("Python Tkinter")

    win.geometry('300x400')

    text=Text(win)

    text.insert(INSERT,"Welcome To Python Tkinter Course")

    text.pack()

    win.mainloop()


    *****OUTPUT*****


    Post a Comment

    0 Comments