Modern GUI Design With CustomTkinter! – Tkinter CustomTkinter 1

In this video we’ll start to look at Modern Gui Design for Tkinter using the CustomTkinter Library.

Custom Tkinter is a great library for creating really stylish, modern looking Tkinter apps fairly easily.

In this video I’ll walk you through setting up CustomTkinter, and we’ll build a very basic starter app with a Button widget.

We’ll also look at all the theme style and color options.

Python Code: custom.py
(Github Code)


from tkinter import *
import customtkinter

# Set the theme and color options
customtkinter.set_appearance_mode("dark")  # Modes: system (default), light, dark
customtkinter.set_default_color_theme("green")  # Themes: blue (default), dark-blue, green

#root = Tk()
root = customtkinter.CTk()

root.title('Tkinter.com - Custom Tkinter!')
root.iconbitmap('images/codemy.ico')
root.geometry('600x350')


my_button = customtkinter.CTkButton(root, text="Hello World!!!")
my_button.pack(pady=80)




root.mainloop()

John Elder

John is the CEO of Codemy.com where he teaches over 100,000 students how to code! He founded one of the Internet's earliest advertising networks and sold it to a publicly company at the height of the first dot com boom. After that he developed the award-winning Submission-Spider search engine submission software that's been used by over 3 million individuals, businesses, and governments in over 42 countries. He's written several Amazon #1 best selling books on coding, and runs a popular Youtube coding channel.

View all posts

Add comment

John Elder

John is the CEO of Codemy.com where he teaches over 100,000 students how to code! He founded one of the Internet's earliest advertising networks and sold it to a publicly company at the height of...