Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DnD and modal windows #8

Open
JohnSchroder opened this issue Jun 26, 2023 · 0 comments
Open

DnD and modal windows #8

JohnSchroder opened this issue Jun 26, 2023 · 0 comments

Comments

@JohnSchroder
Copy link

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.

Kind regards
Issue with DnD and modal windows.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant