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, Dodododo_do_not_wake...@yahoo.fr wrote: Le 09/06/2010 18:54, rantingrick a crit : On Jun 9, 11:26 am, Dodododo_do_not_wake...@yahoo.frwrote: Hello, I trying to make this piece of code work (this is python3) from

[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

Re: Tkinter menu checkbutton not working

2010-06-09 Thread rantingrick
On Jun 9, 11:26 am, Dodo dodo_do_not_wake...@yahoo.fr 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'] =

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)

Re: Tkinter menu checkbutton not working

2010-06-09 Thread rantingrick
On Jun 9, 11:26 am, Dodo dodo_do_not_wake...@yahoo.fr wrote: snip 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

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, Dodododo_do_not_wake...@yahoo.fr 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 =

Re: Tkinter menu checkbutton not working

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