My Code:
from tkinter import *
import tkinter as tk
root=Tk()
root.title("Program")
root.geometry('500x300')
root.mainloop()
This is my window and I want to add new button like here:
Thanks for help!
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.