gtk-sharp 0.0.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Convenient message window 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 from without too much effort, but saves typing. The easiest way to do a modal message dialog is to use , though you can also pass in the flag, automatically makes the from modal and waits for the user to respond to it. returns when any in the is clicked. A modal dialog MessageDialog md = new MessageDialog (parent_window, Gtk.DialogFlags.DestroyWithParent, Gtk.MessageType.Error, Gtk.ButtonsType.Close, "Error loading file"); md.Run (); md.Destroy (); A non-modal dialog MessageDialog md = new MessageDialog (parent_window, Gtk.DialogFlags.DestroyWithParent, Gtk.MessageType.Error, Gtk.ButtonsType.Close, "Error loading file"); // Destroy the dialog when the user responds to it (e.g. clicks a button) // ::add signal handler code here:: Gtk.Dialog Atk.Implementor GLib.IWrapper GLib.IWrapper System.IDisposable Method System.Void Disposes the resources associated with the object. Constructor Internal constructor Pointer to the C object. An instance of , wrapping the C object. This is an internal constructor, and should not be used by user code. Constructor Internal constructor an object of type This is an internal constructor, and should not be used by user code. Constructor Creates an instance of an object of type an object of type an object of type an object of type an object of type an object of type Creates an instance of MessageDialog md = new MessageDialog (parent_window, Gtk.DialogFlags.DestroyWithParent, Gtk.MessageType.Error, Gtk.ButtonsType.Close, "Error loading file"); Property System.UInt32 The for The for the class. Property Gtk.MessageType The of the an object of type The of the Constructor Internal constructor GLib type for the type Creates a new instance of , using the GLib-provided type This is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code.