beeware / beeware/toga

Multiple shortcut keys for a single command

Open
#731 6 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
5.4k
Forks
827
Avg merge
15h 39m
Merged PRs (30d)
40

Description

I just tried Podium in Python3.7 on Ubuntu 18.04, it worked great.

There was no support for my editor's bindings though, which I think is because [`toga.command.Command`](https://toga.readthedocs.io/en/latest/reference/api/resources/command.html) only has one `shortcut` attribute. I propose changing it to a `shortcuts` collection. It could retain the `shortcut` api for backward compatibility.

Contributor guide

Open the contributing guide

Research direction

Start with the toga.command.Command API described in the linked reference documentation and trace where its single shortcut attribute is consumed. Determine the affected command and platform code and any existing tests before defining the collection behavior. The work is done when multiple bindings are supported while the existing shortcut API remains compatible.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.