Skip to content

Draft: text view: Add placeholder support

Maximiliano requested to merge msandova/gtk:text-view-placeholder-text into main

This is a very simple-minded implementation of placeholder support for GtkTextView. It just renders plain text, no markup or tags or automatic linebreaks. It does support multiple lines, and renders the text with the same text color as GtkEntry.

https://bugzilla.gnome.org/show_bug.cgi?id=753407

Fixes: #566 (closed)


This is a rebase of @matthiasc patch from years ago. Probably the snapshot part is not correct.

Merge request reports