Re: Tkinter menu checkbutton not working

2010-06-12 Thread Dodo
Le 09/06/2010 20:37, rantingrick a écrit : On Jun 9, 12:20 pm, Dodo wrote: Le 09/06/2010 18:54, rantingrick a crit : On Jun 9, 11:26 am, Dodowrote: Hello, I trying to make this piece of code work (this is python3) from tkinter import * from tkinter.ttk import * class Window:

Re: Tkinter menu checkbutton not working

2010-06-09 Thread rantingrick
On Jun 9, 12:20 pm, Dodo wrote: > Le 09/06/2010 18:54, rantingrick a crit : > > > > > > > On Jun 9, 11:26 am, Dodo  wrote: > >> Hello, > > >> I trying to make this piece of code work (this is python3) > > >> from tkinter import * > >> from tkinter.ttk import * > > >> class Window: > >>    def __in

Re: Tkinter menu checkbutton not working

2010-06-09 Thread Dodo
Le 09/06/2010 18:54, rantingrick a écrit : On Jun 9, 11:26 am, Dodo wrote: Hello, I trying to make this piece of code work (this is python3) from tkinter import * from tkinter.ttk import * class Window: def __init__(self): self.root = Tk() self.menu = Menu(self.root) self.roo

Re: Tkinter menu checkbutton not working

2010-06-09 Thread rantingrick
On Jun 9, 11:26 am, Dodo wrote: Also you are now NOT using 8 space indention unlike your last post -- which i applaud you for. However you've gone to the opposite extreme with 2 space indention and interlaced it with one space indention, oh dear! Please use four space indention as this is the p

Re: [py3] Tkinter menu checkbutton not working

2010-06-09 Thread Terry Reedy
On 6/9/2010 12:26 PM, Dodo wrote: Hello, I trying to make this piece of code work (this is python3) from tkinter import * from tkinter.ttk import * class Window: def __init__(self): self.root = Tk() self.menu = Menu(self.root) self.root['menu'] = self.menu self.submenu = Menu(self.menu) self

Re: Tkinter menu checkbutton not working

2010-06-09 Thread rantingrick
On Jun 9, 11:26 am, Dodo wrote: > Hello, > > I trying to make this piece of code work (this is python3) > > from tkinter import * > from tkinter.ttk import * > > class Window: >   def __init__(self): >    self.root = Tk() > >    self.menu = Menu(self.root) >    self.root['menu'] = self.menu > >  

[py3] Tkinter menu checkbutton not working

2010-06-09 Thread Dodo
Hello, I trying to make this piece of code work (this is python3) from tkinter import * from tkinter.ttk import * class Window: def __init__(self): self.root = Tk() self.menu = Menu(self.root) self.root['menu'] = self.menu self.submenu = Menu(self.menu) self.ck = 0 self.submenu.a