Re: [Tkinter-discuss] Fwd: LabelFrame question: UPDATE

2012-02-28 Thread Michael Lange
Hi, Thus spoketh Lynn Oliver unto us on Tue, 28 Feb 2012 12:51:36 -0800: > My apologies, but on further investigation I discovered that the > problem is solved if I put "Tkinter import " after "from ttk import " > it works. > > The order was wrong in the main routine, but it seems that impor

Re: [Tkinter-discuss] LabelFrame question: why do options change when importing from tkFileDialog?

2012-02-28 Thread Lynn Oliver
While I was chasing this down Bryan provided the correct answer. Thanks, Bryan. I believe I will follow your advice. On Feb 28, 2012, at 12:47 PM, Bryan Oakley wrote: > On Tue, Feb 28, 2012 at 1:22 PM, Lynn Oliver wrote: >> I've discovered that 'bd=4' and 'font=...' both work if I import: >>

[Tkinter-discuss] Fwd: LabelFrame question: UPDATE

2012-02-28 Thread Lynn Oliver
My apologies, but on further investigation I discovered that the problem is solved if I put "Tkinter import " after "from ttk import " it works. The order was wrong in the main routine, but it seems that importing another module that imports Tkinter will fix the conflict. Begin forwarded me

Re: [Tkinter-discuss] LabelFrame question: why do options change when importing from tkFileDialog?

2012-02-28 Thread Bryan Oakley
On Tue, Feb 28, 2012 at 1:22 PM, Lynn Oliver wrote: > I've discovered that 'bd=4' and 'font=...' both work if I import: > from tkFileDialog import askopenfilename, asksaveasfilename, askdirectory > from Tkinter import * > import tkFont > from ttk import * > > And they both fail if I import only: >

Re: [Tkinter-discuss] LabelFrame question: why do options change when importing from tkFileDialog?

2012-02-28 Thread Lion Kimbro
I don't know for sure, but just an off-the-cuff hunch: The ttk widgets have different signatures than the Tk widgets. I think that these arguments that you are setting are (if I recall correctly) some of the arguments that are different. I am wondering if somehow you have an import * clobbe

[Tkinter-discuss] LabelFrame question: why do options change when importing from tkFileDialog?

2012-02-28 Thread Lynn Oliver
I have a main module that includes this statement correctly: self.fc_inFrame = LabelFrame(self.fc_Frame, height=150, width=300, text="Input File Type", labelanchor=NW, relief="groove", bd=4, font=self.boldfont) When I move that statement to another module, I get: _tkinter.TclError: unknown optio