Re: [Tkinter-discuss] horizontal line in Text

2020-01-26 Thread Michael Lange
anuary 24, 2020 16:04 > To: Vasilis Vlachoudis > Subject: Re: [Tkinter-discuss] horizontal line in Text > > What I've done in the past is insert a single newline, and then apply a > tag that uses a one or two pixel tall font, and then a background color > or a border. When

Re: [Tkinter-discuss] horizontal line in Text

2020-01-25 Thread Vasilis Vlachoudis
Thanks That's the easiest from all, and for my purpose it works just fine Vasilis From: Bryan Oakley [bryan.oak...@gmail.com] Sent: Friday, January 24, 2020 16:04 To: Vasilis Vlachoudis Subject: Re: [Tkinter-discuss] horizontal line in Text What I'

Re: [Tkinter-discuss] horizontal line in Text

2020-01-24 Thread Alan Gauld via Tkinter-discuss
On 24/01/2020 09:15, Michael Lange wrote: >>> is it possible to draw a horizontal line in the Text() widget, >>> something like the in html, extending all over the widget. >> >> Would a line of spaces with the underline turned on in the font work? >> If you use a monospace font the length should

Re: [Tkinter-discuss] horizontal line in Text

2020-01-24 Thread Michael Lange
Hi, On Fri, 24 Jan 2020 00:18:20 + Alan Gauld via Tkinter-discuss wrote: > On 16/01/2020 13:14, Vasilis Vlachoudis wrote: > > Hi all, > > > > is it possible to draw a horizontal line in the Text() widget, > > something like the in html, extending all over the widget. > > Would a line of spa

Re: [Tkinter-discuss] horizontal line in Text

2020-01-23 Thread Alan Gauld via Tkinter-discuss
On 16/01/2020 13:14, Vasilis Vlachoudis wrote: > Hi all, > > is it possible to draw a horizontal line in the Text() widget, something > like the in html, extending all over the widget. Would a line of spaces with the underline turned on in the font work? If you use a monospace font the length sh

Re: [Tkinter-discuss] horizontal line in Text

2020-01-16 Thread Aivar Annamaa
You can try using bgstipple attribute of a tag (https://www.tcl.tk/man/tcl8.6/TkCmd/text.htm#M45): text.tag_configure(tag_name, bgstipple="@path/to/a/bitmap/containing/a/line.xbm") but unfortunately it doesn't work on macOS (https://wiki.tcl-lang.org/page/Tk+differences+on+Mac+OS+X) Be

Re: [Tkinter-discuss] horizontal line in Text

2020-01-16 Thread Vasilis Vlachoudis
Subject: Re: [Tkinter-discuss] horizontal line in Text Hi, On Thu, 16 Jan 2020 13:14:08 + Vasilis Vlachoudis wrote: > Hi all, > > is it possible to draw a horizontal line in the Text() widget, something > like the in html, extending all over the widget. I have done this before with

Re: [Tkinter-discuss] horizontal line in Text

2020-01-16 Thread Michael Lange
Hi, On Thu, 16 Jan 2020 13:14:08 + Vasilis Vlachoudis wrote: > Hi all, > > is it possible to draw a horizontal line in the Text() widget, something > like the in html, extending all over the widget. I have done this before with an embedded Frame widget, however changes to the Text widget s

[Tkinter-discuss] horizontal line in Text

2020-01-16 Thread Vasilis Vlachoudis
Hi all, is it possible to draw a horizontal line in the Text() widget, something like the in html, extending all over the widget. Vasilis ___ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discu