racket / racket/gui

Placeholder text in text-field%

Open
#133 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
68
Forks
82
PR merge metrics
No merged PRs in 30d

Description

A placeholder text is used as a hint to what should be inputed in the field, and can replace the need of a separate label in the UI. The placeholder text is usually displayed in grey when the entry is empty and unfocused (the behaviour when the widget is focused differ between toolkits, in GTK, the placeholder text is removed when the widget has the focus).

Its supported in GTK since 3.2, so the feature is dependant on the minimal version of GTK required by racket/gui.

Contributor guide

Open the contributing guide

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

The issue names racket/gui and GTK's GtkEntry documentation; start by locating the text-field implementation and checking how the minimum GTK version is handled. Done means text-field supports placeholder text consistently with the stated GTK behavior and the minimum-version requirement is satisfied.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.