Make sure the window title is visible in tkinter

Cecil Westerhof Cecil at decebal.nl
Wed Jun 26 07:25:15 EDT 2019


I need to write a desktop program. I choose to use tkinter. How can I
make sure the window title is visible? For example when I have the
following code:
 from tkinter import Button, filedialog, Label, messagebox, Tk
 window = Tk()
 window.title('A long window title')
 Button (window, text = 'Short text').pack()
 window.mainloop()
I see only a part of the 'A', but I would like to see the complete:
 'A long window title'
-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /