gui icon indicating copy to clipboard operation
gui copied to clipboard

Placeholder text in text-field%

Open Feufochmar opened this issue 6 years ago • 1 comments

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.

Feufochmar avatar Jun 08 '19 21:06 Feufochmar

You can use the gui-widget-mixins package to add placeholder text to a text% instance (they are called cue texts in the package itself).

alex-hhh avatar Jun 08 '19 23:06 alex-hhh