radiovar.get() seems to work fine for me with the code you provided.
You mention .get() but you never say radiovar.get(), so is that what
you meant? Also, radiovar.set(2) works as well for changing the
selection.
- Charlie
On 2/13/06, Martin Weisel wrote:
> Hi folks,
>
> I figured out how to p
Hi folks,
I figured out how to preselect a Radiobutton in a Tkinter-GUI. One ought to
use .select() instead of .set().
But now I've come up with another problem: How do I get the actual value of
that Radiobutton? For some reason .get() is returning 0 all the times.
from Tkinter import *
radio =
Hi everybody.
I'm currently trying to create a pop-up GUI with Radiobuttons (e.g.
checkboxes). I don't know why initial highlighting of a specific Checkbox
won't work. Attribute .set() fails at this point (see below), although
the GUI looks nice.
from Tkinter import *
root = Tk()
def