Re: Tkinter - Text - bullets

2009-09-22 Thread eb303
On Sep 22, 7:45 am, Thomas Lehmann wrote: > > This is probably why you had all these alignment problems. But it's > > weird, because the script I posted is copied and pasted from a really > > script that I've run, and which doesn't cause any error. What is the > > version of tcl/tk used by your Tk

Re: Tkinter - Text - bullets

2009-09-21 Thread Thomas Lehmann
> This is probably why you had all these alignment problems. But it's > weird, because the script I posted is copied and pasted from a really > script that I've run, and which doesn't cause any error. What is the > version of tcl/tk used by your Tkinter module? And what is your Python > version? U

Re: Tkinter - Text - bullets

2009-09-21 Thread eb303
On Sep 19, 5:53 pm, Thomas Lehmann wrote: > > Something like this maybe? > > > > from Tkinter import * > > > root = Tk() > > txt = Text(root, wrap='word') > > txt.pack() > > > txt.tag_configure('text_body', font=('Times', 18), lmargin1=0, > > lmargin2=0) > > txt.tag_configure('bulleted_list',

Re: Tkinter - Text - bullets

2009-09-19 Thread Thomas Lehmann
> Something like this maybe? > > from Tkinter import * > > root = Tk() > txt = Text(root, wrap='word') > txt.pack() > > txt.tag_configure('text_body', font=('Times', 18), lmargin1=0, > lmargin2=0) > txt.tag_configure('bulleted_list', font=('Times', 18), lmargin1='10m', > lmargin2='15m', tabs=[

Re: Tkinter - Text - bullets

2009-09-18 Thread eb303
On Sep 18, 11:57 am, Thomas Lehmann wrote: > My intention is to write a small custom widget displaying text where > the text can have a simple wiki syntax. The main interest is to > support heading, bold, italic, underline, itemization and enumeration. > > How can I implement itemization using the

Tkinter - Text - bullets

2009-09-18 Thread Thomas Lehmann
My intention is to write a small custom widget displaying text where the text can have a simple wiki syntax. The main interest is to support heading, bold, italic, underline, itemization and enumeration. How can I implement itemization using the Tkinter.Text widget? (bullets) -- http://mail.pytho