Tkinter() Programming Overview



Tkinter  GUI Programming Overview

  • Tkinter is the standard GUI library for Python.
  • Python when combined with Tkinter, provides an easy way to create Tk() GUI interface applications.
  • Tkinter provides a powerful and very useful object-oriented interface to the Tk GUI toolkit.


Tkinter is an easy task and have 4 main steps

  • importing Tkinter module
    • Python 2 supports Tkinter module
    • Python 3 supports tkinter module. 
  • create the GUI app main window

            this is the starting step or the main step to design the first and main window

  • add widgets

            add widgets to the above created main window to give a look and options to perform certain operations to the app for the user.

  • Enter main event loop and sub event loops

             create separate events to take action against the event triggered by user at run time related to any input or opening of file or any other activity.



So the tutorial Tkinter_GUI_Window_Creation will redirect to guide you how to create a window and how to set its dimensions and other configurations. In the project section we will be combining all 4 steps explained above to create our application.






Comments

My photo
Techno Xpresss
Bangalore, Karnataka, India