# Tkinter GUI and Gaming Introduction

Learn how to build a Tkinter GUI with labels, buttons, layouts, and entries. This topic gives you the foundation to build your ideas using the Tkinter Python GUI.

#### TECHNOLOGIES

Tkinter

#### WATCH TIME

79 minutes

## Lessons

#### Creating Labels in Tkinter

Learn how to add text to your screen within a Tkinter Module by initializing a label and use the pack function to pack the function on to the screen.

4 min

#### Getting Entry Data from GUI Inputs

Explore how to get data from entries within a Tkinter application. Understand how to get an entries value upon a user button click.

9 min

#### Adding GUI Login

Add additional GUI elements to complete a mock login within the Tkinter GUI. Experiment with aligning objects using the Sticky function

4 min

#### Creating Check Buttons in Tkinter

Use a check button with the Tkinter module to provide a checkbox GUI object to the user.

4 min

#### More Binding in Tkinter

Build on the concept of binding by experimenting with seven different functions to produce different results.

7 min

#### The Tkinter Fill Method

Learn about the concept of fill, how the concept can be used with the Tkinter module, experiment with interactive fill.

7 min

#### Understanding the Grid Layout

Learn about the Grid based layout and use rows and columns to position objects within the Tkinter GUI object.

6 min

#### Inputting Entries in Tkinter

Learn the basics of entries, with labels and text boxes, to allow users to input text.

1 min

#### Creating Drop Down Menus in Tkinter

Learn how to create drop down menus for your Tkinter Python GUI.

8 min

#### Adding a Message Box

Understand how to use a message box or a dialogue box in Python in order to show an alert to the user.

8 min

#### Adding Button Click Action in Tkinter

Learn about the command parameter within a Tkinter button to print a statement to the terminal and perform a function via a button.

4 min

#### Binding Button Functions to Tkinter Objects

Learn about the concept of binding, a concept that stems from events. This is especially important when gaming to bind the action of a user to an event desired to be performed.

5 min

#### Introduction to Tkinter + GUIs

Learn about the Tkinter module in the Python GUI by creating a basic Tkinter window. Using the Tkinter module, you'll be able to create applications, games, or anything else you can imagine.

5 min

#### Adding Layouts to Tkinter

Learn how to change the placement of the buttons on a Python GUI using frames. Using frames, you'll be able to change the layout of your content of your GUI.

9 min

#### Creating Buttons in Tkinter

Learn how to initialize and pack buttons using the Tkinter module for your Python GUI, as well as how to set the button foreground.

5 min

### Hey! I’m Avi, and I’ll teach you how to build!

I'm Avi, your new Python instructor and founder of The Codex.

Three years ago I was stuck. I wasn’t learning anything in my theory-filled CS classes, my friends took pictures of me sleeping in lecture, and I was questioning why I was even learning CS to begin with. I had ideas but I was clueless on execution.

After watching hours of webcasted YouTube videos, enrolling in course after course, and struggling to stay motivated, I finally obtained the skills to bring my ideas to life. I realized how lonely and gruesome this process was.

If you’re a student just like me, you know exactly what it’s like to be stuck in course hell. The best programmers of today learned by doing, not by reading syntax in a textbook.

Join The Codex. Become a creator.

## Savvy Students ❤️ The Codex

The Codex has helped hundreds of students find jobs and build their dream projects.

“CS classes at UW were overwhelming and full of theory. Through The Codex, I realized the power of Python programming, built _numerous projects for my resume_ and ultimately landed an internship at Amazon.“

Arjun Malhotra

University of Washington, 2022

SDE Internship, Amazon
