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
When a modal window displays (e.g. messagebox) whilst the parent window widgets are disabled, it is still possible to dnd into the parent window.
Attached is your example from the PyPi website. I have added two buttons:
The "Press Test" button prints 'Hi' to show it is active.
The "Call messagebox" button invokes a messagebox.
Invoke the messagebox, now drag filenames to your dnd enabled area. DnD does not comply with the behaviour of other tk widgets, which are disabled by the invocation of the modal (messagebox) window.
When a modal window displays (e.g. messagebox) whilst the parent window widgets are disabled, it is still possible to dnd into the parent window.
Attached is your example from the PyPi website. I have added two buttons:
Invoke the messagebox, now drag filenames to your dnd enabled area. DnD does not comply with the behaviour of other tk widgets, which are disabled by the invocation of the modal (messagebox) window.
Kind regards
Issue with DnD and modal windows.txt
The text was updated successfully, but these errors were encountered: