Skip to content

Update README.md #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
# TkinterPractice
Practicing with Tkinter for Graphical User Interfaces in Python

-----------------------------------BASICS------------------------------------------------
Python = is a Dynamically Typed, Object Oriented Programming Language
-----------------------------------------------------------------------------------------
Tkinter = Inbuilt Python module --> to create simple GUI apps
= Standard Python interface to Tk GUI toolkit.

Tkinter is the standard GUI library for Python.
Python when combined with Tkinter provides a fast and easy way to create GUI applications.

Tk = is the toolkit

mainloop() = Most important function while working with Tkinter. = You must call mainloop only one time. = It is an infinite loop.

-----------------------------BASIC Code for Tkinter----------------------------------

from tkinter import *
root = Tk() # 'root' is object of 'Tk' class
# creates a basic gui # basic default compoments present in GUI
# A base is created -> for GUI Development
# we can create button, menu bar,etc on this base

root.mainloop() # event loop -> called only once
-------------------------------------------------------------------------------------------