2002-07-11 13:18:36 +00:00
|
|
|
//
|
|
|
|
// Gtk.Dialog.custom - Gtk Dialog class customizations
|
|
|
|
//
|
|
|
|
// Author: Duncan Mak (duncan@ximian.com)
|
2002-11-20 03:28:22 +00:00
|
|
|
// Mike Kestner (mkestner@speakeasy.net)
|
2002-07-11 13:18:36 +00:00
|
|
|
//
|
2002-11-20 03:28:22 +00:00
|
|
|
// Copyright (C) 2002 Ximian, Inc. and Mike Kestner
|
2002-07-11 13:18:36 +00:00
|
|
|
//
|
|
|
|
// This code is inserted after the automatically generated code.
|
|
|
|
//
|
|
|
|
|
2002-11-20 03:28:22 +00:00
|
|
|
// Manually wrap until we figure out how to gen ellipses.
|
2003-02-22 04:34:56 +00:00
|
|
|
[DllImport("libgtk-win32-2.0-0.dll")]
|
2002-11-20 03:28:22 +00:00
|
|
|
static extern IntPtr gtk_dialog_new_with_buttons (string title, IntPtr i, int flags, IntPtr dummy);
|
|
|
|
public Dialog (string title, Gtk.Window parent, Gtk.DialogFlags flags) : base()
|
|
|
|
{
|
|
|
|
Raw = gtk_dialog_new_with_buttons (title, parent.Handle, (int) flags, IntPtr.Zero);
|
|
|
|
}
|
|
|
|
|
2002-07-11 13:18:36 +00:00
|
|
|
[DllImport("gtksharpglue")]
|
|
|
|
static extern IntPtr gtksharp_dialog_get_vbox (IntPtr i);
|
|
|
|
public Gtk.VBox VBox {
|
2003-07-23 17:19:21 +00:00
|
|
|
get { return GLib.Object.GetObject (gtksharp_dialog_get_vbox (this.Handle), false) as VBox; }
|
2002-07-11 13:18:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[DllImport("gtksharpglue")]
|
|
|
|
static extern IntPtr gtksharp_dialog_get_action_area (IntPtr i);
|
|
|
|
public Gtk.VBox ActionArea {
|
2003-07-23 17:19:21 +00:00
|
|
|
get { return GLib.Object.GetObject (gtksharp_dialog_get_action_area (this.Handle), false) as VBox; }
|
2002-07-11 13:18:36 +00:00
|
|
|
}
|
|
|
|
|