Thursday, 11 September, 2025г.
russian english deutsch french spanish portuguese czech greek georgian chinese japanese korean indonesian turkish thai uzbek

пример: покупка автомобиля в Запорожье

 

Python GUI Tutorial - 24 - Radiobutton | Tkinter

Python GUI Tutorial - 24 - Radiobutton | TkinterУ вашего броузера проблема в совместимости с HTML5
In this video, you'll learn about Radiobuttonsin Tkinter. It is very easy to create and use Radiobutton in TKinter. Here is the example - from tkinter import * def click_me(): print(i.get()) root = Tk() i = StringVar() r1 = Radiobutton(root, text="male", value="radio 1", variable=i) r2 = Radiobutton(root, text="female", value="radio 2", variable=i) r1.pack() r2.pack() button = Button(root, text="check", command=click_me) button.pack() root.geometry("300x300+120+120") root.mainloop() ------------------------------------------------------- i am sure your queries like- - how to create radiobutton in tkinter? - how to create radio buttons in tkinter? - how to craete Radiobutton in tkinter in hindi? - how to get value from Radiobutton in tkinter? - how to know whether Radiobutton is clicked or not in tkinter? - how to checked or unchecked radio button in tkinter? - how to get string value from a radio button after clicked or unclicked? - how to fetch the value of radiobutton on clicking a button in tkinter? have been solved. If you have any problem related with this video then please let us know in comment box. we'll reply as soon as possible. Thanks. contact us facebook - https://facebook.com/programmingcage
Мой аккаунт