This is a beginner question.  I am using a Mac running OS X.  I have
TclTkAqua installed.  If I type:

import Tkinter

r = Tkinter.Tk()
c = Tkinter.Canvas(r)
c.pack()
c.create_line(0,0,100,0)

the line is not visible.  If I type:

c.create_line(3,4,100,4)

the line is visiable.  There appears to be an asymmetric "border"
around the inside of the canvas.  If I type

print c.cget('padx'), c.cget('pady')

I get zero.  How do I find out the size of the border?  Is this
specific to the Aqua version of Tk?

I have X Windows installed.  Would I be better off if I down loaded the
Unix version of Tk and Tkinter/python and compiled it for X?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to