TomSchimansky / TomSchimansky/CustomTkinter

Is there a way to set a default input for CTkInputDialog?

Open
#2,134 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
13.6k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

I'm trying to read data from a file before creating a CTkInputDialog to set the file text as the default input text. As far as I'm concerned, there is no way to achieve this (correct me if I'm wrong), but I think this would be a good addition.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the CTkInputDialog implementation and checking how its input widget is created and initialized. Confirm whether the current API accepts an initial value, then define the behavior needed for text read from a file and verify it through the project's existing dialog checks, if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.