[tkinter] widget size adjustment

Zachary Ware zachary.ware+pylist at gmail.com
Wed Jun 22 17:18:29 EDT 2016

On Wed, Jun 22, 2016 at 4:05 PM, Christian Gollwitzer <auriocus at gmx.de> wrote:
> BTW, the Tkinter wrapper is a bit clumsy for this option. In the original
> Tk, the sticky option is just a string. You can still pass that and do
>         sticky='nsew'
> instead of the clumsy
>         sticky=Tkinter.N+Tkinter.S+Tkinter.E+Tkinter.W

There are constants in tkinter for this: NSEW, NS, NE, NW, SE, SW, and EW.


More information about the Python-list mailing list