2004-05-10 Todd Berman <tberman@sevenl.net>

* gtk/Dialog.custom: Add a SetDefaultResponse method to set a int
        instead of a Gtk.ResponseType

svn path=/trunk/gtk-sharp/; revision=27059
This commit is contained in:
Todd Berman 2004-05-11 02:07:38 +00:00
parent 0a74f7083e
commit 350c18516f
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-05-10 Todd Berman <tberman@sevenl.net>
* gtk/Dialog.custom: Add a SetDefaultResponse method to set a int
instead of a Gtk.ResponseType
2004-05-10 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark some Dialog API params as ResponseType

View file

@ -60,3 +60,7 @@ public void Respond (ResponseType response)
this.Respond ((int) response);
}
public void SetDefaultResponse (int response)
{
gtk_dialog_set_default_response(Handle, response);
}