mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 17:35:28 +00:00
c9933656d5
svn path=/trunk/gtk-sharp/; revision=7948
10 lines
441 B
Plaintext
10 lines
441 B
Plaintext
[DllImport ("gtk-x11-2.0")]
|
|
static extern IntPtr gtk_message_dialog_new (IntPtr parent_window, DialogFlags flags, MessageType type, ButtonsType bt, string msg, params object [] args);
|
|
|
|
public MessageDialog (Gtk.Window parent_window, DialogFlags flags, MessageType type, ButtonsType bt, string msg)
|
|
{
|
|
IntPtr p = (parent_window != null) ? parent_window.Handle : ((IntPtr) 0);
|
|
|
|
Raw = gtk_message_dialog_new (p, flags, type, bt, msg, null);
|
|
}
|