Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
To: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] lablgtk pango_parse_markup
Date: Tue, 30 Nov 2010 09:54:51 +0100	[thread overview]
Message-ID: <20101130085451.GB16162@yquem.inria.fr> (raw)
In-Reply-To: <1084802834.912456.1291087242788.JavaMail.root@zmbs3.inria.fr>

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/


      parent reply	other threads:[~2010-11-30  8:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-29 14:20 Daniel de Rauglaudre
2010-11-30  3:20 ` [Caml-list] " Jacques Garrigue
     [not found] ` <1084802834.912456.1291087242788.JavaMail.root@zmbs3.inria.fr>
2010-11-30  8:54   ` Daniel de Rauglaudre [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101130085451.GB16162@yquem.inria.fr \
    --to=daniel.de_rauglaudre@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=garrigue@math.nagoya-u.ac.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox