Re: Tkinter add_cascade option_add

2005-09-15 Thread Bob Greschke
OK. I give. Here's the whole reason I'm trying to do this. At the top of the program: -- # Fonts: a constant nagging problem System = sys.platform[:3].lower() ScreenWidth = Root.winfo_screenwidth() if System == "win": if ScreenWidth <= 1024: Root.option_add(

Re: Tkinter add_cascade option_add

2005-09-15 Thread jepler
On Thu, Sep 15, 2005 at 06:11:18PM +0200, Mikael Olofsson wrote: > Is this simply a Windows-issue that cannot easily be solved? Or is it > possibly so that this just happens to be a problem on a few > ill-configured computers? Or am I possibly blind? Here's a section from the menu(n) manpage for

Re: Tkinter add_cascade option_add

2005-09-15 Thread Mikael Olofsson
Eric Brunel wrote in reply to Bob Greschke: > I'm still not sure what your exact requirements are. Do you want to have > a different font for the menu bar labels and the menu items and to set > them via an option_add? If it is what you want, I don't think you can do > it: the menus in the menu b

Re: Tkinter add_cascade option_add

2005-09-15 Thread Eric Brunel
On Wed, 14 Sep 2005 09:58:25 -0600, Bob Greschke <[EMAIL PROTECTED]> wrote: > "Eric Brunel" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> On Tue, 13 Sep 2005 22:31:31 -0600, Bob Greschke <[EMAIL PROTECTED]> wrote: >> >>> Root.option_add("*?*font", "Helvetica 12 bold") >>> >>>

Re: Tkinter add_cascade option_add

2005-09-14 Thread Bob Greschke
You can set the font for the labels on the menu bar, and you can set the font of the items in the drop down portion independently (except on Windows where you cannot control the font of the menu bar labels). I just don't know how to set the font for the menu bar labels using an option_add comm

Re: Tkinter add_cascade option_add

2005-09-13 Thread Eric Brunel
On Tue, 13 Sep 2005 22:31:31 -0600, Bob Greschke <[EMAIL PROTECTED]> wrote: > Root.option_add("*?*font", "Helvetica 12 bold") > > Want to get rid of the "font =": > Widget.add_cascade(label = "File", menu = Fi, font = "Helvetica 12 bold") > > Does anyone know what ? should be to control th