Re: tkgui problem

"Joseph A. Knapka" <[email protected]>
Newsgroups gmane.comp.python.anygui.devel
Message-ID <[email protected]>
"Joseph A. Knapka" wrote:
> 
> Magnus Lie Hetland wrote:
> >
> > While working on javagui RadioButton support, I ran tkgui on
> > test_radiobutton for comparison -- when I clicked, it crashed with the
> > message:
> >
> >   ValueError: invalid literal for int():
> >
> > I assume the value was None, since there is no repr showing. The error
> > was in line 471:
> >
> >   return self._var.get() == int(self.widget.cget('value'))
> >
> > which in turn ran the following line (234) from Tkinter.py:
> >
> >   return getint(self._tk.globalgetvar(self._name))
> >
> > I don't know what this is -- I'll just keep working in the javagui
> > stuff for now, and hope that someone else can see what's going on :)
> >
> 
> Fixed in my code, but I can't seem to check anything in
> at the moment - no answer from the CVS server.

And FYI, the tkgui behavior is that when you check the
radiobutton, you get a 'click' event, but the button
state does not change. I have no idea if this is the
"correct" behavior or not, for reasons we've discussed
before :-)

-- Joe
  "I'd rather chew my leg off than maintain Java code, which
   sucks, 'cause I have a lot of Java code to maintain and
   the leg surgery is starting to get expensive." - Me


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.