GNOME Bugzilla – Bug 113592
Allow Pango markup for tooltips
Last modified: 2007-02-28 14:55:09 UTC
IMO, tooltips should use pango markup. This can be easily done with a one line patch. In fact, it should be enough to replace the gtk_label_set_text call in gtk_tooltips_draw_tips with a gtk_label_set_markup call. We could also eventually add a "use_markup" property.
Make it use markup by default would be an incompatible API change. It's perfectly legitimate and probably even common to have < and & in tooltips currently. I'm not sure if the setting for whether to use markup should be per-tip or global to the GtkTooltips object; I suspect per-tips. See also bug 50619 for more major ideas about improving tooltips; the two big problems with tooltips now are: Need for the tooltips object; adding a tooltip to a widget should be as simple as gtk_widget_set_tooltip() or setting a property. Impossible to have tooltips for subwidgets.
Isn't this in Kris's new tooltips?
Closing, since it's supposed by the new tooltips API in 2.12.