Folgendes Problem:
Ich habe mein WWW Programm und hab die 'Startseite' mit 2 Buttons und einem hintergrundbild, ich habs geschafft die Buttons auf das Bild zu bekommen und nicht darunter...
Jetzt aber sind beide auf der gleichen Position...
Hilfe...?
Code: Alles auswählen
app_win=tk.Tk()
app_win.title("Wer wird Millionär")
back_gnd = tk.Canvas(app_win)
back_gnd.pack(expand=True, fill='both')
back_gnd_image = tk.PhotoImage(file="www.gif")
back_gnd.create_image(0, 0, anchor='nw', image=back_gnd_image)
button = tk.Button(None, text="Spielen", command=ask_question, bd=1, highlightthickness=0).pack(side=tk.right)
button = tk.Button(None, text="Verlassen", command=app_win.destroy, bd=1, highlightthickness=0).pack(side=tk.left)
back_gnd.create_window(20,20, window=button, anchor='nw')
app_win.geometry('250x250-600+250')
app_win.mainloop()