Reputation: 612
After having a look at firefox's history window, i saw something which i want to implement to my own entry:
How can I make the default text in the entry faded like that?
Upvotes: 1
Views: 557
Reputation: 57850
Here's an implementation for GTK versions earlier than 3.2:
https://github.com/ptomato/gnome-inform7/blob/master/src/placeholder-entry.c
Upvotes: 4
Reputation: 4228
In GTK+ it's called placeholder text, available in GtkEntry since GTK+ 3.2.
Upvotes: 6