Tkinter checkbutton menu item,

Martin Franklin martin.franklin at waii.com
Fri Aug 25 04:19:31 EDT 2000


Well, thanks Richard, but I atempted to re-write just the 'problem code'
to send in ( the original is a few hundred lines) and guess what...  I 
can't reproduce the problem!  Looks like I need to take the original 
code apart bit by bit and take a good look at it!



Richard Chamberlain wrote:
> 
> Hi Martin,
> 
> Can you show this in a small amount of code.
> 
> Thanks
> 
> Richard
> 
> Martin Franklin wrote:
> >
> > Hi,
> >
> > I have a problem with my checkbutton menu items.....
> > I have a `main` python program that calls in a new window
> > and displays a canvas with some graphs on....  This new window
> > has it's own menu bar and a couple of menu items are check buttons.
> >
> > Ok so far.
> >
> > When I destroy this new window and call it up again from my main program
> > the checkbuttons that I changed in the first instance 'remember' they
> > were checked and look reversed if you know what I mean.  This
> > new window is in it's own class in a seperate module.  I have tried to
> > reload the module but still it remembers...
> >
> >
> > Q.  Why....how...
> >
> > TIA
> > Martin.
> >
> > BTW i'm using 1.5.2 on 3xUnix, RH Linux and Win*
> --
> http://www.python.org/mailman/listinfo/python-list

-- 
          Martin Franklin Workstation Support
      (Tel. Work 01234 224793, Home 01234 881722)
Western G., Manton Lane, Bedford, Bedfordshire, MK41 7PA
           martin.franklin at bedford.waii.com




More information about the Python-list mailing list