GtkSharp/gtk/Combo.custom
Miguel de Icaza 0c6b67c26b Patch from Pablo Baena
svn path=/trunk/gtk-sharp/; revision=8381
2002-10-19 05:53:37 +00:00

17 lines
415 B
Plaintext

public void SetPopdownStrings (params string[] args) {
GLib.List list = new GLib.List (IntPtr.Zero, typeof (string));
foreach (string arg in 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));
}
}