[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Make sure the window title is visible in tkinter

On Wednesday, June 26, 2019, at 7:44:15 AM UTC-4, Cecil Westerhof wrote:
> 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:

Maybe you should try to maximize the window so you can see everything. It put in your code and I could see more of the title.