exact x,y positioning of a Tk widget

Skip Montanaro skip at pobox.com
Fri Aug 30 03:30:28 CEST 2002


    revyakin> Is there a way to position a widget with exact x,y
    revyakin> coordinates, instead of just justifying to the left, right,
    revyakin> top and bottom?

Sounds like you're using the packer to position child widgets in relation to
one another.  I haven't used Tk in awhile, but I believe you can place any
kind of widget in a Canvas widget and just set its x and y position.  Check
the docs for the Canvas widget.

-- 
Skip Montanaro
skip at pobox.com
consulting: http://manatee.mojam.com/~skip/resume.html




More information about the Python-list mailing list