by removing global 'demo'. Simple fix because 2.7/3.4 fix cannot merge.
self.mBar = Frame(root, relief=RAISED, borderwidth=2)
self.ExamplesBtn = self.makeLoadDemoMenu()
self.OptionsBtn = self.makeHelpMenu()
- self.mBar.tk_menuBar(self.ExamplesBtn, self.OptionsBtn)
+ #self.mBar.tk_menuBar(self.ExamplesBtn, self.OptionsBtn)
self.mBar.grid(row=0, columnspan=4, sticky='news')
pane = PanedWindow(orient=HORIZONTAL, sashwidth=5,
def main():
+ global demo
demo = DemoWindow()
demo.root.mainloop()