From c0e4552e544b0fc92f6b4ba438ce6b026492571c Mon Sep 17 00:00:00 2001 From: John Luke Date: Tue, 13 Jan 2004 21:09:32 +0000 Subject: [PATCH] more Gtk.ResponseType overloads for Gtk.Dialog svn path=/trunk/gtk-sharp/; revision=22031 --- ChangeLog | 4 ++++ gtk/Dialog.custom | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 923113277..6cef1e1e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-01-13 John Luke + + * en/Gtk/Dialog.custom: add more Gtk.ResponseType overloads + 2004-01-10 John Luke * samples/GtkDemo/*.cs: make it compile diff --git a/gtk/Dialog.custom b/gtk/Dialog.custom index ac1784ea9..0ecbdc0bc 100644 --- a/gtk/Dialog.custom +++ b/gtk/Dialog.custom @@ -34,3 +34,13 @@ public void AddActionWidget (Widget child, ResponseType response) this.AddActionWidget (child, (int) response); } +public void AddButton (string button_text, ResponseType response) +{ + this.AddButton (button_text, (int) response); +} + +public void Respond (ResponseType response) +{ + this.Respond ((int) response); +} +