2 votes

Is there a way to overlay one widget on top of others?

Is there a way to overlay a widget on top of others, without altering the order of the code?

 from tkinter import Tk
from tkinter import Listbox
from tkinter import Label
ventana = Tk()

label = Label(ventana)
label.config(text="Test")
label.place(x=50,y=50)

list = Listbox(ventana)
list.config(width=50,height=30)
list.place(x=30,y=30)

ventana.mainloop()

HolaDevs.com

HolaDevs is an online community of programmers and software lovers.
You can check other people responses or create a new question if you don't find a solution

Powered by:

X