Re: help needed in pango_parse_markup()
- From: Siddhesh Poyarekar <siddhesh poyarekar gmail com>
- To: Alagunambi Welkin <alagunambiwelkin gmail com>
- Cc: gtk-list gnome org
- Subject: Re: help needed in pango_parse_markup()
- Date: Thu, 17 Dec 2009 11:35:23 +0530
On Thu, Dec 17, 2009 at 10:33 AM, Alagunambi Welkin
<alagunambiwelkin gmail com> wrote:
> before using pango_parse_markup(), ay_do_info() is printing the text
> according to the font description and color but after
> pango_parse_markup() it is not showing the formated text, it shows
> just the simple text
>
Because that is what the function does to the markup -- it separates
the input into an attribute list and a plain text string. Most widgets
(barring GtkTextView) will understand and display markup by
themselves, as you have seen for yourself.
--
Siddhesh Poyarekar
http://siddhesh.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]