This is called "placeholder text", and you can set it using
Gtk::Entry::set_placeholder_text().

On Aug 12, 2015 11:44 AM, "Nicolas Jäger" <[email protected]> wrote:
>
> Hi,
> I want to write in light gray "title" in an entry. Then if I clicked on
> the entry to edit it, I want this text not shown anymore except in the
> case where the entry is left without some text (then I want "title"
> back).
>
> is it something I can do straightforward ? or should I do that from
> scratch with callbacks and stuffs ?
>
> regards,
> Nicolas
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to