beeware / beeware/toga

Drag and drop functionality

Open
#3,088 4 comments 5 reactions 0 assignees View on GitHub
enhancement not quite right
Dominant language
Python
Stars
5.4k
Forks
829
Avg merge
15h 39m
Merged PRs (30d)
40

Description

### What is the problem or limitation you are having?

I've built a Streamlit webapp for my girlfriend's business about 3 years ago and would love to rebuild it with native UI components that Toga provides so that she doesn't have to launch a powershell script that launches the Python webapp in the browser.

But for this I do need a way to drag files into the application and be able to do something with the filenames/paths & contents.

Does Toga already support this in some way and if not, I would love to request this as a feature.

### Describe the solution you'd like

Drag and drop functionality within a Toga application

### Describe alternatives you've considered

Other frameworks, or using Tkinter as a fallback which doesn't look great.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by checking whether Toga already provides drag-and-drop support within a native application. Define what the application should receive from dropped files—filenames or paths, plus contents—and how that should work across supported native platforms. Done means a Toga application can accept dragged files and access the requested file data.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.