How to do it...

We add the following code to the previous recipe:

GUI_radiobutton_widget.py

Running this code and selecting the Radiobutton named Gold creates the following window: