[gtk+/treeview-refactor: 225/257] docs: Mention that tooltip_column text should be escaped in GtkIconView
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/treeview-refactor: 225/257] docs: Mention that tooltip_column text should be escaped in GtkIconView
- Date: Tue, 16 Nov 2010 07:16:56 +0000 (UTC)
commit a00cd60540a38c35ddabe0497b5f821a4673be15
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sun Nov 14 12:39:48 2010 +0100
docs: Mention that tooltip_column text should be escaped in GtkIconView
gtk/gtkiconview.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 6345682..c080bba 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -5227,6 +5227,9 @@ gtk_icon_view_set_tooltip_query_cb (GtkWidget *widget,
* When enabled, #GtkWidget::has-tooltip will be set to %TRUE and
* @icon_view will connect a #GtkWidget::query-tooltip signal handler.
*
+ * Note that the signal handler sets the text with gtk_tooltip_set_markup(),
+ * so &, <, etc have to be escaped in the text.
+ *
* Since: 2.12
*/
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]