2002-11-19 Mike Kestner <mkestner@speakeasy.net>

* gtk/Dialog.custom : bind another ctor

svn path=/trunk/gtk-sharp/; revision=9109
This commit is contained in:
Mike Kestner 2002-11-20 03:28:22 +00:00
parent 07b8de88cc
commit 79c93e89fd
2 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2002-11-19 Mike Kestner <mkestner@speakeasy.net>
* gtk/Dialog.custom : bind another ctor
2002-11-17 Radek Doulik <rodo@ximian.com> 2002-11-17 Radek Doulik <rodo@ximian.com>
* glib/Value.cs: cast Typefundamentals.* to uint (GType is * glib/Value.cs: cast Typefundamentals.* to uint (GType is
@ -10,6 +14,7 @@
* pango/Scale.cs: added file containing constants * pango/Scale.cs: added file containing constants
for text widgets needing Pango Scale Attribute for text widgets needing Pango Scale Attribute
2002-11-13 Vladimir Vukicevic <vladimir@pobox.com>
2002-11-13 Vladimir Vukicevic <vladimir@pobox.com> 2002-11-13 Vladimir Vukicevic <vladimir@pobox.com>
* gtk/CanvasItem.custom: use base() to set Raw in constructor, so * gtk/CanvasItem.custom: use base() to set Raw in constructor, so

View file

@ -2,12 +2,21 @@
// Gtk.Dialog.custom - Gtk Dialog class customizations // Gtk.Dialog.custom - Gtk Dialog class customizations
// //
// Author: Duncan Mak (duncan@ximian.com) // Author: Duncan Mak (duncan@ximian.com)
// Mike Kestner (mkestner@speakeasy.net)
// //
// Copyright (C) 2002 Ximian, Inc. // Copyright (C) 2002 Ximian, Inc. and Mike Kestner
// //
// This code is inserted after the automatically generated code. // 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")] [DllImport("gtksharpglue")]
static extern IntPtr gtksharp_dialog_get_vbox (IntPtr i); static extern IntPtr gtksharp_dialog_get_vbox (IntPtr i);
public Gtk.VBox VBox { public Gtk.VBox VBox {