python - Tkinter button appears below other objects -


i sorry if horribly newbie question, again, i'm new tkinter... when use place manager put button on frame, appears on top of listbox, when gets empty space, goes under it. listbox acts window button underneath empty space. here's picture= enter image description here

thanks.

there stacking order between widgets (initially defined number of factors including order of creation; it's quite complicated because of nesting) , you've got here case stacking order isn't right. fix using raise bring widgets (such button) front.

(also aware it's not great idea use place position widgets; guis tend use pack and, particularly, grid.)


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -