Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DnD and modal windows #8

@JohnSchroder

Description

@JohnSchroder

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions