473,382 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Tkinter, Menu(bar) font size

Option adding "Menu*font" changes the font size of the _commands,
_radiobuttons, etc., but not the "File", "Edit", etc. labels on the menubar
itself. What is the name for those labels? If I go

Top.add_cascade(Label = "File", menu = Fi, font = "Courier 20")

they change, but I can't figure out the name for the option_add.

I'm not really trying to use Courier 20. :)

Thanks!

Bob
Aug 2 '05 #1
2 9141
Tk tries to use the "native" menu control on Windows (and, I think, MacOS).
One result seems to be that for the application's menu bar you can't change the
font.

Of course, Windows provides a way for users to select a uniform font for
menu bars in all applications, in the Display control panel.

Jeff

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFC7sgVJd01MZaTXX0RAmVqAKCJZPKh6SYxHfWrAZaKOg MpPJXXiQCfU2pb
S+NhDYDVcYppcK5DBOATMsI=
=IDrq
-----END PGP SIGNATURE-----

Aug 2 '05 #2
Yeah. It works on a Sun and Linux, but not Windows. That stinks. We got a
bunch of 1400x1050 display laptops in and now I have to run around changing
a bunch of programs that looked fine on 1024x768 displays.

Thanks!

<je****@unpythonic.net> wrote in message
news:ma***************************************@pyt hon.org...

Tk tries to use the "native" menu control on Windows (and, I think, MacOS).
One result seems to be that for the application's menu bar you can't change
the
font.

Of course, Windows provides a way for users to select a uniform font for
menu bars in all applications, in the Display control panel.

Jeff
Aug 2 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bryan Rickard | last post by:
Is there a way to increase the font size in the menu bar of applications built using VB6? TIA - Bryan
3
by: John Pote | last post by:
I have a menu bar in a top level window as follows menuBar = Menu(rootWin) menuBar.add_command( label='Quit', command=rootWin.quit) configMenu = Menu(menuBar, tearoff=0)...
3
by: Andy Dingley | last post by:
I need a menu bar - the "tabbed folders" look, nothing particularly odd. A highlighted tab for "current" and rollover highlighting too. If this were for my own site, I'd do something like the...
0
by: vvlado | last post by:
Hello, How can I set another font (or another national CHARSET) to the Menu bar in MDI App? VC++6(MFC) Thanks for any help
2
by: Dugi | last post by:
Hello, How can I set another font (or another national CHARSET) to the Menu bar in MDI App? VC++6(MFC) Thanks for any help
3
by: Dennis | last post by:
Is there any way to change the font size and bold for a form's menu without changing the system font? I am getting old and would like to have a larger menu font matching the font used in my form...
3
by: Mike | last post by:
I have made a menu bar with CSS and it works perfectly with IE. But it's *way* off in FF. I have fiddled with it for quite some time and can't get it to cooperate. Can anyone help? ...
0
by: hathan | last post by:
I am new to programming and I need to create a program that changes the font type on the displayed text. To do this i must create a menu bar and have font as a choses next to file. I have generated a...
1
by: Kevin Killion | last post by:
I am building a website for a school, but running into a display problem between IE and CSS. (The site is http://stmary-stthomas.org/ ) The main horizontal menu bar looks just fine on Mac and PC...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.