two questions on tkinter

Hans Nowak wurmy at earthlink.net
Thu Aug 22 02:25:54 CEST 2002


Michele Simionato wrote:
> I have a couple of questions on Tkinter.
> 
> 1. First, how do I bind special keys like #,$,>,<,;0123456789 etc ? How
> do I bind Space key ? Are the Windows keys recognized ?

See:

http://www.pythonware.com/library/tkinter/introduction/events-and-bindings.htm

Not sure about the Windows keys.

> 2. How do I use colors in the Text widget ? For instance I would like to
> write RED GREEN BLUE with RED in red, GREEN in green and BLUE in blue.

See:

http://www.pythonware.com/library/tkinter/introduction/widget-styling.htm#AEN403

:-)

HTH,

-- 
Hans (base64.decodestring('d3VybXlAZWFydGhsaW5rLm5ldA=='))
# decode for email address ;-)
The Pythonic Quarter:: http://www.awaretek.com/nowak/
Kaa:: http://www.angelfire.com/jazz/aquila/blog/blogger.html




More information about the Python-list mailing list