Entry: Warn about corner case hiding icon tooltips
https://bugzilla.gnome.org/show_bug.cgi?id=785672#c4
This commit is contained in:
parent
3680e3d40b
commit
ce792384c5
@ -9231,6 +9231,12 @@ gtk_entry_get_icon_tooltip_text (GtkEntry *entry,
|
|||||||
* See also gtk_widget_set_tooltip_text() and
|
* See also gtk_widget_set_tooltip_text() and
|
||||||
* gtk_entry_set_icon_tooltip_markup().
|
* 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
|
* Since: 2.16
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user