enthought / enthought/pyface

DropHandler implementation is Qt only

Open
#705 0 comments 0 reactions 0 assignees View on GitHub
difficulty: intermediate toolkit: Qt toolkit: Wx type: enhancement type: refactoring
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

The implementation of `FileDropHandler` is Qt-only but is importable via `pyface.drop_handler` from Wx.

More generally, the API is passing toolkit events and controls, without any clear way to get the context of the Pyface-level objects. It may be worth refactoring this to pass toolkit-independent objects to improve re-use.

DropHandlers are currently mainly used in the Tasks Qt implementation for dragging and dropping editor tabs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.