python - How to change the colour of menu in Tkinter under windows? -


i'm using windows xp. want change menubar , labels foreground , background in tkinter. but, i'm unable change. can change in windows xp or have upgrade windows 7.

from tkinter import * root = tk()  menubar = menu(root) menubar.add_command(label = 'label1', command = log, background = 'black', foreground = 'red')  root.config(menu=menubar) root.mainloop() 

i'm able display want , code working in linux. but, it's not changing color in window. need use additional commands make work?

there nothing can do. tkinter uses native menu object menus, means have same , feel of other windows menus.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -