Fix broken SGML in gtk reference.

Introduced in commit 9dbb30482b
This commit is contained in:
Davyd Madeley 2009-05-19 15:29:53 +08:00
parent f64ef8ea51
commit a746df7d37

View File

@ -172,7 +172,7 @@ to regular Pango markup. The markup for links is borrowed from HTML, using the
way they appear in web browsers, with colored, underlined text. The title way they appear in web browsers, with colored, underlined text. The title
attribute is displayed as a tooltip on the link. An example looks like this: attribute is displayed as a tooltip on the link. An example looks like this:
<informalexample><programlisting> <informalexample><programlisting>
gtk_label_set_markup (label, "Go to the &lt;a href=\"http://www.gtk.org\" title=\"&amp;lt;i&amp;gt;Our&amp;/i&amp;gt; website\"&gt;GTK+ website</a> for more..."); gtk_label_set_markup (label, "Go to the &lt;a href=\"http://www.gtk.org\" title=\"&amp;lt;i&amp;gt;Our&amp;/i&amp;gt; website\"&gt;GTK+ website&lt;/a&gt; for more...");
</programlisting></informalexample> </programlisting></informalexample>
It is possible to implement custom handling for links and their tooltips with It is possible to implement custom handling for links and their tooltips with
the #GtkLabel::activate-link signal and the gtk_label_get_current_uri() function. the #GtkLabel::activate-link signal and the gtk_label_get_current_uri() function.