Table of Contents
The GRadio widget provides the script write with the ability to present a set mutually exclusive options. This widget functions much the same as the Tkinter.Radiobutton. However this allows you to attach a run-time variable from grail.rtv; as well as, group all your options under one single widget.
The following example presents the user with three options. When the user closes the dialog the chosen option will be written to the console.
The script above will generate a widget that is shown in the figure below,
Example of the GRadio widget.
Creates a set of radio buttons. This allows a script writer to present the user with a mutual exclusive list of options.
The keyword variable is ignored.