Hi, Thus spoketh craf <p...@vtr.net> 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 that is > located in FSecondWindow module and create a toplevel window. > > 2.I apply a theme called 'clam' to the master window to improve the > appearance of their widgets. > > QUERY:-------------------------------------------------- > > How I can make the toplevel window also take the theme 'clam'? It should already do this, but you should use ttk widgets instead of the plain tkinter ones (in your example a ttk.Button instead of the Button). Regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. There's another way to survive. Mutual trust -- and help. -- Kirk, "Day of the Dove", stardate unknown _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss