horizontal line in tkinter????
Matthew Dixon Cowles
matt at mondoinfo.com
Mon Jul 15 16:29:23 EDT 2002
On Mon, 15 Jul 2002 17:18:40 -0300, jubafre at zipmail.com.br
<jubafre at zipmail.com.br> wrote:
> I want a horizontal line to separate the frames in my tkinter
> aplication, how can i insert it????
Use a frame that's one dot tall:
>>> from Tkinter import *
>>> r=Tk()
>>> f=Frame(r,height=20,width=50,bg="green")
>>> f.pack()
>>> f=Frame(r,height=1,width=50,bg="black")
>>> f.pack()
>>> f=Frame(r,height=20,width=50,bg="yellow")
>>> f.pack()
Regards,
Matt
More information about the Python-list
mailing list