[Tkinter-discuss] fgstipple on Text widget

mkieverpy at tlink.de mkieverpy at tlink.de
Tue Mar 25 12:57:50 CET 2008

Hi Ron,

>from Tkinter import *

>root = Tk()
>t = Text(root)
>t.insert( END, '01234567890123456789' )
>t.tag_add( 'x', '1.4', '1.12')
>t.tag_config( 'x', fgstipple='gray12' )
>t.pack( )

your code works fine for me. With 'grey12' the
text is just hard to see. Retry with 'grey75'.
For completeness: I'm on Linux, Python 2.4.1, tcl/tk 8.4.6


Matthias Kievernagel

More information about the Tkinter-discuss mailing list