beeware / beeware/toga

Allow widgets to be added to canvas

Open
#2,513 8 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
5.4k
Forks
827
Avg merge
15h 39m
Merged PRs (30d)
40

Description

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

For a non-linear graphic editor, I need to add normal widgets to the canvas. In the Qt program, widgets in the canvas have more possibilities. Like clicking and moving. But canvas special widgets either don't have these facilities or we didn't find them...
![editors_nla_tracks_example](https://github.com/beeware/toga/assets/33859621/d0d1a860-f922-4ce1-b573-a87a10be5e69)

### Describe the solution you'd like

context.append(Button , Box, ....)

### Describe alternatives you've considered

Rect.on_press = .....

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the canvas API around the proposed context.append(Button, Box, ...) usage and the Rect.on_press alternative. Compare the requested behavior with the Qt canvas example linked in the issue. Done means normal widgets can be added to the canvas and support the stated clicking and moving interactions.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.