Re: [Tkinter-discuss] Using a window style in a Toplevel window

2010-12-03 Thread Michael Lange
Hi, Thus spoketh craf unto us on Fri, 03 Dec 2010 14:04:27 -0300: (...) > def window(): > t = Toplevel() > button2 = Button(t,text='Hello').pack() > > > CODE EXPLANATION:--- > > 1. From the main module FMain.py call the window function

[Tkinter-discuss] Using a window style in a Toplevel window

2010-12-03 Thread craf
Hi. I use Python 3.1 and Tkinter.ttk 8.5 on Ubuntu 9.10. CODE: module:FMain.py from tkinter import ttk from FSecondWindow import * class App: def __init__(self,master): button1 = ttk.Button(master,text='Show TopLevel',command=lam

[Tkinter-discuss] Using a window style in a Toplevel window

2010-12-03 Thread craf
Hi. I use Python 3.1 and Tkinter.ttk 8.5 on Ubuntu 9.10. CODE: module:FMain.py from tkinter import ttk from FSecondWindow import * class App: def __init__(self,master): button1 = ttk.Button(master,text='Show TopLevel',command=lam