How to place objects in the middle of a frame using tkinter?
<p>I want to create a game that can be played in full screen and in any other window size. For this I have code creating a frame, two buttons and a label. I want the Buttons and the label to be in the center of the frame, but I can't figure out how to do that.</p>

<p>As a temporary solution, I placed a empty black label on top of the buttons, but now this won't work with my ideas.</p>

<p>Here is the code I have now:</p>

<pre><code>import tkinter as tk

def startgame():
    pass

mw = tk.Tk()
mw.title('The Game')

back=tk.Frame(master=mw, width=500, height=500, bg='black')
back.pack_propagate(0) 
back.pack(fill=tk.BOTH, expand=1) #Adapts the size to the window

#Here I had the label

go = tk.Button(master=back, text='Start Game', command=startgame, bg='#111', fg='red')
go.pack()
close = tk.Button(master=back, text='Quit', command=mw.destroy, bg='#111', fg='red')
close.pack()
info = tk.Label(master=back, text='Made by me!', bg='red', fg='black')
info.pack()

mw.mainloop()
</code></pre>

<p>Question: How to set the buttons etc to the middle constantly?</p>