TKinter Newbie question

Peter Otten __peter__ at web.de
Fri Jan 18 02:50:37 EST 2019


TUA wrote:

> Why does the button frame in the code below not show?

>         tk.Button(bf, padx = 10, relief = tk.GROOVE, text = 'Help')

You forgot to layout it with .pack().

> I intend to have it displayed in between the notebook at the top and the
> fake statusbar at the bottom.

I think for that you need to swap the sb.pack() and bf.pack() calls, or 
remove side=BOTTOM from bf.pack().





More information about the Python-list mailing list