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=
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
Post a Comment