Answers for "tkinter title config"

1

set icon title tkinter

# my problme was that, i didnt know that the image format must be .ico
# you can convert your images in https://convertico.com/ and then:

from tkinter import *

root = Tk()
root.title('this is program title')
# icon
root.iconbitmap('image_name.ico')

root.mainloop()
Posted by: Guest on September-07-2021
4

tkinter window title

from tkinter import *
window = Tk()  # Create instance 
window.title("This is the window title!!!")  # Add a title
Posted by: Guest on February-26-2021

Python Answers by Framework

Browse Popular Code Answers by Language