I'm currently working on an application on Tkinter, and I want one of my grid widgets to be sticky in all the directions except North? So far, this is the code that I've put in, but it doesn't seem to be working...
StatusBar.grid(row=16, column=0, columnspan=9, pady=1.25, sticky=SEW)
I've tried rearranging S, E, and W in all possible configurations, but when I try running the program, I get this error:
NameError: name 'SEW' is not defined
Can someone help me out with this? It would really be appreciated. Thanks!
Just use the literal string "sew". There's no need to use a constant.
StatusBar.grid(row=16, column=0, columnspan=9, pady=1.25, sticky="sew")