GtkSharp/gtk/Dialog.custom
Mike Kestner 79c93e89fd 2002-11-19 Mike Kestner <mkestner@speakeasy.net>
* gtk/Dialog.custom : bind another ctor

svn path=/trunk/gtk-sharp/; revision=9109
2002-11-20 03:28:22 +00:00

31 lines
1,017 B
Text

//
// Gtk.Dialog.custom - Gtk Dialog class customizations
//
// Author: Duncan Mak (duncan@ximian.com)
// Mike Kestner (mkestner@speakeasy.net)
//
// Copyright (C) 2002 Ximian, Inc. and Mike Kestner
//
// This code is inserted after the automatically generated code.
//
// Manually wrap until we figure out how to gen ellipses.
[DllImport("gtk-x11-2.0")]
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);
}
[DllImport("gtksharpglue")]
static extern IntPtr gtksharp_dialog_get_vbox (IntPtr i);
public Gtk.VBox VBox {
get { return new Gtk.VBox (gtksharp_dialog_get_vbox (this.Handle)); }
}
[DllImport("gtksharpglue")]
static extern IntPtr gtksharp_dialog_get_action_area (IntPtr i);
public Gtk.VBox ActionArea {
get { return new Gtk.VBox (gtksharp_dialog_get_action_area (this.Handle)); }
}