+Fri Sep 17 11:20:03 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtklabel.c (gtk_label_set_markup): Add an example to the
+ docs.
+
Thu Sep 16 23:20:05 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkselection.c (selection_get_text_plain):
+Fri Sep 17 11:20:03 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtklabel.c (gtk_label_set_markup): Add an example to the
+ docs.
+
Thu Sep 16 23:20:05 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkselection.c (selection_get_text_plain):
+Fri Sep 17 11:20:03 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtklabel.c (gtk_label_set_markup): Add an example to the
+ docs.
+
Thu Sep 16 23:20:05 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkselection.c (selection_get_text_plain):
+Fri Sep 17 11:20:03 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtklabel.c (gtk_label_set_markup): Add an example to the
+ docs.
+
Thu Sep 16 23:20:05 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkselection.c (selection_get_text_plain):
tags in the Pango manual.)
</para>
<para>
-The markup passed to gtk_label_set_markup() must be valid; for
-example, literal </>/& characters must be escaped as
-&lt;, &gt;, and &amp;. If you pass text obtained from
-the user, file, or a network to gtk_label_set_markup(),
-you'll want to escape it with g_markup_escape_text().
+The markup passed to gtk_label_set_markup() must be valid; for example,
+literal </>/& characters must be escaped as &lt;,
+&gt;, and &amp;. If you pass text obtained from the user, file,
+or a network to gtk_label_set_markup(), you'll want to escape it with
+g_markup_escape_text() or g_markup_printf_escaped().
</para>
<para>
Markup strings are just a convenient way to set the #PangoAttrList on
@range: the object which received the signal.
@arg1:
+<!-- ##### SIGNAL GtkRange::change-value ##### -->
+<para>
+
+</para>
+
+@range: the object which received the signal.
+@arg1:
+@arg2:
+@Returns:
+
<!-- ##### SIGNAL GtkRange::move-slider ##### -->
<para>
Virtual function that moves the slider. Used for keybindings.
</para>
+<!-- ##### ARG GtkSettings:gtk-modules ##### -->
+<para>
+
+</para>
+
<!-- ##### ARG GtkSettings:gtk-split-cursor ##### -->
<para>
* @label: a #GtkLabel
* @str: a markup string (see <link linkend="PangoMarkupFormat">Pango markup format</link>)
*
- * Parses @str which is marked up with the <link linkend="PangoMarkupFormat">Pango text markup language</link>,
- * setting the label's text and attribute list based on the parse results.
+ * Parses @str which is marked up with the <link
+ * linkend="PangoMarkupFormat">Pango text markup language</link>, setting the
+ * label's text and attribute list based on the parse results. If the @str is
+ * external data, you may need to escape it with g_markup_escape_text() or
+ * g_markup_printf_escaped()<!-- -->:
+ * <informalexample><programlisting>
+ * char *markup;
+ * <!-- -->
+ * markup = g_markup_printf_escaped ("<span style=\"italic\">%s</span>", str);
+ * gtk_label_set_markup (GTK_LABEL (label), markup);
+ * g_free (markup);
+ * </programlisting></informalexample>
**/
void
gtk_label_set_markup (GtkLabel *label,