Re: convenience API for applying PangoAttributes to a GtkLabel



Hey Sven,

On Mon, 2007-03-12 at 23:09 +0100, Sven Neumann wrote:
> Hi,
> 
> libgimpwidgets includes an API for conveniently apply PangoAttributes to
> a GtkLabel and I wonder if I should propose it for inclusion in GTK+:
> 
> http://developer.gimp.org/api/2.0/libgimpwidgets/libgimpwidgets-GimpWidgets.html#gimp-label-set-attributes
> 
> It is IMO more convenient than using g_strdup_printf() to embed a string
> into PangoMarkup. Here's a short example to make a label large and bold:

That's very nice, but the worst use of markup-in-message is caused by
glade/libglade. It would be nice if this could be taken into
consideration as well:
http://bugzilla.gnome.org/show_bug.cgi?id=97061

For the sake of this 5-year old bug.

-- 
Bastien Nocera <hadess hadess net> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]