How to highlight Label/Text in tkinter ?

2010-11-03 Thread VGNU Linux
Hi, I am writing a program teach myself python and tkinter. Below given is a program which displays label with different fonts and sizes. How to highlight text and change font size if the up/down arrow keys are pressed ? from Tkinter import * import tkFont class MyFrame(Frame): def

Re: How to highlight Label/Text in tkinter ?

2010-11-03 Thread VGNU Linux
I was able to solve the problem. But unable to use Label or Text widget. Any idea as to why focus does not work with Label or Text widget. Here is the program using button widget. from Tkinter import * import tkFont class DisplayFrame: Uses GUI to display contacts def