Margins in the Tkinter Text widget

Alex Bryan alexnbryan at gmail.com
Sat Jul 5 13:15:41 CEST 2008


Okay, so i am trying to have some sort of formatting going on in a  
textbox, and I need left margins. I see that there are two, one for  
the first line and th other for every line but that line. My program  
gives a word and a list of definitions for the word. So my question is  
how can I make the it repeat itself. Like I want to have something  
formatted like this:

word:
	definiton1
	definition2

word2:
	defintion12
	definition22

and so on. So I don't really understand how to keep like redoing the  
margins I guess. Would love some help!



More information about the Python-list mailing list