gtkentry: Add hinting to GtkEntry

gtk_entry_set_placeholder_text() makes the entry display the given text
when it is empty and unfocused. Based on previous patch by Alberto
Garcia.

https://bugzilla.gnome.org/show_bug.cgi?id=440963
This commit is contained in:
Carlos Garcia Campos
2011-02-24 13:29:10 +01:00
committed by Carlos Garcia Campos
parent c8350821e9
commit ef061c4e96
5 changed files with 155 additions and 10 deletions

View File

@ -213,6 +213,10 @@ gdouble gtk_entry_get_progress_pulse_step (GtkEntry *entry);
void gtk_entry_progress_pulse (GtkEntry *entry);
G_CONST_RETURN gchar* gtk_entry_get_placeholder_text (GtkEntry *entry);
void gtk_entry_set_placeholder_text (GtkEntry *entry,
const gchar *text);
/* Setting and managing icons
*/
void gtk_entry_set_icon_from_pixbuf (GtkEntry *entry,