[Gtk-sharp-list] Underline in pango
Borja Sánchez Zamorano
borsanza@terra.es
Fri, 18 Jun 2004 01:32:52 +0200
Hello
I need to activate the underline in a text.
Example:
Gdk.Pixmap drawable;
Gdk.GC gc;
Gdk.Color redcolor;
Pango.Layout layout;
....
....
....
....
layout.FontDescription = Pango.FontDescription.FromString("Sans 10");
gc.Foreground = redcolor;
layout.SetText("It's not underlined");
drawable.DrawLayout(gc, 10, 10, layout);
How I do it?
Thanks:
BorSanZa
--
Borja Sánchez Zamorano <borsanza@terra.es>