From 0c6b67c26ba5edd60949a195ae5c588d90379911 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Sat, 19 Oct 2002 05:53:37 +0000 Subject: [PATCH] Patch from Pablo Baena svn path=/trunk/gtk-sharp/; revision=8381 --- glue/Makefile.am | 1 + gtk/Combo.custom | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/glue/Makefile.am b/glue/Makefile.am index 934401fa5..941a3a2a7 100644 --- a/glue/Makefile.am +++ b/glue/Makefile.am @@ -4,6 +4,7 @@ BASESOURCES = \ adjustment.c \ value.c \ fileselection.c \ + combo.c \ dialog.c \ colorseldialog.c \ error.c \ diff --git a/gtk/Combo.custom b/gtk/Combo.custom index 906b04656..9369ec16e 100644 --- a/gtk/Combo.custom +++ b/gtk/Combo.custom @@ -5,3 +5,12 @@ public void SetPopdownStrings (params string[] args) { list.Append (Marshal.StringToHGlobalAnsi (arg)); PopdownStrings = list; } + +[DllImport("gtksharpglue")] +static extern IntPtr gtksharp_combo_get_entry(IntPtr i); + +public Gtk.Entry Entry { + get { + return new Gtk.Entry (gtksharp_combo_get_entry(this.Handle)); + } +}