Entry: Warn about corner case hiding icon tooltips

https://bugzilla.gnome.org/show_bug.cgi?id=785672#c4
This commit is contained in:
Daniel Boles 2017-08-01 13:35:39 +01:00
parent f7bb6a7aa8
commit b3a6067541

View File

@ -8159,6 +8159,12 @@ gtk_entry_get_icon_tooltip_text (GtkEntry *entry,
* See also gtk_widget_set_tooltip_text() and
* gtk_entry_set_icon_tooltip_markup().
*
* If you unset the widget tooltip via gtk_widget_set_tooltip_text() or
* gtk_widget_set_tooltip_markup(), this sets GtkWidget:has-tooltip to %FALSE,
* which suppresses icon tooltips too. You can resolve this by then calling
* gtk_widget_set_has_tooltip() to set GtkWidget:has-tooltip back to %TRUE, or
* setting at least one non-empty tooltip on any icon achieves the same result.
*
* Since: 2.16
*/
void