[gtk+/gtk-3-4] docs: Improve GtkMessageDialog description



commit f20290479b97ee147e019fd2f44815fbe286f1f2
Author: David King <amigadave amigadave com>
Date:   Mon Feb 20 18:05:12 2012 +0000

    docs: Improve GtkMessageDialog description
    
    Add mention of default setting of GtkWindow:skip-taskbar-hint.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=587873

 gtk/gtkmessagedialog.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c
index a6a4889..c46cda4 100644
--- a/gtk/gtkmessagedialog.c
+++ b/gtk/gtkmessagedialog.c
@@ -50,6 +50,10 @@
  * convenience widget; you could construct the equivalent of #GtkMessageDialog
  * from #GtkDialog without too much effort, but #GtkMessageDialog saves typing.
  *
+ * One difference from #GtkDialog is that #GtkMessageDialog sets the
+ * #GtkWindow:skip-taskbar-hint property to %TRUE, so that the dialog is hidden
+ * from the taskbar by default.
+ *
  * The easiest way to do a modal message dialog is to use gtk_dialog_run(), though
  * you can also pass in the %GTK_DIALOG_MODAL flag, gtk_dialog_run() automatically
  * makes the dialog modal and waits for the user to respond to it. gtk_dialog_run()



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