You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if there was a "on_messagebox_close" built-in callback method that I could use. If not, could you please implement one or assist me with this issue?
This is due to the previously reported problem in which you cannot type into CTkEntry after CTkMessageBox has been closed. I am aware of the solution involving root.after(f"{number_of_ms}", f"{entry}".focus_force()). However, using the {number_of_ms} is quite inefficient for me, as the user may take longer / shorter to read based on their abilities, causing the programme to either shift its focus before the reader has finished reading, or in a delayed manner if the reader has finished reading the message way beforehand.
Therefore, I was planning on using the f"{entry}".focus_force straight after the CTkMessageBox has been closed, rather than after a set amount of seconds.
Best regards,
The text was updated successfully, but these errors were encountered:
Hi,
I was wondering if there was a "on_messagebox_close" built-in callback method that I could use. If not, could you please implement one or assist me with this issue?
This is due to the previously reported problem in which you cannot type into CTkEntry after CTkMessageBox has been closed. I am aware of the solution involving root.after(f"{number_of_ms}", f"{entry}".focus_force()). However, using the {number_of_ms} is quite inefficient for me, as the user may take longer / shorter to read based on their abilities, causing the programme to either shift its focus before the reader has finished reading, or in a delayed manner if the reader has finished reading the message way beforehand.
For context, here is a short snippet of my code:
Therefore, I was planning on using the f"{entry}".focus_force straight after the CTkMessageBox has been closed, rather than after a set amount of seconds.
Best regards,
The text was updated successfully, but these errors were encountered: