osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TKinter Newbie question


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().