From 3c264c06510a26563a1be8fa61c2b329918800ab Mon Sep 17 00:00:00 2001 From: John Luke Date: Fri, 1 Aug 2003 22:01:27 +0000 Subject: [PATCH] clean-up MessageDialog svn path=/trunk/gtk-sharp/; revision=16998 --- doc/ChangeLog | 1 + doc/en/Gtk/MessageDialog.xml | 40 +++++++++++++++++++----------------- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 8be46148c..f03fe5df4 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -6,6 +6,7 @@ * en/*.xml: use C#-style names, ex Gdk instead of GDK * en/Gtk/TreeView.xml: add some info + * en/Gtk/MessageDialog.xml: clean up 2003-07-31 John Luke diff --git a/doc/en/Gtk/MessageDialog.xml b/doc/en/Gtk/MessageDialog.xml index 85c096dab..0ce6a6de6 100644 --- a/doc/en/Gtk/MessageDialog.xml +++ b/doc/en/Gtk/MessageDialog.xml @@ -12,16 +12,15 @@ presents a with an image representing the (Error, Question, etc.) alongside some message text. - It's simply a convenience ; you could construct the equivalent of + It is available as a convenience. You could construct the equivalent of from without too much effort, but saves typing. - The MessageDialog is displayed using , which - automatically makes the from - modal and waits for the user to respond to it. + The is displayed using , which + automatically makes the modal and waits for the user to respond to it. returns when any - in the is clicked. + in the is clicked or the is closed. A message dialog @@ -34,11 +33,14 @@ MessageDialog md = new MessageDialog (parent_window, int result = md.Run (); - - + - If you would like a non modal dialog just set the Modal property of the dialog, ie my_dialog.Modal = false; - + If you would like the to not be modal, set the property to . + + +md.Modal = false; + + @@ -77,8 +79,8 @@ int result = md.Run (); Constructor - - + + Internal constructor Pointer to the C object. @@ -106,12 +108,12 @@ int result = md.Run (); Constructor - - - - - - + + + + + + Creates an instance of an object of type @@ -161,8 +163,8 @@ MessageDialog md = new MessageDialog Constructor - - + + Internal constructor GLib type for the type