On Thu, 2004-01-01 at 10:18 -0800, Dave Andruczyk wrote:
Is it possile to embed extended ascii chars int oa gtklabel? I need to place a "degree" symbol (think temperatures, the little round thing next to C or F) If so how?
If you're using GTK+ (2.0+), you can simply insert the octal value of the UTF-8 degree character into the string: str = g_strdup_printf ("%d\302\260", value); -- Peace, Jim Cape http://ignore-your.tv "It is literally true that, like Christianity, Socialism has conquered the world by defeating itself." -- Alexander Berkman, ABC of Anarchism
Attachment:
signature.asc
Description: This is a digitally signed message part