Re: Make sure the window title is visible in tkinter

2019-06-30 Thread Cousin Stanley
Cousin Stanley wrote >> You might try setting a given window geometry >> to accomodate the long title >> >> win_w = 400 >> win_h = 300 >> >> ofs_h = 40 >> ofs_v = 30 >> >> window.geometry( "%dx%d+%d+%d" % ( win_w , win_h , ofs_h , ofs_v ) ) >> >> >> Maybe add a bit of extra

Re: Make sure the window title is visible in tkinter

2019-06-28 Thread CrazyVideoGamez
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,

Re: Make sure the window title is visible in tkinter

2019-06-28 Thread Cecil Westerhof
Cecil Westerhof writes: > Wildman writes: > >> On Wed, 26 Jun 2019 13:25:15 +0200, 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

Re: Make sure the window title is visible in tkinter

2019-06-26 Thread Wildman via Python-list
On Wed, 26 Jun 2019 15:05:15 +0200, Cecil Westerhof wrote: >> OK, then I will have to live with it. I did find some references to a method where you first disable the Tkinter title bar using overrideredirect(True). Then you create a new title bar using a frame and canvas. You can then set the

Re: Make sure the window title is visible in tkinter

2019-06-26 Thread Grant Edwards
On 2019-06-26, Cousin Stanley wrote: > You might try setting a given window geometry > to accomodate the long title > [...] > window.geometry( "%dx%d+%d+%d" % ( win_w , win_h , ofs_h , ofs_v ) ) > Maybe add a bit of extra space for users with different default > font sizes

Re: Make sure the window title is visible in tkinter

2019-06-26 Thread Cousin Stanley
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() >

Re: Make sure the window title is visible in tkinter

2019-06-26 Thread Cecil Westerhof
Wildman writes: > On Wed, 26 Jun 2019 13:25:15 +0200, 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,

Re: Make sure the window title is visible in tkinter

2019-06-26 Thread Wildman via Python-list
On Wed, 26 Jun 2019 13:25:15 +0200, 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 > >