[gtk+] Improve tooltip-text/markup docs



commit d7b64c63e0d4205b122eae5086cac71b77756ace
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Oct 19 23:28:34 2014 -0400

    Improve tooltip-text/markup docs
    
    Clarify priorities between the two,
    https://bugzilla.gnome.org/show_bug.cgi?id=681185

 gtk/gtkwidget.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index a993db3..ee4e316 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -1397,6 +1397,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
    * will automatically be set to %TRUE and there will be taken care of
    * #GtkWidget::query-tooltip in the default signal handler.
    *
+   * Note that if both #GtkWidget:tooltip-text and #GtkWidget:tooltip-markup
+   * are set, the last one wins.
+   *
    * Since: 2.12
    */
   g_object_class_install_property (gobject_class,
@@ -1418,6 +1421,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
    * will automatically be set to %TRUE and there will be taken care of
    * #GtkWidget::query-tooltip in the default signal handler.
    *
+   * Note that if both #GtkWidget:tooltip-text and #GtkWidget:tooltip-markup
+   * are set, the last one wins.
+   *
    * Since: 2.12
    */
   g_object_class_install_property (gobject_class,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]