Aug-31-2023, 05:43 PM
(This post was last modified: Aug-31-2023, 05:49 PM by deanhystad.)
When you make the buttons you need to tell them their parent is "window". For example:
The problem is this:
deposit_button=Button(window, text="Deposit Money" image=deposit_img, command=deposit_money)But that is not your problem. As I said, the default is put the widgets in the root window.
The problem is this:
bank_pic=PhotoImage(file="./bank.png") # Works withdraw_img=PhotoImage("./withdraw.jpg") # Does not workSee the difference? No, it is not the image type.