Tkinter is the standard Python interface to the Tk GUI toolkit. It is the most commonly used method for creating graphical user interfaces with Python. Tkinter provides a powerful object-oriented interface to the Tk GUI toolkit, allowing you to create complex GUI applications. It supports a variety of widgets, such as labels, buttons, text boxes, and more, which can be used to build custom windows with various functionalities.
I am fascinated by Tkinter and wanted to take a deep dive into learning it. This is my deep dive.
While this a deep dive into tkinter, these are not exhaustive examples.
I will go through many of the GUI widgets:
- MainWindow
- PhotoImage
- Label
- Entry
- Button
- messagebox
- Checkbutton
- Radiobutton
- Scale
- Listbox
- colorchooser
- Text
- filedialog
- Menu
- Frame
- Toplevel
- Progressbar
- Canvas
- Scrollbar
- ScrolledText
- ComboBox
- TreeView
- Spinbox
- LabelFrame
- Menubutton
- Separator
- Sizegrip
- tkcalendar
- tkPDFViewer
- CheckboxTreeview
- And more...
I will also learn and demonstrate how to catch events.
- Key Events from the keyboard
- Mouse events
I will also learn and demonstrate how to use many python packages.
- vlc to play video files
- pygame to play audio files
- timedelta to convert time in hh:mm:ss format
- working with pdf files
- working with zip/unzip
- how to resize any image
- multi-language translation
- BeautifulSoup for web scraping
- qrcode to work with QR codes
- gTTS for Text to Speech
- random to generate a number randomly
I will continue to add to this repo as I learn more.