Version française
Home     About     Download     Resources     Contact us    
Browse thread
lablgtk pango_parse_markup
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] lablgtk pango_parse_markup
Hi,

On Tue, Nov 30, 2010 at 04:20:42AM +0100, Jacques Garrigue wrote:
> This is directly supported by the label widget:
> let w = GWindow.window ()
> [...]
>   l#set_text "<span foreground=\"red\">Hello</span>";
>   l#set_use_markup true;
> [...]

It works. Great! Thanks, Jacques!

-- 
Daniel de Rauglaudre
http://pauillac.inria.fr/~ddr/