Python Forum
[Tkinter] How to create radiobutton in numpy gui python?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] How to create radiobutton in numpy gui python?

the first link is the gui I create, how can i put radiobutton (like in the second link) to my gui script?
The Tkinter Radiobutton Widget
With tkinter you can link a radio button to a variable, like so:

Radiobutton(master, text="One", variable=v, value=1).pack(anchor=W)
Radiobutton(master, text="Two", variable=v, value=2).pack(anchor=W)

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to dynamically change radiobutton text kenwatts275 2 1,202 Mar-05-2021, 02:25 AM
Last Post: deanhystad
  Python3 tkinter radiobutton problem Nick_tkinter 14 1,827 Feb-15-2021, 11:01 PM
Last Post: Nick_tkinter
  [Tkinter] RadioButton Maryan 2 801 Oct-23-2020, 09:36 PM
Last Post: Maryan
  Tkinter: increasing numbers and Radiobutton issue PeroPuri 1 898 Apr-13-2020, 05:48 PM
Last Post: deanhystad
  [PyQt] how to deselect radiobutton in pyqt5 atlass218 3 6,527 Oct-23-2019, 03:25 PM
Last Post: Denni
  [Tkinter] Clicking a RadioButton in a for Loop & Getting the Appropriate Return Vicolas 1 3,132 Feb-02-2019, 01:53 AM
Last Post: woooee
  [Tkinter] Radiobutton in Tkinter not Updating Variable from Value Aidan54321 1 5,469 Jun-16-2017, 11:08 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020