How can I add new button to the control of default window manager in tkinter?

My Code:

from tkinter import *
import tkinter as tk
root=Tk()
root.title("Program")
root.geometry('500x300')
root.mainloop()

My Window

This is my window and I want to add new button like here: enter image description here

Thanks for help!

Answer

Actually, You can’t add a button to the title bar in Tkinter. if you want to do that you have to build your own title bar using Tkinter widgets.