Re: Gtk2::Entry with Pango markup
- From: Kevin Ryde <user42 zip com au>
- To: "Emmanuel Rodriguez" <emmanuel rodriguez gmail com>
- Cc: gtk-perl-list gnome org
- Subject: Re: Gtk2::Entry with Pango markup
- Date: Thu, 27 Nov 2008 07:13:18 +1100
"Emmanuel Rodriguez" <emmanuel rodriguez gmail com> writes:
# Escape the XML entities - MUST be done before applying the Pango markup
$text =~ s/([<&>])/$ENTITIES{$1}/eg;
Glib::Markup::escape_text() might do that. (A well-hidden func :-)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]