[Tkinter-discuss] horizontal line in Text
Aivar Annamaa
aivar.annamaa at gmail.com
Thu Jan 16 14:27:21 EST 2020
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)
Best regards,
Aivar
On 16.01.2020 15:14, Vasilis Vlachoudis wrote:
> Hi all,
>
> is it possible to draw a horizontal line in the Text() widget, something
> like the <hr> in html, extending all over the widget.
>
> Vasilis
>
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> https://mail.python.org/mailman/listinfo/tkinter-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20200116/10a320f8/attachment.html>
More information about the Tkinter-discuss
mailing list