[gtk+] Add a note about tooltip theming



commit 31771cc6402ac4ae637d0a126295ba0dc6b879bc
Author: Christian Dywan <christian lanedo com>
Date:   Wed Sep 30 08:45:30 2009 -0400

    Add a note about tooltip theming
    
    This should help to reduce the amount of confusion about how to
    make a tooltip window appear like a tooltip. Bug 596080.

 gtk/gtkwidget.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 450ab17..5677fd7 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -10603,6 +10603,9 @@ gtk_widget_real_set_has_tooltip (GtkWidget *widget,
  * the default tooltip window. If @custom_window is %NULL, the default
  * tooltip window will be used.
  *
+ * If the custom window should have the default theming it needs to
+ * have the name "gtk-tooltip", see gtk_widget_set_name().
+ *
  * Since: 2.12
  */
 void



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