On Tue, 2007-06-12 at 13:59 +0200, Kristian Rietveld wrote: > 1. If everything you need is a tooltip displaying a simple text string, > with or without Pango markup, the only thing you have to do is > just setting the "tooltip-markup" property.
just a small add-on, fresh from the commit factory: the tooltip-markup property now has a sister called tooltip-text, which will set the tooltip as plain text, escaping the eventual markup entities; if you're setting tooltips on widgets from external data sources (file names, desktop entries, whatever) you won't have to pass through g_markup_escape_text() first. both the tooltip-markup and the tooltip-text properties also have accessors. finally, along with gtk_tooltip_set_markup() mentioned below, now there's a gtk_tooltip_set_text() as well. kudos to kris for implementing this rocking API for tooltips: it was sorely needed and he did a wonderful job. if you're coming to GUADEC this year, be sure to buy kris a pint! ciao, Emmanuele. -- Emmanuele Bassi, http://www.gnome.org/~ebassi _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list