Tkinter - Pygubu Designer - Radio Button

Опубликовано: 24 Декабрь 2025
на канале: JobinPy
1,439
31

I'll show you how to use radio buttons in Tkinter using Pygubu Designer.
We'll cover how to:
Get the selection of a radio button without using tk variables
Get the selection of a radio button using a tk variable
Set the default radio button selection
The general usage of radio buttons in Tkinter using Pygubu Designer.

For instructions on how to download Pygubu Designer, please visit:
https://github.com/alejandroautalan/p...

0:00 Intro
1:11 Create Pygubu Project
4:04 Set values
5:01 Button command callback
5:27 Save Pygubu Project
5:47 Generate code
6:19 Unique selections
8:13 Get selection without a tk variable
11:42 Set default radio button
13:37 Get selection using a tk variable
17:29 Outro

#tkinter #pygubu #pygubudesigner #pythonguitutorial #pythongui