beeware / beeware/toga

Text input dialog

Open
#1,840 9 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?

I am porting a tkinter app to toga,
and had been using `tkinter.simpledialog.askstring`
to prompt for input,
and i could not find any equivalent in toga.

### Describe the solution you'd like

A dialog with a TextInput or a way to make custom dialogs.

### Describe alternatives you've considered

subclassing `toga.Window.factory.dialogs.ConfirmDialog`,
putting the `TextInput` and ok/cancel buttons in the main window

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reading Toga's Window.factory.dialogs.ConfirmDialog and the TextInput widget, then compare them with tkinter.simpledialog.askstring. The issue is resolved when Toga supports a text-input dialog or a documented way to create custom dialogs with text input and OK/cancel actions.

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
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.