I am currently working on my first serious GUI application in python using Tkinter. I currently have a toplevel window that opens from the root window. when i envoke the window from the root i can see all 7 of my other widgets, but the widget:
btncancel = Tkinter.Button(addboard, text = "Cancel", command = addboard.destroy) btncancel.grid(row = 4, column = 1)
does not appear in my toplevel window (addboard). However when i click where the button is supposed to be it appears under my cursor while mouse is clicked and it properly executes addboard.destroy
how do i fix this problem?
(also how do i properly wrap my code in the (code) as this is my first post with a code snippet
Edited 3 Years Ago by mike_2000_17: Fixed formatting