What is grid() in Tkinter? Okay, imagine your app is like a spreadsheet. You’ve got rows and columns. With grid(), you can tell Python: “Hey, I want this button in row 1, column 0.” And boom! It lands ...
In any Tkinter program, the first thing you need is a window. This window will act as a container for your app. This line brings the Tkinter library into your program. We give it the nickname tk so we ...
So far we have seen labels, buttons, images, etc in Python’s built-in toolkit Tkinter. With any of the widgets, we were using a method called pack(). And if you are like me you would love to explore ...
Hey there! In this tutorial, I’m going to help you understand how Tkinter event binding works. It’s a cool feature in Tkinter that allows you to connect functions to specific events. Basically, when ...
So, you probably know that Tkinter has been around forever—we’re talking since 1991. It’s like the grandparent of Python GUIs. And yeah, it’s cool, but sometimes you just want something that feels a ...
Hello, Pythonistas Welcome Back. Today we will see how to make a modern Label in CustomTkinter. We will use the CTkLabel Widget. Like any other widget in CTk, it is first created and then it is pushed ...
Hello, Pythonistas Welcome Back. Today we will see how to make a fully functional modern combobox in CustomTkinter. We will use the CTkComboBox Widget. Like any other widget in CTk, it is first ...
Hello, Pythonistas Welcome Back. Today we will see how to make a modern OptionMenu in CustomTkinter. We will use the CTkOptionMenu Widget. This is how you can make a simple OptionMenu in CustomTkinter ...
Hello, Pythonistas Welcome Back. Today we will see how to make a fully functional modern top-level window in CustomTkinter. We will use the CTkToplevel. This is how you can make a simple top-level ...
Hello Pythonistas, welcome back. Today we will see how to use the CTkFrame widget in customtkinter. A CTkFrame is a widget that displays as a simple rectangle. Typically, you use a frame to organize ...
Hello, Pythonistas Welcome Back. Today we will see how to make a fully functional modern Scroll bar in CustomTkinter. We will use the CTkScrollbar Widget. Like any other widget in CTk, it is created ...
One thing to note here is you can also use double triple quotes for multiline strings(""" """ like this). Do you remember I said(ok wrote) there is something called unassigned strings in this post?