[Gtk-sharp-list] Gtk.Label, can it go bold?
Sergio Rubio
sergio.rubio@hispalinux.es
Fri, 13 Aug 2004 16:55:27 +0200
Hi,
Label lb = new Label ("<b>Bold</b>");
lb.UseMarkup = true;
This should work. More info about Pango Markup at:
http://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html
Cheers,
Rubio.
On Fri, 2004-08-13 at 03:35 -0600, Draek wrote:
> I'd like to make a Gtk.Label text Bold, but I cant seem to find any
> properties that would allow this. I've looked at the Pango stuff with
> Layout and stuff, but I cant make sense of it for this. The extent I've
> used Pango so far, is using Pango.Weight.Bold and such in my text tag
> generator.
>
> Any ideas?
>
> Phil
>
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
--
::: sergio.rubio@hispalinux.es :::
::: http://mspace.berlios.de :::
::: rubiojr@jabber.org :::