Hi,
I have an app with a simple Tkinter GUI. It has an Entry box, where the user can type something or not.
I did some research and suggested wordkarounds are:
1) click outside the app window, then in the entry box-> that works, but won't win any prizes.
2) use root.overrideredirect(True): does not work, and takes away all window controls.
3) Setting focus on the Entry is no good either
Any ideas on what I could try next?
thx,
Paul
Edit: i found somewhere that a fileopendialog can cause that phenomenon.
The trick is to insert root.update_idletasks() just before. It works!
I have an app with a simple Tkinter GUI. It has an Entry box, where the user can type something or not.
entryText1 = Entry(root, width = 65, font=myFontBold,bg='yellow') entryText1.grid(row=1,column=0,columnspan=2,padx=20,pady=10) entryText1.insert(0,'Remark:') entryText1.config(state=NORMAL)The whole app works fine, but i cannot get focus on the entry box, and therefore it is not possible to enter text.
I did some research and suggested wordkarounds are:
1) click outside the app window, then in the entry box-> that works, but won't win any prizes.
2) use root.overrideredirect(True): does not work, and takes away all window controls.
3) Setting focus on the Entry is no good either
Any ideas on what I could try next?
thx,
Paul
Edit: i found somewhere that a fileopendialog can cause that phenomenon.
The trick is to insert root.update_idletasks() just before. It works!