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
> 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
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',
> 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=[
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
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